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/net.h | |
parent | e7b0004b375be25096fbaf3d5f6980095a90fc0c (diff) |
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/net.h')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -94,6 +94,8 @@ static constexpr bool DEFAULT_FIXEDSEEDS{true}; static const size_t DEFAULT_MAXRECEIVEBUFFER = 5 * 1000; static const size_t DEFAULT_MAXSENDBUFFER = 1 * 1000; +static constexpr bool DEFAULT_V2_TRANSPORT{false}; + typedef int64_t NodeId; struct AddedNodeInfo |