hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::consensus Namespace Reference

Namespaces

 yac
 

Classes

struct  AgreementOnNone
 Agreement on <None, None> More...
 
struct  BaseGateObject
 
struct  BlockReject
 Reject on block. More...
 
struct  Future
 round.block_round > ledger_state->top_block_info.height + 1 More...
 
struct  PairValid
 Current pair is valid. More...
 
struct  ProposalReject
 Reject on proposal. More...
 
struct  Round
 
struct  Synchronizable
 
struct  VoteOther
 Network votes for another pair and round. More...
 

Typedefs

using ConsensusResult = shared_model::interface::Block
 
using ConsensusResultCache = cache::SinglePointerCache< ConsensusResult >
 
using GateObject = std::variant< PairValid, VoteOther, ProposalReject, BlockReject, AgreementOnNone, Future >
 
using BlockRoundType = uint64_t
 
using RejectRoundType = uint32_t
 

Functions

std::size_t hash_value (Round const &val)
 

Detailed Description

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Typedef Documentation

◆ BlockRoundType

using iroha::consensus::BlockRoundType = typedef uint64_t

Type of round indexing by blocks

◆ ConsensusResult

Type to represent result of the consensus in form of block

◆ ConsensusResultCache

Type to represent a consensus result cache with a single block

◆ GateObject

◆ RejectRoundType

using iroha::consensus::RejectRoundType = typedef uint32_t

Type of round indexing by reject before new block commit

Function Documentation

◆ hash_value()

std::size_t iroha::consensus::hash_value ( Round const &  val)
Here is the caller graph for this function: