Scorum
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Development committee history API

Allows quick search of applied operations related to devcommittee. More...

Public API

std::vector< applied_operationscorum::blockchain_history::devcommittee_history_api::get_history (uint64_t from, uint32_t limit) const
 
std::vector< applied_operationscorum::blockchain_history::devcommittee_history_api::get_scr_to_scr_transfers (uint64_t from, uint32_t limit) const
 
std::vector< applied_withdraw_operationscorum::blockchain_history::devcommittee_history_api::get_sp_to_scr_transfers (uint64_t from, uint32_t limit) const
 

Detailed Description

Allows quick search of applied operations related to devcommittee.

Require: blockchain_history_plugin

Function Documentation

◆ get_history()

std::vector< applied_operation > scorum::blockchain_history::devcommittee_history_api::get_history ( uint64_t  from,
uint32_t  limit 
) const

Devcommittee operations have sequence numbers from 0 to N where N is the most recent operation. This method returns operations in the range [from-limit, from]

Parameters
from- the absolute sequence number, -1 means most recent, limit is the number of operations before from.
limit- the maximum number of items that can be queried (0 to MAX_BLOCKCHAIN_HISTORY_DEPTH], must be less than from

Definition at line 78 of file devcommittee_history_api.cpp.

◆ get_scr_to_scr_transfers()

std::vector< applied_operation > scorum::blockchain_history::devcommittee_history_api::get_scr_to_scr_transfers ( uint64_t  from,
uint32_t  limit 
) const

Definition at line 71 of file devcommittee_history_api.cpp.

◆ get_sp_to_scr_transfers()

std::vector< applied_withdraw_operation > scorum::blockchain_history::devcommittee_history_api::get_sp_to_scr_transfers ( uint64_t  from,
uint32_t  limit 
) const

Definition at line 84 of file devcommittee_history_api.cpp.