TwoTuple_TxidCVec_C2Tuple_u32TxOutZZZ[] |
ChannelMonitor.best_block_updated(byte[] header,
int height,
BroadcasterInterface broadcaster,
FeeEstimator fee_estimator,
Logger logger) |
Updates the monitor with the current best chain tip, returning new outputs to watch.
|
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`].
|
TwoTuple_TxidCVec_C2Tuple_u32TxOutZZZ |
TwoTuple_TxidCVec_C2Tuple_u32TxOutZZZ.clone() |
Creates a new tuple which has the same data as `orig`
but with all dynamically-allocated buffers duplicated in new buffers.
|
static TwoTuple_TxidCVec_C2Tuple_u32TxOutZZZ |
TwoTuple_TxidCVec_C2Tuple_u32TxOutZZZ.of(byte[] a,
TwoTuple_u32TxOutZ[] b) |
Creates a new C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ from the contained elements.
|
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.
|