pub trait MakeNode {
    // Required method
    fn make_node(&mut self) -> Box<dyn NodeInterface>;
}

Required Methods§

source

fn make_node(&mut self) -> Box<dyn NodeInterface>

Implementors§

source§

impl<T: Init> MakeNode for T

| Initial interface created when a process is | first started, and used to give and get access | to other interfaces (Node, Chain, Wallet, | etc). | | There is a different Init interface | implementation for each process (bitcoin-gui, | bitcoin-node, bitcoin-wallet, bitcoind, | bitcoin-qt) and each implementation can | implement the make methods for interfaces it | supports. The default make methods all return | null.