Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

Private key that includes an expiration date in case it never gets used. More...

#include <wallet.h>

Public Member Functions

 CWalletKey (int64_t nExpires=0)
 todo: add something to note what created it (user, getnewaddress, change) maybe should have a map<string, string> property map More...
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 

Public Attributes

CPrivKey vchPrivKey
 
int64_t nTimeCreated
 
int64_t nTimeExpires
 
std::string strComment
 
 ADD_SERIALIZE_METHODS
 

Detailed Description

Private key that includes an expiration date in case it never gets used.

Definition at line 601 of file wallet.h.

Constructor & Destructor Documentation

◆ CWalletKey()

CWalletKey::CWalletKey ( int64_t  nExpires = 0)
explicit

todo: add something to note what created it (user, getnewaddress, change) maybe should have a map<string, string> property map

Definition at line 5486 of file wallet.cpp.

References GetTime(), nTimeCreated, and nTimeExpires.

Member Function Documentation

◆ SerializationOp()

template<typename Stream , typename Operation >
void CWalletKey::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

Definition at line 616 of file wallet.h.

References LIMITED_STRING, nTimeCreated, nTimeExpires, READWRITE, SER_GETHASH, strComment, and vchPrivKey.

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CWalletKey::ADD_SERIALIZE_METHODS

Definition at line 613 of file wallet.h.

◆ nTimeCreated

int64_t CWalletKey::nTimeCreated

Definition at line 605 of file wallet.h.

Referenced by CWalletKey(), and SerializationOp().

◆ nTimeExpires

int64_t CWalletKey::nTimeExpires

Definition at line 606 of file wallet.h.

Referenced by CWalletKey(), and SerializationOp().

◆ strComment

std::string CWalletKey::strComment

Definition at line 607 of file wallet.h.

Referenced by SerializationOp().

◆ vchPrivKey

CPrivKey CWalletKey::vchPrivKey

Definition at line 604 of file wallet.h.

Referenced by ReadKeyValue(), and SerializationOp().


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