PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CMutableTransaction Struct Reference

A mutable version of CTransaction. More...

#include <transaction.h>

Collaboration diagram for CMutableTransaction:
[legend]

Public Member Functions

 CMutableTransaction ()
 
 CMutableTransaction (const CTransaction &tx)
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion)
 
uint256 GetHash () const
 Compute the hash of this CMutableTransaction. More...
 
std::string ToString () const
 

Public Attributes

int32_t nVersion
 
std::vector< CTxInvin
 
std::vector< CTxOutvout
 
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
 

Detailed Description

A mutable version of CTransaction.

Definition at line 384 of file transaction.h.

Constructor & Destructor Documentation

◆ CMutableTransaction() [1/2]

CMutableTransaction::CMutableTransaction ( )

Definition at line 90 of file transaction.cpp.

◆ CMutableTransaction() [2/2]

CMutableTransaction::CMutableTransaction ( const CTransaction tx)

Definition at line 91 of file transaction.cpp.

Member Function Documentation

◆ GetHash()

uint256 CMutableTransaction::GetHash ( ) const

Compute the hash of this CMutableTransaction.

This is computed on the fly, as opposed to GetHash() in CTransaction, which uses a cached result.

Definition at line 93 of file transaction.cpp.

Here is the call graph for this function:

◆ SerializationOp()

template<typename Stream , typename Operation >
void CMutableTransaction::SerializationOp ( Stream &  s,
Operation  ser_action,
int  nType,
int  nVersion 
)
inline

Definition at line 408 of file transaction.h.

◆ ToString()

std::string CMutableTransaction::ToString ( ) const

Definition at line 98 of file transaction.cpp.

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CMutableTransaction::ADD_SERIALIZE_METHODS

Definition at line 405 of file transaction.h.

◆ bulletproofs

std::vector<unsigned char> CMutableTransaction::bulletproofs

Definition at line 395 of file transaction.h.

◆ c

uint256 CMutableTransaction::c

Definition at line 398 of file transaction.h.

◆ hasPaymentID

char CMutableTransaction::hasPaymentID

Definition at line 392 of file transaction.h.

◆ nLockTime

uint32_t CMutableTransaction::nLockTime

Definition at line 389 of file transaction.h.

◆ nTxFee

CAmount CMutableTransaction::nTxFee

Definition at line 397 of file transaction.h.

◆ ntxFeeKeyImage

CKeyImage CMutableTransaction::ntxFeeKeyImage

Definition at line 400 of file transaction.h.

◆ nVersion

int32_t CMutableTransaction::nVersion

Definition at line 386 of file transaction.h.

◆ paymentID

uint64_t CMutableTransaction::paymentID

Definition at line 393 of file transaction.h.

◆ S

std::vector<std::vector<uint256> > CMutableTransaction::S

Definition at line 399 of file transaction.h.

◆ txPrivM

CKey CMutableTransaction::txPrivM

Definition at line 391 of file transaction.h.

◆ txType

uint32_t CMutableTransaction::txType

Definition at line 394 of file transaction.h.

◆ vin

std::vector<CTxIn> CMutableTransaction::vin

Definition at line 387 of file transaction.h.

◆ vout

std::vector<CTxOut> CMutableTransaction::vout

Definition at line 388 of file transaction.h.


The documentation for this struct was generated from the following files: