Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
torv3 Namespace Reference

Functions

static void Checksum (std::span< const uint8_t > addr_pubkey, uint8_t(&checksum)[CHECKSUM_LEN])

Variables

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)

Function Documentation

◆ Checksum()

void torv3::Checksum ( std::span< const uint8_t > addr_pubkey,
uint8_t(&) checksum[CHECKSUM_LEN] )
static

Definition at line 191 of file netaddress.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ CHECKSUM_LEN

size_t torv3::CHECKSUM_LEN = 2
staticconstexpr

Definition at line 187 of file netaddress.cpp.

◆ TOTAL_LEN

size_t torv3::TOTAL_LEN = ADDR_TORV3_SIZE + CHECKSUM_LEN + sizeof(VERSION)
staticconstexpr

Definition at line 189 of file netaddress.cpp.

◆ VERSION

const unsigned char torv3::VERSION[] = {3}
static

Definition at line 188 of file netaddress.cpp.