signTransaction

fun signTransaction(tx: iTransaction, sigHashType: ByteArray = byteArrayOf())

signs a transaction in place, with all inputs that have a BCHspendable with secrets (skips those that do not so others can sign) by default the sighashtype is ALL/ALL