Bitcoin Core 28.99.0
P2P Digital Currency
Functions | Variables
torv3 Namespace Reference

Functions

static void Checksum (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()

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

Definition at line 190 of file netaddress.cpp.

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

Variable Documentation

◆ CHECKSUM_LEN

constexpr size_t torv3::CHECKSUM_LEN = 2
staticconstexpr

Definition at line 186 of file netaddress.cpp.

◆ TOTAL_LEN

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

Definition at line 188 of file netaddress.cpp.

◆ VERSION

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

Definition at line 187 of file netaddress.cpp.