![]() |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
The basic transaction that is broadcasted on the network and contained in blocks. More...
#include <transaction.h>
Public Member Functions | |
| CTransaction () | |
| Construct a CTransaction that qualifies as IsNull() More... | |
| CTransaction (const CMutableTransaction &tx) | |
| Convert a CMutableTransaction into a CTransaction. More... | |
| 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 | UsesUTXO (const COutPoint out) |
| std::list< COutPoint > | GetOutPoints () const |
| bool | IsCoinBase () const |
| bool | IsCoinAudit () const |
| bool | IsCoinStake () const |
| std::string | ToString () const |
Public Attributes | |
| const int32_t | nVersion |
| std::vector< CTxIn > | vin |
| std::vector< CTxOut > | vout |
| const uint32_t | nLockTime |
| CKey | txPrivM |
| char | hasPaymentID |
| uint64_t | paymentID |
| uint32_t | txType |
| std::vector< unsigned char > | bulletproofs |
| CAmount | nTxFee |
| uint256 | c |
| std::vector< std::vector< uint256 > > | S |
| CKeyImage | ntxFeeKeyImage |
| ADD_SERIALIZE_METHODS | |
Static Public Attributes | |
| static const int32_t | CURRENT_VERSION =1 |
Private Member Functions | |
| void | UpdateHash () const |
Private Attributes | |
| const uint256 | hash |
| Memory only. More... | |
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.
Definition at line 269 of file transaction.h.
| CTransaction::CTransaction | ( | ) |
Construct a CTransaction that qualifies as IsNull()
Definition at line 118 of file transaction.cpp.
| CTransaction::CTransaction | ( | const CMutableTransaction & | tx | ) |
Convert a CMutableTransaction into a CTransaction.
Definition at line 120 of file transaction.cpp.
| unsigned int CTransaction::CalculateModifiedSize | ( | unsigned int | nTxSize = 0 | ) | const |
Definition at line 199 of file transaction.cpp.
| double CTransaction::ComputePriority | ( | double | dPriorityInputs, |
| unsigned int | nTxSize = 0 |
||
| ) | const |
Definition at line 191 of file transaction.cpp.
|
inline |
| std::list< COutPoint > CTransaction::GetOutPoints | ( | ) | const |
| CAmount CTransaction::GetValueOut | ( | ) | const |
Definition at line 155 of file transaction.cpp.
|
inline |
|
inline |
| bool CTransaction::IsCoinStake | ( | ) | const |
|
inline |
Definition at line 338 of file transaction.h.
| CTransaction & CTransaction::operator= | ( | const CTransaction & | tx | ) |
Definition at line 124 of file transaction.cpp.
|
inline |
| std::string CTransaction::ToString | ( | ) | const |
Definition at line 217 of file transaction.cpp.
|
private |
Definition at line 113 of file transaction.cpp.
| bool CTransaction::UsesUTXO | ( | const COutPoint | out | ) |
Definition at line 172 of file transaction.cpp.
|
friend |
Definition at line 376 of file transaction.h.
|
friend |
Definition at line 371 of file transaction.h.
| CTransaction::ADD_SERIALIZE_METHODS |
Definition at line 314 of file transaction.h.
| std::vector<unsigned char> CTransaction::bulletproofs |
Definition at line 296 of file transaction.h.
| uint256 CTransaction::c |
Definition at line 300 of file transaction.h.
|
static |
Definition at line 277 of file transaction.h.
|
private |
Memory only.
Definition at line 273 of file transaction.h.
| char CTransaction::hasPaymentID |
Definition at line 291 of file transaction.h.
| const uint32_t CTransaction::nLockTime |
Definition at line 287 of file transaction.h.
| CAmount CTransaction::nTxFee |
Definition at line 298 of file transaction.h.
| CKeyImage CTransaction::ntxFeeKeyImage |
Definition at line 304 of file transaction.h.
| const int32_t CTransaction::nVersion |
Definition at line 284 of file transaction.h.
| uint64_t CTransaction::paymentID |
Definition at line 292 of file transaction.h.
| std::vector<std::vector<uint256> > CTransaction::S |
Definition at line 301 of file transaction.h.
| CKey CTransaction::txPrivM |
Definition at line 290 of file transaction.h.
| uint32_t CTransaction::txType |
Definition at line 294 of file transaction.h.
| std::vector<CTxIn> CTransaction::vin |
Definition at line 285 of file transaction.h.
| std::vector<CTxOut> CTransaction::vout |
Definition at line 286 of file transaction.h.
1.8.17