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

Name

Description

args

The active argument manager, used to locate the data directory.

addr

The address manager whose peers are serialized.

Created with MrDocs