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

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

#include <wallet.h>

Inheritance diagram for CReserveKey:
[legend]
Collaboration diagram for CReserveKey:
[legend]

Public Member Functions

 CReserveKey (CWallet *pwalletIn)
 
 CReserveKey ()=default
 
 CReserveKey (const CReserveKey &)=delete
 
CReserveKeyoperator= (const CReserveKey &)=delete
 
 ~CReserveKey ()
 
void ReturnKey ()
 
bool GetReservedKey (CPubKey &pubkey, bool internal=false)
 
void KeepKey ()
 
void KeepScript () override
 
- Public Member Functions inherited from CReserveScript
 CReserveScript ()
 
virtual ~CReserveScript ()
 

Protected Attributes

CWalletpwallet
 
int64_t nIndex
 
CPubKey vchPubKey
 
bool fInternal
 

Additional Inherited Members

- Public Attributes inherited from CReserveScript
CScript reserveScript
 

Detailed Description

A key allocated from the key pool.

Definition at line 1177 of file wallet.h.

Constructor & Destructor Documentation

◆ CReserveKey() [1/3]

CReserveKey::CReserveKey ( CWallet pwalletIn)
inlineexplicit

Definition at line 1185 of file wallet.h.

◆ CReserveKey() [2/3]

CReserveKey::CReserveKey ( )
default

◆ CReserveKey() [3/3]

CReserveKey::CReserveKey ( const CReserveKey )
delete

◆ ~CReserveKey()

CReserveKey::~CReserveKey ( )
inline

Definition at line 1196 of file wallet.h.

Member Function Documentation

◆ KeepScript()

void CReserveKey::KeepScript ( )
inlineoverridevirtual

Reimplemented from CReserveScript.

Definition at line 1204 of file wallet.h.

◆ operator=()

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

Member Data Documentation

◆ fInternal

bool CReserveKey::fInternal
protected

Definition at line 1183 of file wallet.h.

◆ nIndex

int64_t CReserveKey::nIndex
protected

Definition at line 1181 of file wallet.h.

◆ pwallet

CWallet* CReserveKey::pwallet
protected

Definition at line 1180 of file wallet.h.

◆ vchPubKey

CPubKey CReserveKey::vchPubKey
protected

Definition at line 1182 of file wallet.h.


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