[#DumpPeerAddresses]
= DumpPeerAddresses
:mrdocs:

Writes the peer address database (peers&period;dat) to disk&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
DumpPeerAddresses(
    xref:ArgsManager.adoc[ArgsManager] const& args,
    xref:AddrMan.adoc[AddrMan] const& addr);
----

== Return Value

true if the database was written successfully&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *args*
| The active argument manager, used to locate the data directory&period;
| *addr*
| The address manager whose peers are serialized&period;
|===


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