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

Method IsInFixedSeeds

src/config/chainparams.cpp:101–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 virtual uint32_t GetBlockMaxNonce() const { return 1000; }
100 virtual const vector<CAddress>& FixedSeeds() const { return vFixedSeeds; }
101 virtual bool IsInFixedSeeds(CAddress& addr) {
102 vector<CAddress>::iterator iterAddr = find(vFixedSeeds.begin(), vFixedSeeds.end(), addr);
103 return iterAddr != vFixedSeeds.end();
104 }
105
106protected:
107 CBlock genesis;

Callers 1

ThreadOpenConnectionsFunction · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected