BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | List of all members
graphene::app::block_api Class Reference

Block api. More...

#include <api.hpp>

Public Member Functions

 block_api (graphene::chain::database &db)
 ~block_api ()
vector< optional< signed_block > > get_blocks (uint32_t block_num_from, uint32_t block_num_to) const
 Get signed blocks. More...

Detailed Description

Block api.

Definition at line 231 of file api.hpp.

Constructor & Destructor Documentation

graphene::app::block_api::block_api ( graphene::chain::database db)

Definition at line 138 of file api.cpp.

graphene::app::block_api::~block_api ( )

Definition at line 139 of file api.cpp.

Member Function Documentation

vector< optional< signed_block > > graphene::app::block_api::get_blocks ( uint32_t  block_num_from,
uint32_t  block_num_to 
) const

Get signed blocks.

block_num_fromThe lowest block number
block_num_toThe highest block number
A list of signed blocks from block_num_from till block_num_to

Definition at line 141 of file api.cpp.

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