[#TransportProtocolType]
= TransportProtocolType
:mrdocs:

Transport layer version

== Synopsis

Declared in `&lt;node&sol;connection&lowbar;types&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum class TransportProtocolType : uint8&lowbar;t;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `DETECTING` 
| Peer could be v1 or v2
| `V1` 
| Unencrypted, plaintext protocol
| `V2` 
| BIP324 protocol
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:TransportTypeAsString.adoc[`TransportTypeAsString`]
| Convert TransportProtocolType enum to a string value
|===


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