aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2023-08-22 17:50:59 -0400
committerPieter Wuille <pieter@wuille.net>2023-10-02 18:09:53 -0400
commitabf343b32026c3f8246f98c416e2c6cf5b66aa38 (patch)
treea9adcafb56ee287487780fcfcea8780e308bebaf /src/protocol.h
parente7b0004b375be25096fbaf3d5f6980095a90fc0c (diff)
downloadbitcoin-abf343b32026c3f8246f98c416e2c6cf5b66aa38.tar.xz
net: advertise NODE_P2P_V2 if CLI arg -v2transport is on
Co-authored-by: Dhruv Mehta <856960+dhruv@users.noreply.github.com>
Diffstat (limited to 'src/protocol.h')
-rw-r--r--src/protocol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h
index 56668898e4..a58d671a70 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -291,6 +291,9 @@ enum ServiceFlags : uint64_t {
// See BIP159 for details on how this is implemented.
NODE_NETWORK_LIMITED = (1 << 10),
+ // NODE_P2P_V2 means the node supports BIP324 transport
+ NODE_P2P_V2 = (1 << 11),
+
// Bits 24-31 are reserved for temporary experiments. Just pick a bit that
// isn't getting used, or one not being used much, and notify the
// bitcoin-development mailing list. Remember that service bits are just