MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / GetMagicNumber

Method GetMagicNumber

src/config/configuration.cpp:98–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96vector<uint32_t> G_CONFIG_TABLE::GetSeedNodeIP() const { return pnSeed; }
97
98uint8_t* G_CONFIG_TABLE::GetMagicNumber(const NET_TYPE type) const {
99 assert(type >= 0 && type < 3);
100 return MessageMagicNumber[type];
101}
102
103vector<uint8_t> G_CONFIG_TABLE::GetAddressPrefix(const NET_TYPE type, const Base58Type BaseType) const {
104 assert(type >= 0 && type < 2);

Callers 3

CMainParamsMethod · 0.80
CTestNetParamsMethod · 0.80
CRegTestParamsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected