PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CKeyPool Class Reference

A key pool entry. More...

#include <wallet.h>

Collaboration diagram for CKeyPool:
[legend]

Public Member Functions

 CKeyPool ()
 
 CKeyPool (const CPubKey &vchPubKeyIn, const uint8_t &type)
 
bool IsInternal () const
 
bool IsExternal () const
 
bool IsStaking () const
 
template<typename Stream >
void Serialize (Stream &s) const
 
template<typename Stream >
void Unserialize (Stream &s)
 

Public Attributes

int64_t nTime
 The time at which the key was generated. Set in AddKeypoolPubKeyWithDB. More...
 
CPubKey vchPubKey
 The public key. More...
 
uint8_t type
 Whether this keypool entry is in the internal, external or staking keypool. More...
 
bool m_pre_split
 Whether this key was generated for a keypool before the wallet was upgraded to HD-split. More...
 

Detailed Description

A key pool entry.

Definition at line 124 of file wallet.h.

Constructor & Destructor Documentation

◆ CKeyPool() [1/2]

CKeyPool::CKeyPool ( )

Definition at line 4462 of file wallet.cpp.

Here is the call graph for this function:

◆ CKeyPool() [2/2]

CKeyPool::CKeyPool ( const CPubKey vchPubKeyIn,
const uint8_t &  type 
)

Definition at line 4469 of file wallet.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ IsExternal()

bool CKeyPool::IsExternal ( ) const
inline

Definition at line 140 of file wallet.h.

Here is the caller graph for this function:

◆ IsInternal()

bool CKeyPool::IsInternal ( ) const
inline

Definition at line 139 of file wallet.h.

Here is the caller graph for this function:

◆ IsStaking()

bool CKeyPool::IsStaking ( ) const
inline

Definition at line 141 of file wallet.h.

Here is the caller graph for this function:

◆ Serialize()

template<typename Stream >
void CKeyPool::Serialize ( Stream &  s) const
inline

Definition at line 144 of file wallet.h.

◆ Unserialize()

template<typename Stream >
void CKeyPool::Unserialize ( Stream &  s)
inline

Definition at line 154 of file wallet.h.

Member Data Documentation

◆ m_pre_split

bool CKeyPool::m_pre_split

Whether this key was generated for a keypool before the wallet was upgraded to HD-split.

Definition at line 134 of file wallet.h.

◆ nTime

int64_t CKeyPool::nTime

The time at which the key was generated. Set in AddKeypoolPubKeyWithDB.

Definition at line 128 of file wallet.h.

◆ type

uint8_t CKeyPool::type

Whether this keypool entry is in the internal, external or staking keypool.

Definition at line 132 of file wallet.h.

◆ vchPubKey

CPubKey CKeyPool::vchPubKey

The public key.

Definition at line 130 of file wallet.h.


The documentation for this class was generated from the following files: