aboutsummaryrefslogtreecommitdiff
path: root/src/netaddress.cpp
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2023-01-10 14:23:27 +0100
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2023-01-10 14:23:27 +0100
commit3076f1815d64f448aa9dff6e48e07004f42ac0fc (patch)
tree614b79456632177694b0c5b7f3bd3cdfd16b77a6 /src/netaddress.cpp
parent0e81d119e09dba13dddb42506855ba8eba761238 (diff)
downloadbitcoin-3076f1815d64f448aa9dff6e48e07004f42ac0fc.tar.xz
doc: net: fix link to onion address encoding scheme [ONIONADDRESS]
Instead of referring to a fixed line number to a file in master (which is obviously always quickly outdated), use a permalink tied to the latest commit.
Diffstat (limited to 'src/netaddress.cpp')
-rw-r--r--src/netaddress.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netaddress.cpp b/src/netaddress.cpp
index 71a3580615..782b692d30 100644
--- a/src/netaddress.cpp
+++ b/src/netaddress.cpp
@@ -179,7 +179,7 @@ bool CNetAddr::SetInternal(const std::string &name)
}
namespace torv3 {
-// https://gitweb.torproject.org/torspec.git/tree/rend-spec-v3.txt#n2135
+// https://gitweb.torproject.org/torspec.git/tree/rend-spec-v3.txt?id=7116c9cdaba248aae07a3f1d0e15d9dd102f62c5#n2175
static constexpr size_t CHECKSUM_LEN = 2;
static const unsigned char VERSION[] = {3};
static constexpr size_t TOTAL_LEN = ADDR_TORV3_SIZE + CHECKSUM_LEN + sizeof(VERSION);