PIVX Core  5.6.99
P2P Digital Currency
Classes | Namespaces | Typedefs | Functions | Variables
zip32.h File Reference
#include "key.h"
#include "optional.h"
#include "sapling/address.h"
#include "serialize.h"
#include "support/allocators/zeroafterfree.h"
#include "uint256.h"
Include dependency graph for zip32.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HDSeed
 
struct  libzcash::SaplingExtendedFullViewingKey
 
struct  libzcash::SaplingExtendedSpendingKey
 

Namespaces

 libzcash
 

Typedefs

typedef blob88 libzcash::diversifier_index_t
 
typedef boost::variant< InvalidEncoding, SaplingExtendedSpendingKey > libzcash::SpendingKey
 
typedef boost::variant< InvalidEncoding, SaplingExtendedFullViewingKey > libzcash::ViewingKey
 

Functions

uint256 ovkForShieldingFromTaddr (HDSeed &seed)
 
bool IsValidSpendingKey (const libzcash::SpendingKey &zkey)
 Check whether a SpendingKey is not an InvalidEncoding. More...
 
bool IsValidViewingKey (const libzcash::ViewingKey &vk)
 Check whether a ViewingKey is not an InvalidEncoding. More...
 

Variables

const uint32_t ZIP32_HARDENED_KEY_LIMIT = 0x80000000
 
const size_t ZIP32_XFVK_SIZE = 169
 
const size_t ZIP32_XSK_SIZE = 169
 

Function Documentation

◆ IsValidSpendingKey()

bool IsValidSpendingKey ( const libzcash::SpendingKey zkey)

Check whether a SpendingKey is not an InvalidEncoding.

Definition at line 169 of file zip32.cpp.

Here is the caller graph for this function:

◆ IsValidViewingKey()

bool IsValidViewingKey ( const libzcash::ViewingKey vk)

Check whether a ViewingKey is not an InvalidEncoding.

Definition at line 173 of file zip32.cpp.

Here is the caller graph for this function:

◆ ovkForShieldingFromTaddr()

uint256 ovkForShieldingFromTaddr ( HDSeed seed)

Definition at line 38 of file zip32.cpp.

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

Variable Documentation

◆ ZIP32_HARDENED_KEY_LIMIT

const uint32_t ZIP32_HARDENED_KEY_LIMIT = 0x80000000

Definition at line 16 of file zip32.h.

◆ ZIP32_XFVK_SIZE

const size_t ZIP32_XFVK_SIZE = 169

Definition at line 17 of file zip32.h.

◆ ZIP32_XSK_SIZE

const size_t ZIP32_XSK_SIZE = 169

Definition at line 18 of file zip32.h.