#include "unsigned_proto.hpp"

Public Types | |
| using | ModelType = T |
Public Member Functions | |
| UnsignedWrapper (const T &o) | |
| UnsignedWrapper (T &&o) | |
| UnsignedWrapper (UnsignedWrapper< T > &&w) | |
| UnsignedWrapper< T > & | operator= (UnsignedWrapper< T > &&w) |
| UnsignedWrapper (const UnsignedWrapper< T > &o)=default | |
| UnsignedWrapper< T > & | operator= (const UnsignedWrapper< T > &w)=default |
| UnsignedWrapper & | signAndAddSignature (const crypto::Keypair &keypair) |
| T | finish () |
| interface::types::HashType | hash () |
| template<typename U = T> | |
| std::enable_if_t< std::is_base_of< shared_model::interface::Transaction, U >::value, interface::types::HashType > | reducedHash () const |
Class for holding built but still unsigned objects
| T | - type of object received from builder |
NOTE: finish() moves internal object, so calling methods after finish() throws an exception
| using shared_model::proto::UnsignedWrapper< T >::ModelType = T |
|
inlineexplicit |
Constructs new unsigned object instance
| o | - object received from builder |

|
inlineexplicit |
|
inline |
|
default |
|
inline |
Finishes object building
|
inline |
|
inline |

|
default |
|
inline |
|
inline |
Add signature and retrieve signed result
| signature | - signature to add |
