Bitcoin Core  21.99.0
P2P Digital Currency
init.cpp
Go to the documentation of this file.
1 // Copyright (c) 2021 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #include <interfaces/chain.h>
6 #include <interfaces/echo.h>
7 #include <interfaces/init.h>
8 #include <interfaces/node.h>
9 #include <interfaces/wallet.h>
10 
11 namespace interfaces {
12 std::unique_ptr<Node> Init::makeNode() { return {}; }
13 std::unique_ptr<Chain> Init::makeChain() { return {}; }
14 std::unique_ptr<WalletClient> Init::makeWalletClient(Chain& chain) { return {}; }
15 std::unique_ptr<Echo> Init::makeEcho() { return {}; }
16 Ipc* Init::ipc() { return nullptr; }
17 } // namespace interfaces
interfaces
Definition: dummywallet.cpp:10
interfaces::Init::makeWalletClient
virtual std::unique_ptr< WalletClient > makeWalletClient(Chain &chain)
Definition: init.cpp:14
interfaces::Init::makeChain
virtual std::unique_ptr< Chain > makeChain()
Definition: init.cpp:13
interfaces::Init::makeEcho
virtual std::unique_ptr< Echo > makeEcho()
Definition: init.cpp:15
chain.h
interfaces::Chain
Interface giving clients (wallet processes, maybe other analysis tools in the future) ability to acce...
Definition: chain.h:89
interfaces::Init::ipc
virtual Ipc * ipc()
Definition: init.cpp:16
echo.h
node.h
interfaces::Init::makeNode
virtual std::unique_ptr< Node > makeNode()
Definition: init.cpp:12
init.h
wallet.h
interfaces::Ipc
Interface providing access to interprocess-communication (IPC) functionality.
Definition: ipc.h:40