plebble
|
#include <diff.h>
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 |
![]() | |
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_deltas * | from_stream (istream &) |
static local_deltas * | from_stream_prev (istream &) |
static local_deltas * | load (istream &is) |
![]() | |
static void | from_stream (signed_data &, istream &) |
static void | from_stream_prev (signed_data &, istream &) |
static void | skip (istream &) |
Public Attributes | |
uint64_t | id |
![]() | |
pubkey_t | pubkey |
string | signature |
Additional Inherited Members | |
![]() | |
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 |
|
inline |
|
delete |
|
virtual |
void local_deltas::dump | ( | ostream & | os | ) | const |
References us::gov::engine::streams_version, and us::gov::engine::signed_data::to_stream().
|
static |
References us::gov::engine::app::local_delta::create(), us::gov::engine::signed_data::from_stream(), id, us::gov::engine::signed_data::signature, and unlikely.
|
static |
References us::gov::engine::app::local_delta::create_prev(), us::gov::engine::signed_data::from_stream_prev(), id, log, us::gov::engine::signed_data::signature, and unlikely.
|
overridevirtual |
Implements us::gov::engine::signed_data.
References us::gov::crypto::ripemd160::write().
|
override |
|
static |
References log, us::gov::engine::streams_version, and us::vcs::version().
void local_deltas::save | ( | ostream & | os | ) | const |
References us::gov::engine::streams_version.
|
overridevirtual |
Reimplemented from us::gov::engine::signed_data.
References us::gov::engine::signed_data::to_stream().
uint64_t us::gov::engine::local_deltas::id |
Referenced by from_stream(), and from_stream_prev().