Bitcoin Core  0.20.99
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 203 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
static

Definition at line 199 of file netaddress.cpp.

◆ TOTAL_LEN

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

Definition at line 201 of file netaddress.cpp.

◆ VERSION

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

Definition at line 200 of file netaddress.cpp.