aboutsummaryrefslogtreecommitdiff
path: root/src/netaddress.h
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2021-05-27 18:37:57 +0200
committerJon Atack <jon@atack.com>2021-06-03 13:36:46 +0200
commit3d390421440f1cae9a9f2b089561c183ecd1b073 (patch)
tree341459b4b11796b3631c6c1463fd791a3a54b359 /src/netaddress.h
parentcff5ec477a388ae9aa9fd9ef6a7dad1f678e7d23 (diff)
downloadbitcoin-3d390421440f1cae9a9f2b089561c183ecd1b073.tar.xz
p2p: remove torv2 in SetIP() and ADDR_TORV2_SIZE constant
Diffstat (limited to 'src/netaddress.h')
-rw-r--r--src/netaddress.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/netaddress.h b/src/netaddress.h
index 6cf3afb15c..0d04ab88fb 100644
--- a/src/netaddress.h
+++ b/src/netaddress.h
@@ -97,9 +97,6 @@ static constexpr size_t ADDR_IPV4_SIZE = 4;
/// Size of IPv6 address (in bytes).
static constexpr size_t ADDR_IPV6_SIZE = 16;
-/// Size of TORv2 address (in bytes).
-static constexpr size_t ADDR_TORV2_SIZE = 10;
-
/// Size of TORv3 address (in bytes). This is the length of just the address
/// as used in BIP155, without the checksum and the version byte.
static constexpr size_t ADDR_TORV3_SIZE = 32;