COOPENOMICS  v1
Кооперативная Экономика
Структура eosiosystem::block_info::block_info_record

#include <block_info.hpp>

Открытые члены

uint64_t primary_key () const
 

Открытые атрибуты

uint8_t version = 0
 
uint32_t block_height
 
eosio::time_point block_timestamp
 

Подробное описание

The blockinfo table holds a rolling window of records containing information for recent blocks.

Each record stores the height and timestamp of the correspond block. A record is added for a new block through the onblock action. The onblock action also erases up to two old records at a time in an attempt to keep the table consisting of only records for blocks going back a particular block height difference backward from the most recent block. Currently that block height difference is hardcoded to 10.

Методы

◆ primary_key()

uint64_t eosiosystem::block_info::block_info_record::primary_key ( ) const
inline

Данные класса

◆ block_height

uint32_t eosiosystem::block_info::block_info_record::block_height

◆ block_timestamp

eosio::time_point eosiosystem::block_info::block_info_record::block_timestamp

◆ version

uint8_t eosiosystem::block_info::block_info_record::version = 0

Объявления и описания членов структуры находятся в файле: