![]() |
Anoncoin
0.9.4
P2P Digital Currency
|
A transaction with a merkle branch linking it to the block chain. More...
#include <main.h>
Public Member Functions | |
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) |
![]() | |
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 | |
uint256 | hashBlock |
std::vector< uint256 > | vMerkleBranch |
int | nIndex |
bool | fMerkleVerified |
![]() | |
int | nVersion |
std::vector< CTxIn > | vin |
std::vector< CTxOut > | vout |
unsigned int | nLockTime |
Private Member Functions | |
int | GetDepthInMainChainINTERNAL (CBlockIndex *&pindexRet) const |
Additional Inherited Members | |
![]() | |
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 |
A transaction with a merkle branch linking it to the block chain.
|
inline |
|
inline |
bool CMerkleTx::AcceptToMemoryPool | ( | bool | fLimitFree = true | ) |
int CMerkleTx::GetBlocksToMaturity | ( | ) | const |
int CMerkleTx::GetDepthInMainChain | ( | CBlockIndex *& | pindexRet | ) | const |
|
inline |
|
private |
CMerkleTx::IMPLEMENT_SERIALIZE | ( | nSerSize+ | = SerReadWrite(s,*(CTransaction *) this, nType, nVersion, ser_action);nVersion=this->nVersion;READWRITE(hashBlock);READWRITE(vMerkleBranch);READWRITE(nIndex); | ) | const |
|
inline |
|
inline |