MCPcopy Create free account
hub / github.com/LUX-Core/lux / DumpAddresses

Function DumpAddresses

src/net.cpp:1359–1368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1357
1358
1359void DumpAddresses()
1360{
1361 int64_t nStart = GetTimeMillis();
1362
1363 CAddrDB adb;
1364 adb.Write(addrman);
1365
1366 LogPrint("net", "Flushed %d addresses to peers.dat %dms\n",
1367 addrman.size(), GetTimeMillis() - nStart);
1368}
1369
1370void DumpData()
1371{

Callers 2

DumpDataFunction · 0.85
StartNodeFunction · 0.85

Calls 4

GetTimeMillisFunction · 0.85
LogPrintFunction · 0.85
WriteMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected