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

Function initialize

src/test/fuzz/versionbits.cpp:82–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80std::unique_ptr<const CChainParams> g_params;
81
82void initialize()
83{
84 // this is actually comparatively slow, so only do it once
85 g_params = CreateChainParams(ArgsManager{}, ChainType::MAIN);
86 assert(g_params != nullptr);
87}
88
89constexpr uint32_t MAX_START_TIME = 4102444800; // 2100-01-01
90

Callers

nothing calls this directly

Calls 1

CreateChainParamsFunction · 0.85

Tested by

no test coverage detected