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

Public Member Functions

 Impl (TransportType &&ref)
 
 Impl (const TransportType &ref)
 

Public Attributes

detail::ReferenceHolder< TransportType > proto_
 
iroha::protocol::Transaction::Payload & payload_
 
iroha::protocol::Transaction::Payload::ReducedPayload & reduced_payload_
 
interface::types::BlobType blob_ {[this] { return makeBlob(*proto_); }()}
 
interface::types::BlobType payload_blob_
 
interface::types::BlobType reduced_payload_blob_
 
interface::types::HashType reduced_hash_
 
std::vector< proto::Command > commands_
 
boost::optional< std::shared_ptr< interface::BatchMeta > > meta_
 
SignatureSetType< proto::Signature > signatures_
 

Constructor & Destructor Documentation

iroha::protocol::Transaction::Impl::Impl ( TransportType &&  ref)
inlineexplicit
iroha::protocol::Transaction::Impl::Impl ( const TransportType &  ref)
inlineexplicit

Member Data Documentation

interface::types::BlobType iroha::protocol::Transaction::Impl::blob_ {[this] { return makeBlob(*proto_); }()}
std::vector<proto::Command> iroha::protocol::Transaction::Impl::commands_
Initial value:
{
reduced_payload_.mutable_commands()->begin(),
reduced_payload_.mutable_commands()->end()}
boost::optional<std::shared_ptr<interface::BatchMeta> > iroha::protocol::Transaction::Impl::meta_
Initial value:
{
[this]() -> boost::optional<std::shared_ptr<interface::BatchMeta>> {
if (payload_.has_batch()) {
std::shared_ptr<interface::BatchMeta> b =
std::make_shared<proto::BatchMeta>(payload_.batch());
return b;
}
return boost::none;
}()}
iroha::protocol::Transaction::Payload& iroha::protocol::Transaction::Impl::payload_
Initial value:
{
*proto_->mutable_payload()}
interface::types::BlobType iroha::protocol::Transaction::Impl::payload_blob_
Initial value:
{
[this] { return makeBlob(payload_); }()}
detail::ReferenceHolder<TransportType> iroha::protocol::Transaction::Impl::proto_
interface::types::HashType iroha::protocol::Transaction::Impl::reduced_hash_
iroha::protocol::Transaction::Payload::ReducedPayload& iroha::protocol::Transaction::Impl::reduced_payload_
Initial value:
{
*proto_->mutable_payload()->mutable_reduced_payload()}
interface::types::BlobType iroha::protocol::Transaction::Impl::reduced_payload_blob_
Initial value:
{
[this] { return makeBlob(reduced_payload_); }()}
SignatureSetType<proto::Signature> iroha::protocol::Transaction::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());
}()}

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