Dash Core  0.12.2.1
P2P Digital Currency
CWalletKey Class Reference

#include <wallet.h>

Public Member Functions

 CWalletKey (int64_t nExpires=0)
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion)
 

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

Constructor & Destructor Documentation

◆ CWalletKey()

CWalletKey::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

Definition at line 4380 of file wallet.cpp.

Member Function Documentation

◆ SerializationOp()

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

Definition at line 521 of file wallet.h.

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CWalletKey::ADD_SERIALIZE_METHODS

Definition at line 518 of file wallet.h.

◆ nTimeCreated

int64_t CWalletKey::nTimeCreated

Definition at line 510 of file wallet.h.

Referenced by SerializationOp().

◆ nTimeExpires

int64_t CWalletKey::nTimeExpires

Definition at line 511 of file wallet.h.

Referenced by SerializationOp().

◆ strComment

std::string CWalletKey::strComment

Definition at line 512 of file wallet.h.

Referenced by SerializationOp().

◆ vchPrivKey

CPrivKey CWalletKey::vchPrivKey

Definition at line 509 of file wallet.h.

Referenced by ReadKeyValue(), and SerializationOp().


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