Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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

#include <wallet.h>

+ Inheritance diagram for CReserveKey:
+ Collaboration diagram for CReserveKey:

Public Member Functions

 CReserveKey (CWallet *pwalletIn)
 
 CReserveKey ()=default
 
 CReserveKey (const CReserveKey &)=delete
 
CReserveKeyoperator= (const CReserveKey &)=delete
 
 ~CReserveKey ()
 
void ReturnKey ()
 
bool GetReservedKey (CPubKey &pubkey, bool fInternalIn)
 
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 1273 of file wallet.h.

Constructor & Destructor Documentation

◆ CReserveKey() [1/3]

CReserveKey::CReserveKey ( CWallet pwalletIn)
inlineexplicit

Definition at line 1281 of file wallet.h.

References fInternal, nIndex, and pwallet.

◆ CReserveKey() [2/3]

CReserveKey::CReserveKey ( )
default

◆ CReserveKey() [3/3]

CReserveKey::CReserveKey ( const CReserveKey )
delete

◆ ~CReserveKey()

CReserveKey::~CReserveKey ( )
inline

Definition at line 1292 of file wallet.h.

References ReturnKey().

Member Function Documentation

◆ KeepScript()

void CReserveKey::KeepScript ( )
inlineoverridevirtual

Reimplemented from CReserveScript.

Definition at line 1300 of file wallet.h.

References KeepKey().

◆ operator=()

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

Member Data Documentation

◆ fInternal

bool CReserveKey::fInternal
protected

Definition at line 1279 of file wallet.h.

Referenced by CReserveKey(), GetReservedKey(), and ReturnKey().

◆ nIndex

int64_t CReserveKey::nIndex
protected

Definition at line 1277 of file wallet.h.

Referenced by CReserveKey(), GetReservedKey(), KeepKey(), and ReturnKey().

◆ pwallet

CWallet* CReserveKey::pwallet
protected

Definition at line 1276 of file wallet.h.

Referenced by CReserveKey(), GetReservedKey(), KeepKey(), and ReturnKey().

◆ vchPubKey

CPubKey CReserveKey::vchPubKey
protected

Definition at line 1278 of file wallet.h.

Referenced by GetReservedKey(), KeepKey(), and ReturnKey().


The documentation for this class was generated from the following files:
Released under the MIT license