Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CWalletKey Class Reference

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

Constructor & Destructor Documentation

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 3978 of file wallet.cpp.

Here is the call graph for this function:

Member Function Documentation

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

Definition at line 556 of file wallet.h.

Member Data Documentation

CWalletKey::ADD_SERIALIZE_METHODS

Definition at line 553 of file wallet.h.

int64_t CWalletKey::nTimeCreated

Definition at line 545 of file wallet.h.

int64_t CWalletKey::nTimeExpires

Definition at line 546 of file wallet.h.

std::string CWalletKey::strComment

Definition at line 547 of file wallet.h.

CPrivKey CWalletKey::vchPrivKey

Definition at line 544 of file wallet.h.


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