static Result_C2Tuple_ThirtyTwoBytesChannelManagerZDecodeErrorZ |
UtilMethods.C2Tuple_ThirtyTwoBytesChannelManagerZ_read(byte[] ser,
EntropySource arg_entropy_source,
NodeSigner arg_node_signer,
SignerProvider arg_signer_provider,
FeeEstimator arg_fee_estimator,
Watch arg_chain_monitor,
BroadcasterInterface arg_tx_broadcaster,
Router arg_router,
Logger arg_logger,
UserConfig arg_default_config,
ChannelMonitor[] arg_channel_monitors) |
Read a C2Tuple_ThirtyTwoBytesChannelManagerZ from a byte array, created by C2Tuple_ThirtyTwoBytesChannelManagerZ_write
|
static Result_C2Tuple_ThirtyTwoBytesChannelMonitorZDecodeErrorZ |
UtilMethods.C2Tuple_ThirtyTwoBytesChannelMonitorZ_read(byte[] ser,
EntropySource arg_a,
SignerProvider arg_b) |
Read a C2Tuple_ThirtyTwoBytesChannelMonitorZ from a byte array, created by C2Tuple_ThirtyTwoBytesChannelMonitorZ_write
|
WriteableEcdsaChannelSigner |
AnchorDescriptor.derive_channel_signer(SignerProvider signer_provider) |
Derives the channel signer required to sign the anchor input.
|
WriteableEcdsaChannelSigner |
HTLCDescriptor.derive_channel_signer(SignerProvider signer_provider) |
Derives the channel signer required to sign the HTLC input.
|
static BumpTransactionEventHandler |
BumpTransactionEventHandler.of(BroadcasterInterface broadcaster,
CoinSelectionSource utxo_source,
SignerProvider signer_provider,
Logger logger) |
Returns a new instance capable of handling [`Event::BumpTransaction`] events.
|
static ChannelManager |
ChannelManager.of(FeeEstimator fee_est,
Watch chain_monitor,
BroadcasterInterface tx_broadcaster,
Router router,
Logger logger,
EntropySource entropy_source,
NodeSigner node_signer,
SignerProvider signer_provider,
UserConfig config,
ChainParameters params,
int current_timestamp) |
Constructs a new `ChannelManager` to hold several channels and route between them.
|
static ChannelManagerReadArgs |
ChannelManagerReadArgs.of(EntropySource entropy_source,
NodeSigner node_signer,
SignerProvider signer_provider,
FeeEstimator fee_estimator,
Watch chain_monitor,
BroadcasterInterface tx_broadcaster,
Router router,
Logger logger,
UserConfig default_config,
ChannelMonitor[] channel_monitors) |
Simple utility function to create a ChannelManagerReadArgs which creates the monitor
HashMap for you.
|
static MonitorUpdatingPersister |
MonitorUpdatingPersister.of(KVStore kv_store,
Logger logger,
long maximum_pending_updates,
EntropySource entropy_source,
SignerProvider signer_provider) |
Constructs a new [`MonitorUpdatingPersister`].
|
static TwoTuple_ThirtyTwoBytesChannelManagerZ |
TwoTuple_ThirtyTwoBytesChannelManagerZ.of(byte[] a,
FeeEstimator b_fee_est,
Watch b_chain_monitor,
BroadcasterInterface b_tx_broadcaster,
Router b_router,
Logger b_logger,
EntropySource b_entropy_source,
NodeSigner b_node_signer,
SignerProvider b_signer_provider,
UserConfig b_config,
ChainParameters b_params,
int b_current_timestamp) |
Creates a new C2Tuple_ThirtyTwoBytesChannelManagerZ from the contained elements.
|
static Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ |
UtilMethods.read_channel_monitors(KVStore kv_store,
EntropySource entropy_source,
SignerProvider signer_provider) |
Read previously persisted [`ChannelMonitor`]s from the store.
|
void |
ChannelManagerReadArgs.set_signer_provider(SignerProvider val) |
The keys provider which will give us relevant keys.
|