PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Member Functions | Public Attributes | Friends | List of all members
CExtKey Struct Reference

#include <key.h>

Collaboration diagram for CExtKey:
[legend]

Public Member Functions

void Encode (unsigned char code[74]) const
 
void Decode (const unsigned char code[74])
 
bool Derive (CExtKey &out, unsigned int nChild) const
 
CExtPubKey Neuter () const
 
void SetMaster (const unsigned char *seed, unsigned int nSeedLen)
 

Public Attributes

unsigned char nDepth
 
unsigned char vchFingerprint [4]
 
unsigned int nChild
 
unsigned char vchChainCode [32]
 
CKey key
 

Friends

bool operator== (const CExtKey &a, const CExtKey &b)
 

Detailed Description

Definition at line 161 of file key.h.

Member Function Documentation

◆ Decode()

void CExtKey::Decode ( const unsigned char  code[74])

Definition at line 230 of file key.cpp.

Here is the call graph for this function:

◆ Derive()

bool CExtKey::Derive ( CExtKey out,
unsigned int  nChild 
) const

Definition at line 182 of file key.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Encode()

void CExtKey::Encode ( unsigned char  code[74]) const

Definition at line 216 of file key.cpp.

Here is the call graph for this function:

◆ Neuter()

CExtPubKey CExtKey::Neuter ( ) const

Definition at line 205 of file key.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetMaster()

void CExtKey::SetMaster ( const unsigned char *  seed,
unsigned int  nSeedLen 
)

Definition at line 191 of file key.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator==

bool operator== ( const CExtKey a,
const CExtKey b 
)
friend

Definition at line 168 of file key.h.

Member Data Documentation

◆ key

CKey CExtKey::key

Definition at line 166 of file key.h.

◆ nChild

unsigned int CExtKey::nChild

Definition at line 164 of file key.h.

◆ nDepth

unsigned char CExtKey::nDepth

Definition at line 162 of file key.h.

◆ vchChainCode

unsigned char CExtKey::vchChainCode[32]

Definition at line 165 of file key.h.

◆ vchFingerprint

unsigned char CExtKey::vchFingerprint[4]

Definition at line 163 of file key.h.


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