![]() |
Anoncoin
0.9.4
P2P Digital Currency
|
The basic transaction that is broadcasted on the network and contained in blocks. More...
#include <core.h>
Public Member Functions | |
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 | |
int | nVersion |
std::vector< CTxIn > | vin |
std::vector< CTxOut > | vout |
unsigned int | nLockTime |
Static Public Attributes | |
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 |
Friends | |
bool | operator== (const CTransaction &a, const CTransaction &b) |
bool | operator!= (const CTransaction &a, const CTransaction &b) |
The basic transaction that is broadcasted on the network and contained in blocks.
A transaction can contain multiple inputs and outputs.
double CTransaction::ComputePriority | ( | double | dPriorityInputs, |
unsigned int | nTxSize = 0 |
||
) | const |
uint256 CTransaction::GetHash | ( | ) | const |
int64_t CTransaction::GetValueOut | ( | ) | const |
|
inline |
bool CTransaction::IsNewerThan | ( | const CTransaction & | old | ) | const |
void CTransaction::print | ( | ) | const |
std::string CTransaction::ToString | ( | ) | const |
|
friend |
|
friend |
|
static |
|
static |