Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | Friends | List of all members
CMutableTransaction Struct Reference

A mutable version of CTransaction. More...

#include <transaction.h>

Public Member Functions

 CMutableTransaction ()
 
 CMutableTransaction (const CTransaction &tx)
 
template<typename Stream >
void Serialize (Stream &s) const
 
template<typename Stream >
void Unserialize (Stream &s)
 
template<typename Stream >
 CMutableTransaction (deserialize_type, Stream &s)
 
uint256 GetHash () const
 Compute the hash of this CMutableTransaction. More...
 
bool HasWitness () const
 

Public Attributes

std::vector< CTxInvin
 
std::vector< CTxOutvout
 
int32_t nVersion
 
uint32_t nLockTime
 

Friends

bool operator== (const CMutableTransaction &a, const CMutableTransaction &b)
 

Detailed Description

A mutable version of CTransaction.

Definition at line 390 of file transaction.h.

Constructor & Destructor Documentation

CMutableTransaction::CMutableTransaction ( )

Definition at line 58 of file transaction.cpp.

CMutableTransaction::CMutableTransaction ( const CTransaction tx)

Definition at line 59 of file transaction.cpp.

template<typename Stream >
CMutableTransaction::CMutableTransaction ( deserialize_type  ,
Stream &  s 
)
inline

Definition at line 412 of file transaction.h.

Here is the call graph for this function:

Member Function Documentation

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 61 of file transaction.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool CMutableTransaction::HasWitness ( ) const
inline

Definition at line 426 of file transaction.h.

Here is the caller graph for this function:

template<typename Stream >
void CMutableTransaction::Serialize ( Stream &  s) const
inline

Definition at line 401 of file transaction.h.

Here is the call graph for this function:

template<typename Stream >
void CMutableTransaction::Unserialize ( Stream &  s)
inline

Definition at line 407 of file transaction.h.

Here is the call graph for this function:

Friends And Related Function Documentation

bool operator== ( const CMutableTransaction a,
const CMutableTransaction b 
)
friend

Definition at line 421 of file transaction.h.

Member Data Documentation

uint32_t CMutableTransaction::nLockTime

Definition at line 395 of file transaction.h.

int32_t CMutableTransaction::nVersion

Definition at line 394 of file transaction.h.

std::vector<CTxIn> CMutableTransaction::vin

Definition at line 392 of file transaction.h.

std::vector<CTxOut> CMutableTransaction::vout

Definition at line 393 of file transaction.h.


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