PIVX Core  5.6.99
P2P Digital Currency
Classes | Namespaces | Functions | Variables
key_io_sapling.cpp File Reference
#include "sapling/key_io_sapling.h"
#include "utilstrencodings.h"
#include "bech32.h"
#include "script/script.h"
#include "streams.h"
#include <boost/variant/apply_visitor.hpp>
#include <boost/variant/static_visitor.hpp>
#include <assert.h>
#include <string.h>
#include <algorithm>
Include dependency graph for key_io_sapling.cpp:

Go to the source code of this file.

Classes

class  PaymentAddressEncoder
 
class  ViewingKeyEncoder
 
class  SpendingKeyEncoder
 

Namespaces

 KeyIO
 

Functions

std::string KeyIO::EncodePaymentAddress (const libzcash::PaymentAddress &zaddr)
 
libzcash::PaymentAddress KeyIO::DecodePaymentAddress (const std::string &str)
 
Optional< libzcash::SaplingPaymentAddressKeyIO::DecodeSaplingPaymentAddress (const std::string &strAddress)
 
bool KeyIO::IsValidPaymentAddressString (const std::string &str)
 
std::string KeyIO::EncodeViewingKey (const libzcash::ViewingKey &vk)
 
libzcash::ViewingKey KeyIO::DecodeViewingKey (const std::string &str)
 
std::string KeyIO::EncodeSpendingKey (const libzcash::SpendingKey &zkey)
 
libzcash::SpendingKey KeyIO::DecodeSpendingKey (const std::string &str)
 

Variables

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