hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::network::BlockLoaderService Class Reference

#include "block_loader_service.hpp"

Inheritance diagram for iroha::network::BlockLoaderService:
Inheritance graph
Collaboration diagram for iroha::network::BlockLoaderService:
Collaboration graph

Public Member Functions

 BlockLoaderService (std::shared_ptr< ametsuchi::BlockQueryFactory > block_query_factory, std::shared_ptr< iroha::consensus::ConsensusResultCache > consensus_result_cache, logger::LoggerPtr log)
 
grpc::Status retrieveBlocks (::grpc::ServerContext *context, const proto::BlocksRequest *request,::grpc::ServerWriter< protocol::Block > *writer) override
 
grpc::Status retrieveBlock (::grpc::ServerContext *context, const proto::BlockRequest *request, protocol::Block *response) override
 

Constructor & Destructor Documentation

BlockLoaderService::BlockLoaderService ( std::shared_ptr< ametsuchi::BlockQueryFactory block_query_factory,
std::shared_ptr< iroha::consensus::ConsensusResultCache consensus_result_cache,
logger::LoggerPtr  log 
)

Member Function Documentation

grpc::Status BlockLoaderService::retrieveBlock ( ::grpc::ServerContext *  context,
const proto::BlockRequest *  request,
protocol::Block *  response 
)
override

Here is the call graph for this function:

grpc::Status BlockLoaderService::retrieveBlocks ( ::grpc::ServerContext *  context,
const proto::BlocksRequest *  request,
::grpc::ServerWriter< protocol::Block > *  writer 
)
override

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