static byte[] |
UtilMethods.build_htlc_transaction(byte[] commitment_txid,
int feerate_per_kw,
short contest_delay,
HTLCOutputInCommitment htlc,
ChannelTypeFeatures channel_type_features,
byte[] broadcaster_delayed_payment_key,
byte[] revocation_key) |
Builds an unsigned HTLC-Success or HTLC-Timeout transaction from the given channel and HTLC
parameters.
|
static BumpTransactionEvent |
BumpTransactionEvent.channel_close(byte[] claim_id,
int package_target_feerate_sat_per_1000_weight,
byte[] commitment_tx,
long commitment_tx_fee_satoshis,
AnchorDescriptor anchor_descriptor,
HTLCOutputInCommitment[] pending_htlcs) |
Utility method to constructs a new ChannelClose-variant BumpTransactionEvent
|
boolean |
HTLCOutputInCommitment.eq(HTLCOutputInCommitment b) |
Checks if two HTLCOutputInCommitments contain equal inner contents.
|
static byte[] |
UtilMethods.get_htlc_redeemscript(HTLCOutputInCommitment htlc,
ChannelTypeFeatures channel_type_features,
TxCreationKeys keys) |
Gets the witness redeemscript for an HTLC output in a commitment transaction.
|
static Result_HTLCOutputInCommitmentDecodeErrorZ |
Result_HTLCOutputInCommitmentDecodeErrorZ.ok(HTLCOutputInCommitment o) |
Creates a new CResult_HTLCOutputInCommitmentDecodeErrorZ in the success state.
|
void |
HTLCDescriptor.set_htlc(HTLCOutputInCommitment val) |
The details of the HTLC as it appears in the commitment transaction.
|
Result_ECDSASignatureNoneZ |
EcdsaChannelSigner.EcdsaChannelSignerInterface.sign_counterparty_htlc_transaction(byte[] htlc_tx,
long input,
long amount,
byte[] per_commitment_point,
HTLCOutputInCommitment htlc) |
Create a signature for a claiming transaction for a HTLC output on a counterparty's commitment
transaction, either offered or received.
|
Result_ECDSASignatureNoneZ |
EcdsaChannelSigner.sign_counterparty_htlc_transaction(byte[] htlc_tx,
long input,
long amount,
byte[] per_commitment_point,
HTLCOutputInCommitment htlc) |
Create a signature for a claiming transaction for a HTLC output on a counterparty's commitment
transaction, either offered or received.
|
Result_ECDSASignatureNoneZ |
EcdsaChannelSigner.EcdsaChannelSignerInterface.sign_justice_revoked_htlc(byte[] justice_tx,
long input,
long amount,
byte[] per_commitment_key,
HTLCOutputInCommitment htlc) |
Create a signature for the given input in a transaction spending a commitment transaction
HTLC output when our counterparty broadcasts an old state.
|
Result_ECDSASignatureNoneZ |
EcdsaChannelSigner.sign_justice_revoked_htlc(byte[] justice_tx,
long input,
long amount,
byte[] per_commitment_key,
HTLCOutputInCommitment htlc) |
Create a signature for the given input in a transaction spending a commitment transaction
HTLC output when our counterparty broadcasts an old state.
|