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 1132 of file wallet.h.

Constructor & Destructor Documentation

CReserveKey::CReserveKey ( CWallet pwalletIn)
inlineexplicit

Definition at line 1140 of file wallet.h.

CReserveKey::CReserveKey ( )
default
CReserveKey::CReserveKey ( const CReserveKey )
delete
CReserveKey::~CReserveKey ( )
inline

Definition at line 1151 of file wallet.h.

Member Function Documentation

void CReserveKey::KeepScript ( )
inlineoverridevirtual

Reimplemented from CReserveScript.

Definition at line 1159 of file wallet.h.

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

Member Data Documentation

bool CReserveKey::fInternal
protected

Definition at line 1138 of file wallet.h.

int64_t CReserveKey::nIndex
protected

Definition at line 1136 of file wallet.h.

CWallet* CReserveKey::pwallet
protected

Definition at line 1135 of file wallet.h.

CPubKey CReserveKey::vchPubKey
protected

Definition at line 1137 of file wallet.h.


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