Struct lightning_signer::util::functional_test_utils::Node[][src]

pub struct Node<'a, 'b: 'a, 'c: 'b> {
Show 13 fields pub chain_source: &'c TestChainSource, pub tx_broadcaster: &'c TestBroadcaster, pub chain_monitor: &'b TestChainMonitor<'c>, pub keys_manager: &'b LoopbackSignerKeysInterface, pub node: &'a ChannelManager<LoopbackChannelSigner, &'b TestChainMonitor<'c>, &'c TestBroadcaster, &'b LoopbackSignerKeysInterface, &'c TestFeeEstimator, &'c TestLogger>, pub network_graph: &'c NetworkGraph, pub net_graph_msg_handler: NetGraphMsgHandler<&'c NetworkGraph, &'c TestChainSource, &'c TestLogger>, pub node_seed: [u8; 32], pub network_payment_count: Rc<RefCell<u8>>, pub network_chan_count: Rc<RefCell<u32>>, pub logger: &'c TestLogger, pub blocks: RefCell<Vec<(BlockHeader, u32)>>, pub connect_style: Rc<RefCell<ConnectStyle>>,
}

Fields

chain_source: &'c TestChainSourcetx_broadcaster: &'c TestBroadcasterchain_monitor: &'b TestChainMonitor<'c>keys_manager: &'b LoopbackSignerKeysInterfacenode: &'a ChannelManager<LoopbackChannelSigner, &'b TestChainMonitor<'c>, &'c TestBroadcaster, &'b LoopbackSignerKeysInterface, &'c TestFeeEstimator, &'c TestLogger>network_graph: &'c NetworkGraphnet_graph_msg_handler: NetGraphMsgHandler<&'c NetworkGraph, &'c TestChainSource, &'c TestLogger>node_seed: [u8; 32]network_payment_count: Rc<RefCell<u8>>network_chan_count: Rc<RefCell<u32>>logger: &'c TestLoggerblocks: RefCell<Vec<(BlockHeader, u32)>>connect_style: Rc<RefCell<ConnectStyle>>

Implementations

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.