Fabcoin Core  0.16.2
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>

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

Constructor & Destructor Documentation

CReserveKey::CReserveKey ( CWallet pwalletIn)
inline

Definition at line 1217 of file wallet.h.

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

Definition at line 1228 of file wallet.h.

Member Function Documentation

void CReserveKey::KeepScript ( )
inlineoverridevirtual

Reimplemented from CReserveScript.

Definition at line 1236 of file wallet.h.

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

Member Data Documentation

bool CReserveKey::fInternal
protected

Definition at line 1215 of file wallet.h.

int64_t CReserveKey::nIndex
protected

Definition at line 1213 of file wallet.h.

CWallet* CReserveKey::pwallet
protected

Definition at line 1212 of file wallet.h.

CPubKey CReserveKey::vchPubKey
protected

Definition at line 1214 of file wallet.h.


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