net: advertise NODE_P2P_V2 if CLI arg -v2transport is on

Co-authored-by: Dhruv Mehta <856960+dhruv@users.noreply.github.com>
This commit is contained in:
Pieter WuilleandDhruv Mehta committed 2023-10-02 18:09:53 -04:00
1 parent e7b0004b37
commit abf343b320
6 files changed
+14

No files matched your search

@@ -52,6 +52,7 @@ NODE_BLOOM = (1 << 2)
NODE_WITNESS = (1 << 3)
NODE_COMPACT_FILTERS = (1 << 6)
NODE_NETWORK_LIMITED = (1 << 10)
NODE_P2P_V2 = (1 << 11)
MSG_TX = 1
MSG_BLOCK = 2