hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::proto::Block::Impl Struct Reference
Collaboration diagram for shared_model::proto::Block::Impl:
Collaboration graph

Public Member Functions

 Impl (TransportType &&ref)
 
 Impl (const TransportType &ref)
 
 Impl (Impl &&o) noexcept=delete
 
Imploperator= (Impl &&o) noexcept=delete
 

Public Attributes

TransportType proto_
 
iroha::protocol::Block_v1::Payload & payload_ {*proto_.mutable_payload()}
 
std::vector< proto::Transaction > transactions_
 
interface::types::BlobType blob_ {[this] { return makeBlob(proto_); }()}
 
interface::types::HashType prev_hash_
 
SignatureSetType< proto::Signaturesignatures_
 
std::vector< interface::types::HashTyperejected_transactions_hashes_
 
interface::types::BlobType payload_blob_
 

Constructor & Destructor Documentation

shared_model::proto::Block::Impl::Impl ( TransportType &&  ref)
inlineexplicit

Here is the caller graph for this function:

shared_model::proto::Block::Impl::Impl ( const TransportType ref)
inlineexplicit

Here is the call graph for this function:

shared_model::proto::Block::Impl::Impl ( Impl &&  o)
deletenoexcept

Member Function Documentation

Impl& shared_model::proto::Block::Impl::operator= ( Impl &&  o)
deletenoexcept

Here is the caller graph for this function:

Member Data Documentation

interface::types::BlobType shared_model::proto::Block::Impl::blob_ {[this] { return makeBlob(proto_); }()}
iroha::protocol::Block_v1::Payload& shared_model::proto::Block::Impl::payload_ {*proto_.mutable_payload()}
interface::types::BlobType shared_model::proto::Block::Impl::payload_blob_
Initial value:
{
[this] { return makeBlob(payload_); }()}
interface::types::HashType shared_model::proto::Block::Impl::prev_hash_
Initial value:
{[this] {
crypto::Hash::fromHexString(proto_.payload().prev_block_hash()));
}()}
TransportType shared_model::proto::Block::Impl::proto_
std::vector<interface::types::HashType> shared_model::proto::Block::Impl::rejected_transactions_hashes_
Initial value:
{
[this] {
std::vector<interface::types::HashType> hashes;
for (const auto &hash :
*payload_.mutable_rejected_transactions_hashes()) {
hashes.emplace_back(
}
return hashes;
}()}
SignatureSetType<proto::Signature> shared_model::proto::Block::Impl::signatures_
Initial value:
{[this] {
auto signatures = proto_.signatures()
| boost::adaptors::transformed([](const auto &x) {
return proto::Signature(x);
});
return SignatureSetType<proto::Signature>(signatures.begin(),
signatures.end());
}()}
std::vector<proto::Transaction> shared_model::proto::Block::Impl::transactions_
Initial value:
{[this] {
return std::vector<proto::Transaction>(
payload_.mutable_transactions()->begin(),
payload_.mutable_transactions()->end());
}()}

The documentation for this struct was generated from the following file: