1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
crate::ix!();

//-------------------------------------------[.cpp/bitcoin/src/init/bitcoind.cpp]

pub struct BitcoindInit {
    node: Rc<RefCell<NodeContext>>,
}

impl Init for BitcoindInit {
    fn init(&mut self) -> bool { todo!(); }
}

impl BitcoindInit {

    pub fn new(node: &mut NodeContext) -> Self {
    
        todo!();
        /*
        : node(node),

            m_node.args = &gArgs;
            m_node.init = this;
        */
    }
    
    pub fn make_node(&mut self) -> Box<dyn NodeInterface> {
        
        todo!();
        /*
            return interfaces::MakeNode(m_node);
        */
    }
    
    pub fn make_chain(&mut self) -> Box<dyn ChainInterface> {
        
        todo!();
        /*
            return interfaces::MakeChain(m_node);
        */
    }
    
    pub fn make_wallet_client(&mut self, chain: &mut dyn ChainInterface) -> Box<dyn WalletClient> {
        
        todo!();
        /*
            return MakeWalletClient(chain, *Assert(m_node.args));
        */
    }
    
    pub fn make_echo(&mut self) -> Box<dyn Echo> {
        
        todo!();
        /*
            return interfaces::MakeEcho();
        */
    }
}