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

Name

Description

anchors_db_path

Path to the anchors.dat file to write.

anchors

The anchor addresses to serialize.

Created with MrDocs