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

Function MakeChain

src/node/interfaces.cpp:1067–1067  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1065namespace interfaces {
1066std::unique_ptr<Node> MakeNode(node::NodeContext& context) { return std::make_unique<node::NodeImpl>(context); }
1067std::unique_ptr<Chain> MakeChain(node::NodeContext& context) { return std::make_unique<node::ChainImpl>(context); }
1068std::unique_ptr<Mining> MakeMining(const node::NodeContext& context, bool wait_loaded)
1069{
1070 if (wait_loaded) {

Callers 14

AppInitInterfacesFunction · 0.85
AppInitMainFunction · 0.85
makeChainMethod · 0.85
makeChainMethod · 0.85
makeChainMethod · 0.85
makeChainMethod · 0.85
TestLoadWalletFunction · 0.85
BOOST_FIXTURE_TEST_CASEFunction · 0.85
makeChainMethod · 0.85
BOOST_FIXTURE_TEST_CASEFunction · 0.85
BOOST_FIXTURE_TEST_CASEFunction · 0.85
BOOST_FIXTURE_TEST_CASEFunction · 0.85

Calls

no outgoing calls

Tested by 7

TestLoadWalletFunction · 0.68
BOOST_FIXTURE_TEST_CASEFunction · 0.68
makeChainMethod · 0.68
BOOST_FIXTURE_TEST_CASEFunction · 0.68
BOOST_FIXTURE_TEST_CASEFunction · 0.68
BOOST_FIXTURE_TEST_CASEFunction · 0.68
BasicTestingSetupMethod · 0.68