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

Method NodeSyncScore

src/p2p/node.h:290–290  ·  view source on GitHub ↗

for now, use a very simple selection metric: the node from which we received most recently

Source from the content-addressed store, hash-verified

288 // for now, use a very simple selection metric: the node from which we received
289 // most recently
290 int64_t NodeSyncScore() { return nLastRecv; }
291
292 int32_t GetRefCount() {
293 assert(nRefCount >= 0);

Callers 1

StartSyncFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected