A transaction with a merkle branch linking it to the block chain.
More...
#include <wallet.h>
A transaction with a merkle branch linking it to the block chain.
Definition at line 211 of file wallet.h.
◆ CMerkleTx() [1/2]
◆ CMerkleTx() [2/2]
◆ GetBlocksToMaturity()
int CMerkleTx::GetBlocksToMaturity |
( |
| ) |
const |
- Returns
- number of blocks to maturity for this transaction: 0 : is not a coinbase transaction, or is a mature coinbase transaction >0 : is a coinbase transaction which matures in this many blocks
Definition at line 4246 of file wallet.cpp.
◆ GetDepthInMainChain()
int CMerkleTx::GetDepthInMainChain |
( |
| ) |
const |
Return depth of transaction in blockchain: <0 : conflicts with a transaction this deep in the blockchain 0 : in memory pool, waiting to be included in a block >=1 : this many blocks deep in the main chain.
Definition at line 4231 of file wallet.cpp.
◆ GetHash()
const uint256& CMerkleTx::GetHash |
( |
| ) |
const |
|
inline |
◆ hashUnset()
bool CMerkleTx::hashUnset |
( |
| ) |
const |
|
inline |
◆ Init()
◆ isAbandoned()
bool CMerkleTx::isAbandoned |
( |
| ) |
const |
|
inline |
◆ IsCoinBase()
bool CMerkleTx::IsCoinBase |
( |
| ) |
const |
|
inline |
◆ IsImmatureCoinBase()
bool CMerkleTx::IsImmatureCoinBase |
( |
| ) |
const |
◆ IsInMainChain()
bool CMerkleTx::IsInMainChain |
( |
| ) |
const |
|
inline |
◆ SerializationOp()
template<typename Stream , typename Operation >
void CMerkleTx::SerializationOp |
( |
Stream & |
s, |
|
|
Operation |
ser_action |
|
) |
| |
|
inline |
◆ setAbandoned()
void CMerkleTx::setAbandoned |
( |
| ) |
|
|
inline |
◆ SetMerkleBranch()
void CMerkleTx::SetMerkleBranch |
( |
const CBlockIndex * |
pIndex, |
|
|
int |
posInBlock |
|
) |
| |
◆ SetTx()
◆ ABANDON_HASH
const uint256 CMerkleTx::ABANDON_HASH |
|
staticprivate |
Constant used in hashBlock to indicate tx has been abandoned.
Definition at line 215 of file wallet.h.
◆ ADD_SERIALIZE_METHODS
CMerkleTx::ADD_SERIALIZE_METHODS |
◆ hashBlock
◆ nIndex
◆ tx
The documentation for this class was generated from the following files: