#include "transaction_batch_factory_impl.hpp"
◆ FactoryImplResult
◆ TransactionBatchFactoryImpl()
◆ createTransactionBatch() [1/2]
Create transaction batch out of collection of transactions
- Parameters
-
| transactions | collection of transactions, should be from the same batch |
- Returns
- valid batch of transactions or string error
Implements shared_model::interface::TransactionBatchFactory.
◆ createTransactionBatch() [2/2]
Creates transaction batch from single transaction
- Parameters
-
| transaction | is transaction being validated and used to create batch |
- Returns
- batch with single transaction or string error
- Note
- transactions in such batches may not have batch meta information
Implements shared_model::interface::TransactionBatchFactory.
The documentation for this class was generated from the following files: