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

Method SetChainParams

src/kernel/bitcoinkernel_wrapper.h:1076–1079  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1074 ContextOptions() : UniqueHandle{btck_context_options_create()} {}
1075
1076 void SetChainParams(ChainParams& chain_params)
1077 {
1078 btck_context_options_set_chainparams(get(), chain_params.get());
1079 }
1080
1081 template <typename T>
1082 void SetNotifications(std::shared_ptr<T> notifications)

Callers 3

mainFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
create_contextFunction · 0.80

Calls 3

getFunction · 0.85
getMethod · 0.45

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
create_contextFunction · 0.64