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

An output of a transaction. More...

#include <transaction.h>

Collaboration diagram for CTxOut:
[legend]

Public Member Functions

 CTxOut ()
 
 CTxOut (const CAmount &nValueIn, CScript scriptPubKeyIn)
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 
void SetNull ()
 
bool IsNull () const
 
void SetEmpty ()
 
bool IsEmpty () const
 
std::string ToString () const
 

Public Attributes

CAmount nValue
 
CScript scriptPubKey
 
 ADD_SERIALIZE_METHODS
 

Friends

bool operator== (const CTxOut &a, const CTxOut &b)
 
bool operator!= (const CTxOut &a, const CTxOut &b)
 

Detailed Description

An output of a transaction.

It contains the public key that the next input must be able to sign with to claim it.

Definition at line 131 of file transaction.h.

Constructor & Destructor Documentation

CTxOut::CTxOut ( )
inline

Definition at line 137 of file transaction.h.

Here is the call graph for this function:

CTxOut::CTxOut ( const CAmount nValueIn,
CScript  scriptPubKeyIn 
)

Definition at line 47 of file transaction.cpp.

Member Function Documentation

bool CTxOut::IsEmpty ( ) const
inline

Definition at line 169 of file transaction.h.

Here is the call graph for this function:

bool CTxOut::IsNull ( ) const
inline

Definition at line 158 of file transaction.h.

Here is the caller graph for this function:

template<typename Stream , typename Operation >
void CTxOut::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

Definition at line 147 of file transaction.h.

void CTxOut::SetEmpty ( )
inline

Definition at line 163 of file transaction.h.

Here is the call graph for this function:

void CTxOut::SetNull ( )
inline

Definition at line 152 of file transaction.h.

Here is the call graph for this function:

Here is the caller graph for this function:

std::string CTxOut::ToString ( ) const

Definition at line 53 of file transaction.cpp.

Here is the call graph for this function:

Friends And Related Function Documentation

bool operator!= ( const CTxOut a,
const CTxOut b 
)
friend

Definition at line 180 of file transaction.h.

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

Definition at line 174 of file transaction.h.

Member Data Documentation

CTxOut::ADD_SERIALIZE_METHODS

Definition at line 144 of file transaction.h.

CAmount CTxOut::nValue

Definition at line 134 of file transaction.h.

CScript CTxOut::scriptPubKey

Definition at line 135 of file transaction.h.


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