MCPcopy Create free account
hub / github.com/ElementsProject/elements / initialize

Function initialize

src/test/fuzz/versionbits.cpp:104–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102std::unique_ptr<const CChainParams> g_params;
103
104void initialize()
105{
106 // this is actually comparatively slow, so only do it once
107 g_params = CreateChainParams(ArgsManager{}, CBaseChainParams::MAIN);
108 assert(g_params != nullptr);
109}
110
111constexpr uint32_t MAX_START_TIME = 4102444800; // 2100-01-01
112

Callers

nothing calls this directly

Calls 1

CreateChainParamsFunction · 0.85

Tested by

no test coverage detected