hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::model::Proposal Struct Reference

#include "proposal.hpp"

Collaboration diagram for iroha::model::Proposal:
Collaboration graph

Public Member Functions

 Proposal (std::vector< Transaction > txs)
 
bool operator== (const Proposal &rhs) const
 
bool operator!= (const Proposal &rhs) const
 

Public Attributes

const std::vector< Transactiontransactions {}
 
uint64_t height {}
 
uint64_t created_time {}
 

Detailed Description

Proposal is a Model-structure that provides a bunch of transactions emitted by ordering service. Proposal has no signatures and other meta information.

Constructor & Destructor Documentation

iroha::model::Proposal::Proposal ( std::vector< Transaction txs)
inlineexplicit

Member Function Documentation

bool iroha::model::Proposal::operator!= ( const Proposal rhs) const

Here is the call graph for this function:

bool iroha::model::Proposal::operator== ( const Proposal rhs) const

Member Data Documentation

uint64_t iroha::model::Proposal::created_time {}

Time when the proposal have been created

uint64_t iroha::model::Proposal::height {}

Height of current proposal. Note: This height must be consistent with your last block height

const std::vector<Transaction> iroha::model::Proposal::transactions {}

Bunch of transactions provided by ordering service.


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