hdac SDK
SDK for hdac blockchain development
|
#include <transaction.h>
Public 멤버 함수 | |
CTransaction () | |
CTransaction (const CMutableTransaction &tx) | |
CTransaction & | operator= (const CTransaction &tx) |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
bool | IsNull () const |
const uint256 & | GetHash () const |
CAmount | GetValueOut () const |
double | ComputePriority (double dPriorityInputs, unsigned int nTxSize=0) const |
unsigned int | CalculateModifiedSize (unsigned int nTxSize=0) const |
bool | IsCoinBase () const |
std::string | ToString () const |
Public 속성 | |
const int32_t | nVersion |
const std::vector< CTxIn > | vin |
const std::vector< CTxOut > | vout |
const uint32_t | nLockTime |
ADD_SERIALIZE_METHODS | |
정적 Public 속성 | |
static const int32_t | 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.
CTransaction::CTransaction | ( | ) |
Construct a CTransaction that qualifies as IsNull()
CTransaction::CTransaction | ( | const CMutableTransaction & | tx | ) |
Convert a CMutableTransaction into a CTransaction.