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

Function DumpAddresses

src/net.cpp:928–935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

926}
927
928void DumpAddresses() {
929 int64_t nStart = GetTimeMillis();
930
931 CAddrDB adb;
932 adb.Write(addrman);
933
934 LogPrint(BCLog::NET, "Flushed %d addresses to peers.dat %dms\n", addrman.size(), GetTimeMillis() - nStart);
935}
936
937void static ProcessOneShot() {
938 string strDest;

Callers 1

StopNodeFunction · 0.85

Calls 3

GetTimeMillisFunction · 0.50
WriteMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected