mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
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.
This commit is contained in:
parent
0e81d119e0
commit
3076f1815d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue