encodeTxNumber

fun encodeTxNumber(txnumber: Long): Pair<Long, Long>

This is a trick to split and encode a 48-bit txnumber into the sequence and locktime fields of a tx

Return

(sequence, locktime)

Parameters

txnumber

commitment number