hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::proto::GetBlock Class Referencefinal

#include "proto_get_block.hpp"

Inheritance diagram for shared_model::proto::GetBlock:
Inheritance graph
Collaboration diagram for shared_model::proto::GetBlock:
Collaboration graph

Public Member Functions

 GetBlock (iroha::protocol::Query &query)
 
interface::types::HeightType height () const override
 
- Public Member Functions inherited from shared_model::interface::GetBlock
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< GetBlock >
virtual bool operator== (const ModelType &rhs) const=0
 
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< GetBlock >
using ModelType = GetBlock
 

Constructor & Destructor Documentation

◆ GetBlock()

shared_model::proto::GetBlock::GetBlock ( iroha::protocol::Query &  query)
explicit

Member Function Documentation

◆ height()

interface::types::HeightType shared_model::proto::GetBlock::height ( ) const
overridevirtual

Get height of the block to be returned

Returns
block's height

Implements shared_model::interface::GetBlock.


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