#include "transaction_batch.hpp"


Public Member Functions | |
| virtual const types::SharedTxsCollectionType & | transactions () const =0 |
| virtual const types::HashType & | reducedHash () const =0 |
| virtual bool | hasAllSignatures () const =0 |
| virtual bool | addSignature (size_t number_of_tx, types::SignedHexStringView signed_blob, types::PublicKeyHexStringView public_key)=0 |
| std::string | toString () const |
| Pretty print the batch contents. More... | |
Public Member Functions inherited from shared_model::interface::ModelPrimitive< TransactionBatch > | |
| virtual bool | operator== (const ModelType &rhs) const=0 |
| virtual bool | operator!= (const ModelType &rhs) const |
| virtual | ~ModelPrimitive ()=default |
Additional Inherited Members | |
Public Types inherited from shared_model::interface::ModelPrimitive< TransactionBatch > | |
| using | ModelType = TransactionBatch |
Represents collection of transactions, which are to be processed together
|
pure virtual |
Add signature to concrete transaction in the batch
| number_of_tx | - number of transaction for inserting signature |
| signed_blob | - signed blob of transaction |
| public_key | - public key of inserter |
Implemented in shared_model::interface::TransactionBatchImpl.
|
pure virtual |
Checks if every transaction has quorum signatures
Implemented in shared_model::interface::TransactionBatchImpl.
|
pure virtual |
Get the concatenation of reduced hashes as a single hash
| reduced_hashes | collection of reduced hashes |
Implemented in shared_model::interface::TransactionBatchImpl.

|
virtual |
Pretty print the batch contents.
Reimplemented from shared_model::interface::ModelPrimitive< TransactionBatch >.
Reimplemented in shared_model::interface::TransactionBatchImpl.

|
pure virtual |
Get transactions list
Implemented in shared_model::interface::TransactionBatchImpl.
