plebble
us::gov::engine::local_deltas Struct Referencefinal

#include <diff.h>

Inheritance diagram for us::gov::engine::local_deltas:
Collaboration diagram for us::gov::engine::local_deltas:

Public Member Functions

 local_deltas ()
 
 local_deltas (const local_deltas &other)=delete
 
virtual ~local_deltas ()
 
void hash_data_to_sign (crypto::ec::sigmsg_hasher_t &) const override
 
void hash_data (ripemd160 &) const override
 
void dump (ostream &) const
 
void to_stream (ostream &) const override
 
void save (ostream &) const
 
- Public Member Functions inherited from us::gov::engine::signed_data
virtual ~signed_data ()
 
virtual void hash_data_to_sign (sigmsg_hasher_t &) const =0
 
virtual bool verify (ostream &) const
 
virtual void write_pretty (ostream &os) const
 
virtual bool from_stream2 (istream &)
 
void sign (const crypto::ec::keys &)
 
ripemd160::value_type hash () const
 

Static Public Member Functions

static local_deltasfrom_stream (istream &)
 
static local_deltasfrom_stream_prev (istream &)
 
static local_deltasload (istream &is)
 
- Static Public Member Functions inherited from us::gov::engine::signed_data
static void from_stream (signed_data &, istream &)
 
static void from_stream_prev (signed_data &, istream &)
 
static void skip (istream &)
 

Public Attributes

uint64_t id
 
- Public Attributes inherited from us::gov::engine::signed_data
pubkey_t pubkey
 
string signature
 

Additional Inherited Members

- Public Types inherited from us::gov::engine::signed_data
typedef crypto::ec::keys keys
 
typedef keys::pub_t pubkey_t
 
typedef us::gov::crypto::ripemd160 ripemd160
 
typedef crypto::ec::sigmsg_hasher_t sigmsg_hasher_t
 

Constructor & Destructor Documentation

◆ local_deltas() [1/2]

us::gov::engine::local_deltas::local_deltas ( )
inline

◆ local_deltas() [2/2]

us::gov::engine::local_deltas::local_deltas ( const local_deltas other)
delete

◆ ~local_deltas()

local_deltas::~local_deltas ( )
virtual

Member Function Documentation

◆ dump()

void local_deltas::dump ( ostream &  os) const

References us::gov::engine::streams_version, and us::gov::engine::signed_data::to_stream().

Here is the call graph for this function:

◆ from_stream()

local_deltas * local_deltas::from_stream ( istream &  is)
static

◆ from_stream_prev()

local_deltas * local_deltas::from_stream_prev ( istream &  is)
static

◆ hash_data()

void local_deltas::hash_data ( ripemd160 h) const
overridevirtual

Implements us::gov::engine::signed_data.

References us::gov::crypto::ripemd160::write().

Here is the call graph for this function:

◆ hash_data_to_sign()

void local_deltas::hash_data_to_sign ( crypto::ec::sigmsg_hasher_t h) const
override

References us::gov::crypto::sha256::write().

Here is the call graph for this function:

◆ load()

local_deltas * local_deltas::load ( istream &  is)
static

References log, us::gov::engine::streams_version, and us::vcs::version().

Here is the call graph for this function:

◆ save()

void local_deltas::save ( ostream &  os) const

◆ to_stream()

void local_deltas::to_stream ( ostream &  os) const
overridevirtual

Reimplemented from us::gov::engine::signed_data.

References us::gov::engine::signed_data::to_stream().

Here is the call graph for this function:

Member Data Documentation

◆ id

uint64_t us::gov::engine::local_deltas::id

Referenced by from_stream(), and from_stream_prev().


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