6 #ifndef IROHA_SHARED_MODEL_PROTO_BLOCK_HPP 7 #define IROHA_SHARED_MODEL_PROTO_BLOCK_HPP 37 interface::types::SignedHexStringView signed_blob,
38 interface::types::PublicKeyHexStringView public_key)
override;
59 std::unique_ptr<Impl> impl_;
64 #endif // IROHA_SHARED_MODEL_PROTO_BLOCK_HPP uint64_t HeightType
Type of height (for Block, Proposal etc)
Definition: types.hpp:48
const interface::types::BlobType & payload() const override
Definition: block.cpp:142
const interface::types::HashType & prevHash() const override
Definition: block.cpp:82
boost::any_range< interface::Signature, boost::forward_traversal_tag, const Signature & > SignatureRangeType
Type of signature range, which returns when signatures are invoked.
Definition: range_types.hpp:24
Block(Block &&o) noexcept
Block & operator=(Block &&o) noexcept=default
const interface::types::BlobType & blob() const override
Definition: block.cpp:86
iroha::protocol::Block_v1 TransportType
Definition: block.hpp:18
interface::types::HeightType height() const override
Definition: block.cpp:78
interface::types::SignatureRangeType signatures() const override
Definition: block.cpp:90
interface::Block::ModelType * clone() const override
Definition: block.cpp:150
interface::types::HashCollectionType rejected_transactions_hashes() const override
Definition: block.cpp:137
const iroha::protocol::Block_v1 & getTransport() const
Definition: block.cpp:146
uint16_t TransactionsNumberType
Type of a number of transactions in block and query response page.
Definition: types.hpp:84
interface::types::TimestampType createdTime() const override
Definition: block.cpp:129
const interface::types::HashType & hash() const override
Definition: block.cpp:125
interface::types::TransactionsCollectionType transactions() const override
Definition: block.cpp:74
boost::any_range< HashType, boost::forward_traversal_tag, const HashType & > HashCollectionType
Type of hash collection.
Definition: range_types.hpp:36
Definition: command_executor.hpp:12
boost::any_range< Transaction, boost::random_access_traversal_tag, Transaction & > TransactionsCollectionType
Type of transactions' collection.
Definition: range_types.hpp:29
interface::types::TransactionsNumberType txsNumber() const override
Definition: block.cpp:133
bool addSignature(interface::types::SignedHexStringView signed_blob, interface::types::PublicKeyHexStringView public_key) override
Definition: block.cpp:94
uint64_t TimestampType
Type of timestamp.
Definition: types.hpp:67