TwoTuple_TxidCVec_C2Tuple_u32TxOutZZZ[] |
ChannelMonitor.block_connected(byte[] header,
TwoTuple_usizeTransactionZ[] txdata,
int height,
BroadcasterInterface broadcaster,
FeeEstimator fee_estimator,
Logger logger) |
Processes transactions in a newly connected block, which may result in any of the following:
- update the monitor's state against resolved HTLCs
- punish the counterparty in the case of seeing a revoked commitment transaction
- force close the channel and claim/timeout incoming/outgoing HTLCs if near expiration
- detect settled outputs for later spending
- schedule and bump any in-flight claims
Returns any new outputs to watch from `txdata`; after called, these are also included in
[`get_outputs_to_watch`].
|
void |
Listen.filtered_block_connected(byte[] header,
TwoTuple_usizeTransactionZ[] txdata,
int height) |
Notifies the listener that a block was added at the given height, with the transaction data
possibly filtered.
|
void |
Listen.ListenInterface.filtered_block_connected(byte[] header,
TwoTuple_usizeTransactionZ[] txdata,
int height) |
Notifies the listener that a block was added at the given height, with the transaction data
possibly filtered.
|
TwoTuple_TxidCVec_C2Tuple_u32TxOutZZZ[] |
ChannelMonitor.transactions_confirmed(byte[] header,
TwoTuple_usizeTransactionZ[] txdata,
int height,
BroadcasterInterface broadcaster,
FeeEstimator fee_estimator,
Logger logger) |
Processes transactions confirmed in a block with the given header and height, returning new
outputs to watch.
|
void |
Confirm.ConfirmInterface.transactions_confirmed(byte[] header,
TwoTuple_usizeTransactionZ[] txdata,
int height) |
Notifies LDK of transactions confirmed in a block with a given header and height.
|
void |
Confirm.transactions_confirmed(byte[] header,
TwoTuple_usizeTransactionZ[] txdata,
int height) |
Notifies LDK of transactions confirmed in a block with a given header and height.
|