[#CNetAddr-Encoding]
= xref:CNetAddr.adoc[CNetAddr]::Encoding
:relfileprefix: ../
:mrdocs:

Wire encoding used when (un)serializing an address&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum class Encoding : int;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `V1` 
| Legacy pre&hyphen;BIP155 encoding&period;
| `V2` 
| BIP155 encoding
|===



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