DumpAnchors

Dump the anchor IP address database (anchors.dat)

Synopsis

Declared in <addrdb.h>

void
DumpAnchors(
    fs::path const& anchors_db_path,
    std::vector<CAddress> const& anchors);

Description

Anchors are last known outgoing block-relay-only peers that are tried to re-connect to on startup.

Parameters

NameDescription
anchors_db_pathPath to the anchors.dat file to write.
anchorsThe anchor addresses to serialize.