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 Wuille
2023-08-22 17:50:59 -04:00
parent e7b0004b37
commit abf343b320
6 changed files with 14 additions and 0 deletions

View File

@@ -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