Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

#include <privatesend-util.h>

+ Collaboration diagram for CKeyHolder:

Public Member Functions

 CKeyHolder (CWallet *pwalletIn)
 
 CKeyHolder (CKeyHolder &&)=delete
 
CKeyHolderoperator= (CKeyHolder &&)=delete
 
void KeepKey ()
 
void ReturnKey ()
 
CScript GetScriptForDestination () const
 

Private Attributes

CReserveKey reserveKey
 
CPubKey pubKey
 

Detailed Description

Definition at line 12 of file privatesend-util.h.

Constructor & Destructor Documentation

◆ CKeyHolder() [1/2]

CKeyHolder::CKeyHolder ( CWallet pwalletIn)

Definition at line 19 of file privatesend-util.cpp.

References CReserveKey::GetReservedKey(), pubKey, and reserveKey.

◆ CKeyHolder() [2/2]

CKeyHolder::CKeyHolder ( CKeyHolder &&  )
delete

Member Function Documentation

◆ GetScriptForDestination()

CScript CKeyHolder::GetScriptForDestination ( ) const

Definition at line 35 of file privatesend-util.cpp.

References CPubKey::GetID(), GetScriptForDestination(), and pubKey.

◆ KeepKey()

void CKeyHolder::KeepKey ( )

Definition at line 25 of file privatesend-util.cpp.

References CReserveKey::KeepKey(), and reserveKey.

◆ operator=()

CKeyHolder& CKeyHolder::operator= ( CKeyHolder &&  )
delete

◆ ReturnKey()

void CKeyHolder::ReturnKey ( )

Definition at line 30 of file privatesend-util.cpp.

References reserveKey, and CReserveKey::ReturnKey().

Member Data Documentation

◆ pubKey

CPubKey CKeyHolder::pubKey
private

Definition at line 16 of file privatesend-util.h.

Referenced by CKeyHolder(), and GetScriptForDestination().

◆ reserveKey

CReserveKey CKeyHolder::reserveKey
private

Definition at line 15 of file privatesend-util.h.

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


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