aboutsummaryrefslogtreecommitdiff
path: root/src/net.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/net.h
parente7b0004b375be25096fbaf3d5f6980095a90fc0c (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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 035cca2b13..c4bd89099a 100644
--- a/src/net.h
+++ b/src/net.h
@@ -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