Anoncoin  0.9.4
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CAuxPow Class Reference

#include <auxpow.h>

Inheritance diagram for CAuxPow:
[legend]
Collaboration diagram for CAuxPow:
[legend]

Public Member Functions

 CAuxPow (const CTransaction &txIn)
 
 CAuxPow ()
 
 IMPLEMENT_SERIALIZE (nSerSize+=SerReadWrite(s,*(CMerkleTx *) this, nType, nVersion, ser_action);nVersion=this->nVersion;READWRITE(vChainMerkleBranch);READWRITE(nChainIndex);nSerSize+=SerReadWrite(s, parentBlock, nType|SER_BLOCKHEADERONLY, nVersion, ser_action);) bool Check(uint256 hashAuxBlock
 
uint256 GetParentBlockHash ()
 
- Public Member Functions inherited from CMerkleTx
 CMerkleTx ()
 
 CMerkleTx (const CTransaction &txIn)
 
void Init ()
 
 IMPLEMENT_SERIALIZE (nSerSize+=SerReadWrite(s,*(CTransaction *) this, nType, nVersion, ser_action);nVersion=this->nVersion;READWRITE(hashBlock);READWRITE(vMerkleBranch);READWRITE(nIndex);) int SetMerkleBranch(const CBlock *pblock
 
int GetDepthInMainChain (CBlockIndex *&pindexRet) const
 
int GetDepthInMainChain () const
 
bool IsInMainChain () const
 
int GetBlocksToMaturity () const
 
bool AcceptToMemoryPool (bool fLimitFree=true)
 
- Public Member Functions inherited from CTransaction
 CTransaction ()
 
 IMPLEMENT_SERIALIZE (READWRITE(this->nVersion);nVersion=this->nVersion;READWRITE(vin);READWRITE(vout);READWRITE(nLockTime);) void SetNull()
 
bool IsNull () const
 
uint256 GetHash () const
 
bool IsNewerThan (const CTransaction &old) const
 
int64_t GetValueOut () const
 
double ComputePriority (double dPriorityInputs, unsigned int nTxSize=0) const
 
bool IsCoinBase () const
 
std::string ToString () const
 
void print () const
 

Public Attributes

std::vector< uint256vChainMerkleBranch
 
int nChainIndex
 
CBlock parentBlock
 
int nChainID
 
- Public Attributes inherited from CMerkleTx
uint256 hashBlock
 
std::vector< uint256vMerkleBranch
 
int nIndex
 
bool fMerkleVerified
 
- Public Attributes inherited from CTransaction
int nVersion
 
std::vector< CTxInvin
 
std::vector< CTxOutvout
 
unsigned int nLockTime
 

Additional Inherited Members

- Static Public Attributes inherited from CTransaction
static int64_t nMinTxFee = 100000
 Fees smaller than this (in satoshi) are considered zero fee (for transaction creation) More...
 
static int64_t nMinRelayTxFee = 100000
 Fees smaller than this (in satoshi) are considered zero fee (for relaying and mining) More...
 
static const int CURRENT_VERSION =1
 

Detailed Description

Definition at line 9 of file auxpow.h.

Constructor & Destructor Documentation

CAuxPow::CAuxPow ( const CTransaction txIn)
inline

Definition at line 12 of file auxpow.h.

CAuxPow::CAuxPow ( )
inline

Definition at line 16 of file auxpow.h.

Member Function Documentation

uint256 CAuxPow::GetParentBlockHash ( )
inline

Definition at line 41 of file auxpow.h.

Here is the call graph for this function:

CAuxPow::IMPLEMENT_SERIALIZE ( nSerSize+  = SerReadWrite(s, *(CMerkleTx*)this, nType, nVersion, ser_action); nVersion = this->nVersionREADWRITE(vChainMerkleBranch); READWRITE(nChainIndex);   nSerSize += SerReadWrite(s, parentBlock, nType | SER_BLOCKHEADERONLY, nVersion, ser_action);)

Member Data Documentation

int CAuxPow::nChainID

Definition at line 39 of file auxpow.h.

int CAuxPow::nChainIndex

Definition at line 24 of file auxpow.h.

CBlock CAuxPow::parentBlock

Definition at line 25 of file auxpow.h.

std::vector<uint256> CAuxPow::vChainMerkleBranch

Definition at line 22 of file auxpow.h.


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