plebble
us::gov::cash::file_tx Struct Referencefinal

#include <file_tx.h>

Inheritance diagram for us::gov::cash::file_tx:
Collaboration diagram for us::gov::cash::file_tx:

Public Types

typedef engine::evidence b
 
- Public Types inherited from us::gov::relay::evidence
typedef crypto::ripemd160 hasher_t
 
typedef hasher_t::value_type hash_t
 

Public Member Functions

string to_b58 () const
 
 file_tx ()
 
 ~file_tx () override
 
hash_t compute_hash () const override
 
string name () const override
 
ec::sigmsg_hasher_t::value_type get_hash () const
 
void to_stream (ostream &) const
 
void write_sigmsg (ec::sigmsg_hasher_t &) const
 
void write_pretty (ostream &os) const override
 
datagramget_datagram (uint16_t seq) const
 
- Public Member Functions inherited from us::gov::relay::evidence
 evidence (int app, uint8_t eid)
 
 evidence (const evidence &)=delete
 
virtual ~evidence ()
 
virtual void hash_data_to_sign (crypto::ec::sigmsg_hasher_t &h) const
 
virtual void hash_data (hasher_t &h) const
 
virtual bool verify (ostream &os) const
 
void update_ts (const uint64_t &nsecs_in_future=0)
 

Static Public Member Functions

static file_txfrom_stream (istream &)
 
static file_txfrom_b58 (const string &)
 
- Static Public Member Functions inherited from us::gov::relay::evidence
static evidencefrom_stream (istream &)
 
static evidencefrom_stream (int appid, uint8_t evid, istream &is)
 
static evidencefrom_b58 (const string &b58)
 
static string formatts (uint64_t ts)
 
static void from_stream (evidence &, istream &is)
 
static pair< int, uint8_t > extract_instance_id (istream &is)
 

Public Attributes

hash_t address
 
string locking_program_input
 
hash_t digest
 
size_t size
 
string path
 
- Public Attributes inherited from us::gov::relay::evidence
uint64_t ts
 
uint64_t expires
 
int app
 
uint8_t eid
 

Member Typedef Documentation

◆ b

Constructor & Destructor Documentation

◆ file_tx()

us::gov::cash::file_tx::file_tx ( )

◆ ~file_tx()

us::gov::cash::file_tx::~file_tx ( )
inlineoverride

Member Function Documentation

◆ compute_hash()

hash_t us::gov::cash::file_tx::compute_hash ( ) const
overridevirtual

◆ from_b58()

static file_tx* us::gov::cash::file_tx::from_b58 ( const string &  )
static

◆ from_stream()

static file_tx* us::gov::cash::file_tx::from_stream ( istream &  )
static

◆ get_datagram()

datagram* us::gov::cash::file_tx::get_datagram ( uint16_t  seq) const

◆ get_hash()

ec::sigmsg_hasher_t::value_type us::gov::cash::file_tx::get_hash ( ) const

◆ name()

string us::gov::cash::file_tx::name ( ) const
inlineoverridevirtual

◆ to_b58()

string us::gov::cash::file_tx::to_b58 ( ) const

Referenced by us::gov::cash::operator<<().

Here is the caller graph for this function:

◆ to_stream()

void us::gov::cash::file_tx::to_stream ( ostream &  ) const
virtual

Reimplemented from us::gov::relay::evidence.

◆ write_pretty()

void us::gov::cash::file_tx::write_pretty ( ostream &  os) const
overridevirtual

Reimplemented from us::gov::relay::evidence.

◆ write_sigmsg()

void us::gov::cash::file_tx::write_sigmsg ( ec::sigmsg_hasher_t ) const

Member Data Documentation

◆ address

hash_t us::gov::cash::file_tx::address

◆ digest

hash_t us::gov::cash::file_tx::digest

◆ locking_program_input

string us::gov::cash::file_tx::locking_program_input

◆ path

string us::gov::cash::file_tx::path

◆ size

size_t us::gov::cash::file_tx::size

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