Read the anchor IP address database (anchors.dat)
Synopsis
Declared in <addrdb.h>
std::vector<CAddress>
ReadAnchors(fs::path const& anchors_db_path);
Description
Deleting anchors.dat is intentional as it avoids renewed peering to anchors after an unclean shutdown and thus potential exploitation of the anchor peer policy.
Return Value
The anchor addresses loaded from the file.
Parameters
Name |
Description |
anchors_db_path |
Path to the anchors.dat file to read. |
Created with MrDocs