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 204 of file wallet.h.
Pass this transaction to the mempool.
Fails if absolute fee exceeds absurd fee.
Definition at line 4538 of file wallet.cpp.
int CMerkleTx::GetBlocksToMaturity |
( |
| ) |
const |
int CMerkleTx::GetDepthInMainChain |
( |
const CBlockIndex *& |
pindexRet | ) |
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 4504 of file wallet.cpp.
int CMerkleTx::GetDepthInMainChain |
( |
| ) |
const |
|
inline |
const uint256& CMerkleTx::GetHash |
( |
| ) |
const |
|
inline |
int CMerkleTx::GetHeight |
( |
| ) |
const |
bool CMerkleTx::hashUnset |
( |
| ) |
const |
|
inline |
bool CMerkleTx::isAbandoned |
( |
| ) |
const |
|
inline |
bool CMerkleTx::IsCoinBase |
( |
| ) |
const |
|
inline |
bool CMerkleTx::IsCoinStake |
( |
| ) |
const |
|
inline |
bool CMerkleTx::IsInMainChain |
( |
| ) |
const |
|
inline |
Helper conversion operator to allow passing CMerkleTx where CTransaction is expected.
TODO: adapt callers and remove this operator.
Definition at line 235 of file wallet.h.
template<typename Stream , typename Operation >
void CMerkleTx::SerializationOp |
( |
Stream & |
s, |
|
|
Operation |
ser_action |
|
) |
| |
|
inline |
void CMerkleTx::setAbandoned |
( |
| ) |
|
|
inline |
void CMerkleTx::SetMerkleBranch |
( |
const CBlockIndex * |
pIndex, |
|
|
int |
posInBlock |
|
) |
| |
const uint256 CMerkleTx::ABANDON_HASH |
|
staticprivate |
Constant used in hashBlock to indicate tx has been abandoned.
Definition at line 208 of file wallet.h.
CMerkleTx::ADD_SERIALIZE_METHODS |
The documentation for this class was generated from the following files: