#include "transaction.hpp"
Public Types | |
using | CommandsType = boost::any_range< Command, boost::random_access_traversal_tag, const Command & > |
Type of ordered collection of commands. More... | |
![]() | |
using | ModelType = Transaction |
![]() | |
using | base_type = Transaction |
Public Member Functions | |
virtual const types::AccountIdType & | creatorAccountId () const =0 |
virtual types::QuorumType | quorum () const =0 |
virtual CommandsType | commands () const =0 |
virtual const types::BlobType & | reducedPayload () const =0 |
virtual const types::HashType & | reducedHash () const =0 |
virtual boost::optional< std::shared_ptr< BatchMeta > > | batchMeta () const =0 |
std::string | toString () const override |
![]() | |
virtual types::SignatureRangeType | signatures () const=0 |
virtual bool | addSignature (const crypto::Signed &signed_blob, const crypto::PublicKey &public_key)=0 |
virtual types::TimestampType | createdTime () const=0 |
virtual const types::BlobType & | payload () const=0 |
virtual const types::BlobType & | blob () const=0 |
bool | operator== (const Transaction &rhs) const override |
bool | equalsByValue (const Transaction &rhs) const |
virtual const types::HashType & | hash () const=0 |
std::string | toString () const override |
![]() | |
virtual bool | operator!= (const ModelType &rhs) const |
virtual | ~ModelPrimitive ()=default |
![]() | |
virtual | ~Cloneable ()=default |
Additional Inherited Members | |
![]() | |
using | SignatureSetType = std::unordered_set< T, SignatureSetTypeOps, SignatureSetTypeOps > |
![]() | |
virtual Transaction * | clone () const=0 |
![]() | |
static auto | makeHash (const types::BlobType &payload) |
Transaction class represent well-formed intent from client to change state of ledger.
using shared_model::interface::Transaction::CommandsType = boost::any_range<Command, boost::random_access_traversal_tag, const Command &> |
Type of ordered collection of commands.
|
pure virtual |
|
pure virtual |
Implemented in shared_model::proto::Transaction.
|
pure virtual |
Implemented in shared_model::proto::Transaction.
|
pure virtual |
Implemented in shared_model::proto::Transaction.
|
pure virtual |
Implemented in shared_model::proto::Transaction.
|
pure virtual |
Implemented in shared_model::proto::Transaction.
|
overridevirtual |
Make string developer representation of object
Reimplemented from shared_model::interface::ModelPrimitive< Transaction >.