DumpPeerAddresses

Writes the peer address database (peers.dat) to disk.

Synopsis

Declared in <addrdb.h>

bool
DumpPeerAddresses(
    ArgsManager const& args,
    AddrMan const& addr);

Return Value

true if the database was written successfully.

Parameters

NameDescription
argsThe active argument manager, used to locate the data directory.
addrThe address manager whose peers are serialized.