static Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ |
UtilMethods.C2Tuple_BlockHashChannelManagerZ_read(byte[] ser,
KeysInterface arg_keys_manager,
FeeEstimator arg_fee_estimator,
Watch arg_chain_monitor,
BroadcasterInterface arg_tx_broadcaster,
Logger arg_logger,
UserConfig arg_default_config,
ChannelMonitor[] arg_channel_monitors) |
Read a C2Tuple_BlockHashChannelManagerZ from a byte array, created by C2Tuple_BlockHashChannelManagerZ_write
|
static Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ |
UtilMethods.C2Tuple_BlockHashChannelMonitorZ_read(byte[] ser,
KeysInterface arg) |
Read a C2Tuple_BlockHashChannelMonitorZ from a byte array, created by C2Tuple_BlockHashChannelMonitorZ_write
|
static Result_InvoiceSignOrCreationErrorZ |
UtilMethods.create_invoice_from_channelmanager(ChannelManager channelmanager,
KeysInterface keys_manager,
Currency network,
Option_u64Z amt_msat,
String description) |
Utility to construct an invoice.
|
static ChannelManager |
ChannelManager.of(FeeEstimator fee_est,
Watch chain_monitor,
BroadcasterInterface tx_broadcaster,
Logger logger,
KeysInterface keys_manager,
UserConfig config,
ChainParameters params) |
Constructs a new ChannelManager to hold several channels and route between them.
|
static ChannelManagerReadArgs |
ChannelManagerReadArgs.of(KeysInterface keys_manager,
FeeEstimator fee_estimator,
Watch chain_monitor,
BroadcasterInterface tx_broadcaster,
Logger logger,
UserConfig default_config,
ChannelMonitor[] channel_monitors) |
Simple utility function to create a ChannelManagerReadArgs which creates the monitor
HashMap for you.
|
static TwoTuple_BlockHashChannelManagerZ |
TwoTuple_BlockHashChannelManagerZ.of(byte[] a,
FeeEstimator b_fee_est,
Watch b_chain_monitor,
BroadcasterInterface b_tx_broadcaster,
Logger b_logger,
KeysInterface b_keys_manager,
UserConfig b_config,
ChainParameters b_params) |
Creates a new C2Tuple_BlockHashChannelManagerZ from the contained elements.
|
Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ |
FilesystemPersister.read_channelmonitors(KeysInterface keys_manager) |
Read `ChannelMonitor`s from disk.
|
void |
ChannelManagerReadArgs.set_keys_manager(KeysInterface val) |
The keys provider which will give us relevant keys.
|