Bitcoin Core  0.18.99
P2P Digital Currency
Public Member Functions | Protected Attributes | List of all members
CReserveKey Class Reference

A key allocated from the key pool. More...

#include <wallet.h>

Collaboration diagram for CReserveKey:
[legend]

Public Member Functions

 CReserveKey (CWallet *pwalletIn)
 
 CReserveKey (const CReserveKey &)=delete
 
CReserveKeyoperator= (const CReserveKey &)=delete
 
 ~CReserveKey ()
 
void ReturnKey ()
 
bool GetReservedKey (CPubKey &pubkey, bool internal=false)
 
void KeepKey ()
 

Protected Attributes

CWalletpwallet
 
int64_t nIndex {-1}
 
CPubKey vchPubKey
 
bool fInternal {false}
 

Detailed Description

A key allocated from the key pool.

Definition at line 1226 of file wallet.h.

Constructor & Destructor Documentation

◆ CReserveKey() [1/2]

CReserveKey::CReserveKey ( CWallet pwalletIn)
inlineexplicit

Definition at line 1235 of file wallet.h.

◆ CReserveKey() [2/2]

CReserveKey::CReserveKey ( const CReserveKey )
delete

◆ ~CReserveKey()

CReserveKey::~CReserveKey ( )
inline

Definition at line 1243 of file wallet.h.

Member Function Documentation

◆ operator=()

CReserveKey& CReserveKey::operator= ( const CReserveKey )
delete

Member Data Documentation

◆ fInternal

bool CReserveKey::fInternal {false}
protected

Definition at line 1232 of file wallet.h.

◆ nIndex

int64_t CReserveKey::nIndex {-1}
protected

Definition at line 1230 of file wallet.h.

◆ pwallet

CWallet* CReserveKey::pwallet
protected

Definition at line 1229 of file wallet.h.

◆ vchPubKey

CPubKey CReserveKey::vchPubKey
protected

Definition at line 1231 of file wallet.h.


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