plebble
us::gov::cash::tx::section_t Struct Referencefinal

#include <tx.h>

Collaboration diagram for us::gov::cash::tx::section_t:

Public Member Functions

 section_t ()
 
 section_t (const hash_t &token)
 
void add_input (const hash_t &addr, const cash_t &amount)
 
void add_input (const hash_t &addr, const cash_t &amount, const string &locking_program_input)
 
void add_output (const hash_t &addr, const cash_t &amount)
 
void write_sigmsg (ec::sigmsg_hasher_t &, const sigcode_section_t &) const
 
void write_pretty (const string &prefix, ostream &os) const
 
void to_stream (ostream &) const
 
ko from_stream (istream &)
 
cash_t required_input () const
 
cash_t required_output () const
 
bool check_amounts () const
 

Public Attributes

hash_t token
 
inputs_t inputs
 
outputs_t outputs
 

Constructor & Destructor Documentation

◆ section_t() [1/2]

us::gov::cash::tx::section_t::section_t ( )
inline

◆ section_t() [2/2]

us::gov::cash::tx::section_t::section_t ( const hash_t token)
inline

Member Function Documentation

◆ add_input() [1/2]

void us::gov::cash::tx::section_t::add_input ( const hash_t addr,
const cash_t amount 
)

◆ add_input() [2/2]

void us::gov::cash::tx::section_t::add_input ( const hash_t addr,
const cash_t amount,
const string &  locking_program_input 
)

◆ add_output()

void us::gov::cash::tx::section_t::add_output ( const hash_t addr,
const cash_t amount 
)

◆ check_amounts()

bool us::gov::cash::tx::section_t::check_amounts ( ) const

◆ from_stream()

ko us::gov::cash::tx::section_t::from_stream ( istream &  )

◆ required_input()

cash_t us::gov::cash::tx::section_t::required_input ( ) const

◆ required_output()

cash_t us::gov::cash::tx::section_t::required_output ( ) const

◆ to_stream()

void us::gov::cash::tx::section_t::to_stream ( ostream &  ) const

◆ write_pretty()

void us::gov::cash::tx::section_t::write_pretty ( const string &  prefix,
ostream &  os 
) const

◆ write_sigmsg()

void us::gov::cash::tx::section_t::write_sigmsg ( ec::sigmsg_hasher_t ,
const sigcode_section_t  
) const

Member Data Documentation

◆ inputs

inputs_t us::gov::cash::tx::section_t::inputs

◆ outputs

outputs_t us::gov::cash::tx::section_t::outputs

◆ token

hash_t us::gov::cash::tx::section_t::token

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