MCPcopy Create free account
hub / github.com/Bitcoin-ABC/bitcoin-abc / AppInitInterfaces

Function AppInitInterfaces

src/init.cpp:2171–2179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2169}
2170
2171bool AppInitInterfaces(NodeContext &node) {
2172 node.chain = interfaces::MakeChain(node, Params());
2173 // Create client interfaces for wallets that are supposed to be loaded
2174 // according to -wallet and -disablewallet options. This only constructs
2175 // the interfaces, it doesn't load wallet data. Wallets actually get loaded
2176 // when load() and start() interface methods are called below.
2177 g_wallet_init_interface.Construct(node);
2178 return true;
2179}
2180
2181bool AppInitMain(Config &config, RPCServer &rpcServer,
2182 HTTPRPCRequestProcessor &httpRPCRequestProcessor,

Callers 2

AppInitFunction · 0.85
baseInitializeMethod · 0.85

Calls 3

MakeChainFunction · 0.85
ParamsClass · 0.70
ConstructMethod · 0.45

Tested by

no test coverage detected