#include "transaction.hpp"

Public Types | |
| using | SignaturesType = decltype(signatures) |
| using | TimeType = ts64_t |
| using | CommandsType = decltype(commands) |
Public Member Functions | |
| bool | operator== (const Transaction &rhs) const |
| bool | operator!= (const Transaction &rhs) const |
Public Attributes | |
| std::vector< Signature > | signatures {} |
| TimeType | created_ts {} |
| std::string | creator_account_id {} |
| uint8_t | quorum = 1 |
| std::vector< std::shared_ptr< Command > > | commands {} |
Transaction is a Model-structure that provides abstraction to bunch of commands with signatures and meta-data. Transaction can be divided to {Header, Meta, Body}.
| using iroha::model::Transaction::CommandsType = decltype(commands) |
| using iroha::model::Transaction::SignaturesType = decltype(signatures) |
| bool iroha::model::Transaction::operator!= | ( | const Transaction & | rhs | ) | const |

| bool iroha::model::Transaction::operator== | ( | const Transaction & | rhs | ) | const |
| std::vector<std::shared_ptr<Command> > iroha::model::Transaction::commands {} |
Bunch of commands attached to transaction shared_ptr is used since Proposal has to be copied BODY field
| TimeType iroha::model::Transaction::created_ts {} |
Creation timestamp HEADER field
| std::string iroha::model::Transaction::creator_account_id {} |
Account id of transaction creator. META field
| uint8_t iroha::model::Transaction::quorum = 1 |
Quorum means number of signatures required for processing transaction in system. This field should be > 0.
| std::vector<Signature> iroha::model::Transaction::signatures {} |
List of signatories that sign transaction HEADER field