[#DumpAnchors]
= DumpAnchors
:mrdocs:

Dump the anchor IP address database (anchors&period;dat)

== Synopsis

Declared in `&lt;addrdb&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
DumpAnchors(
    xref:fs/path.adoc[fs::path] const& anchors&lowbar;db&lowbar;path,
    std::vector&lt;CAddress&gt; const& anchors);
----

== Description

Anchors are last known outgoing block&hyphen;relay&hyphen;only peers that are tried to re&hyphen;connect to on startup&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *anchors&lowbar;db&lowbar;path*
| Path to the anchors&period;dat file to write&period;
| *anchors*
| The anchor addresses to serialize&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
