Companion

object Companion

Functions

alreadyProposed
Link copied to clipboard
common
fun alreadyProposed(changes: List<UpdateMessage>, id: Long): Boolean
makeLocalTxs
Link copied to clipboard
common
fun makeLocalTxs(commitTxNumber: Long, localParams: LocalParams, remoteParams: RemoteParams, commitmentInput: Transactions.InputInfo, localPerCommitmentPoint: PublicKey, spec: CommitmentSpec): Pair<Transactions.TransactionWithInputInfo.CommitTx, List<Transactions.TransactionWithInputInfo.HtlcTx>>
makeRemoteTxs
Link copied to clipboard
common
fun makeRemoteTxs(commitTxNumber: Long, localParams: LocalParams, remoteParams: RemoteParams, commitmentInput: Transactions.InputInfo, remotePerCommitmentPoint: PublicKey, spec: CommitmentSpec): Pair<Transactions.TransactionWithInputInfo.CommitTx, List<Transactions.TransactionWithInputInfo.HtlcTx>>

Properties

ANCHOR_AMOUNT
Link copied to clipboard
common
val ANCHOR_AMOUNT: Satoshi
COMMIT_WEIGHT
Link copied to clipboard
common
const val COMMIT_WEIGHT: Int = 1124
HTLC_OUTPUT_WEIGHT
Link copied to clipboard
common
const val HTLC_OUTPUT_WEIGHT: Int = 172
HTLC_SUCCESS_WEIGHT
Link copied to clipboard
common
const val HTLC_SUCCESS_WEIGHT: Int = 706
HTLC_TIMEOUT_WEIGHT
Link copied to clipboard
common
const val HTLC_TIMEOUT_WEIGHT: Int = 666