PIVX Core  5.6.99
P2P Digital Currency
Functions | Variables
KeyIO Namespace Reference

Functions

CKey DecodeSecret (const std::string &str)
 
std::string EncodeSecret (const CKey &key)
 
CExtKey DecodeExtKey (const std::string &str)
 
std::string EncodeExtKey (const CExtKey &key)
 
CExtPubKey DecodeExtPubKey (const std::string &str)
 
std::string EncodeExtPubKey (const CExtPubKey &key)
 
std::string EncodePaymentAddress (const libzcash::PaymentAddress &zaddr)
 
libzcash::PaymentAddress DecodePaymentAddress (const std::string &str)
 
Optional< libzcash::SaplingPaymentAddressDecodeSaplingPaymentAddress (const std::string &strAddress)
 
bool IsValidPaymentAddressString (const std::string &str)
 
std::string EncodeViewingKey (const libzcash::ViewingKey &vk)
 
libzcash::ViewingKey DecodeViewingKey (const std::string &str)
 
std::string EncodeSpendingKey (const libzcash::SpendingKey &zkey)
 
libzcash::SpendingKey DecodeSpendingKey (const std::string &str)
 

Variables

const size_t ConvertedSaplingPaymentAddressSize = ((32 + 11) * 8 + 4) / 5
 
const size_t ConvertedSaplingExtendedFullViewingKeySize = (ZIP32_XFVK_SIZE * 8 + 4) / 5
 
const size_t ConvertedSaplingExtendedSpendingKeySize = (ZIP32_XSK_SIZE * 8 + 4) / 5
 

Function Documentation

◆ DecodeExtKey()

CExtKey KeyIO::DecodeExtKey ( const std::string &  str)

Definition at line 157 of file key_io.cpp.

◆ DecodeExtPubKey()

CExtPubKey KeyIO::DecodeExtPubKey ( const std::string &  str)

Definition at line 180 of file key_io.cpp.

◆ DecodePaymentAddress()

libzcash::PaymentAddress KeyIO::DecodePaymentAddress ( const std::string &  str)

Definition at line 113 of file key_io_sapling.cpp.

Here is the caller graph for this function:

◆ DecodeSaplingPaymentAddress()

Optional< libzcash::SaplingPaymentAddress > KeyIO::DecodeSaplingPaymentAddress ( const std::string &  strAddress)

Definition at line 131 of file key_io_sapling.cpp.

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

◆ DecodeSecret()

CKey KeyIO::DecodeSecret ( const std::string &  str)

Definition at line 127 of file key_io.cpp.

Here is the caller graph for this function:

◆ DecodeSpendingKey()

libzcash::SpendingKey KeyIO::DecodeSpendingKey ( const std::string &  str)

Definition at line 171 of file key_io_sapling.cpp.

Here is the caller graph for this function:

◆ DecodeViewingKey()

libzcash::ViewingKey KeyIO::DecodeViewingKey ( const std::string &  str)

Definition at line 147 of file key_io_sapling.cpp.

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

◆ EncodeExtKey()

std::string KeyIO::EncodeExtKey ( const CExtKey key)

Definition at line 170 of file key_io.cpp.

Here is the caller graph for this function:

◆ EncodeExtPubKey()

std::string KeyIO::EncodeExtPubKey ( const CExtPubKey key)

Definition at line 193 of file key_io.cpp.

◆ EncodePaymentAddress()

std::string KeyIO::EncodePaymentAddress ( const libzcash::PaymentAddress zaddr)

Definition at line 108 of file key_io_sapling.cpp.

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

◆ EncodeSecret()

std::string KeyIO::EncodeSecret ( const CKey key)

Definition at line 145 of file key_io.cpp.

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

◆ EncodeSpendingKey()

std::string KeyIO::EncodeSpendingKey ( const libzcash::SpendingKey zkey)

Definition at line 166 of file key_io_sapling.cpp.

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

◆ EncodeViewingKey()

std::string KeyIO::EncodeViewingKey ( const libzcash::ViewingKey vk)

Definition at line 142 of file key_io_sapling.cpp.

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

◆ IsValidPaymentAddressString()

bool KeyIO::IsValidPaymentAddressString ( const std::string &  str)

Definition at line 138 of file key_io_sapling.cpp.

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

Variable Documentation

◆ ConvertedSaplingExtendedFullViewingKeySize

const size_t KeyIO::ConvertedSaplingExtendedFullViewingKeySize = (ZIP32_XFVK_SIZE * 8 + 4) / 5

Definition at line 105 of file key_io_sapling.cpp.

◆ ConvertedSaplingExtendedSpendingKeySize

const size_t KeyIO::ConvertedSaplingExtendedSpendingKeySize = (ZIP32_XSK_SIZE * 8 + 4) / 5

Definition at line 106 of file key_io_sapling.cpp.

◆ ConvertedSaplingPaymentAddressSize

const size_t KeyIO::ConvertedSaplingPaymentAddressSize = ((32 + 11) * 8 + 4) / 5

Definition at line 104 of file key_io_sapling.cpp.