MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / AppInitInterfaces

Function AppInitInterfaces

src/init.cpp:1225–1232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1223}
1224
1225bool AppInitInterfaces(NodeContext& node)
1226{
1227 node.chain = interfaces::MakeChain(node);
1228 // Specify wait_loaded=false so internal mining interface can be initialized
1229 // on early startup and does not need to be tied to chainstate loading.
1230 node.mining = interfaces::MakeMining(node, /*wait_loaded=*/false);
1231 return true;
1232}
1233
1234bool CheckHostPortOptions(const ArgsManager& args) {
1235 for (const std::string port_option : {

Callers 3

AppInitFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
baseInitializeMethod · 0.85

Calls 2

MakeChainFunction · 0.85
MakeMiningFunction · 0.85

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.68