diff options
author | Pieter Wuille <pieter@wuille.net> | 2023-08-22 17:50:59 -0400 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2023-10-02 18:09:53 -0400 |
commit | abf343b32026c3f8246f98c416e2c6cf5b66aa38 (patch) | |
tree | a9adcafb56ee287487780fcfcea8780e308bebaf /src/protocol.h | |
parent | e7b0004b375be25096fbaf3d5f6980095a90fc0c (diff) | |
download | bitcoin-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.h | 3 |
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 |