Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | Public Attributes | List of all members
golos::chain::feed_history_object Class Reference

#include <steem_objects.hpp>

Inheritance diagram for golos::chain::feed_history_object:

Public Member Functions

template<typename Constructor , typename Allocator >
 feed_history_object (Constructor &&c, allocator< Allocator > a)
 

Public Attributes

id_type id
 
price< 0, 17, 0 > current_median_history
 the current median of the price history, used as the base for convert operations More...
 
boost::interprocess::deque< price< 0, 17, 0 >, allocator< price< 0, 17, 0 > > > price_history
 tracks this last week of median_feed one per hour More...
 

Detailed Description

This object gets updated once per hour, on the hour

Definition at line 148 of file steem_objects.hpp.

Constructor & Destructor Documentation

◆ feed_history_object()

template<typename Constructor , typename Allocator >
golos::chain::feed_history_object::feed_history_object ( Constructor &&  c,
allocator< Allocator >  a 
)
inline

Definition at line 153 of file steem_objects.hpp.

Member Data Documentation

◆ current_median_history

price<0, 17, 0> golos::chain::feed_history_object::current_median_history

the current median of the price history, used as the base for convert operations

Definition at line 160 of file steem_objects.hpp.

◆ id

id_type golos::chain::feed_history_object::id

Definition at line 158 of file steem_objects.hpp.

◆ price_history

boost::interprocess::deque<price<0, 17, 0>, allocator < price<0, 17, 0> > > golos::chain::feed_history_object::price_history

tracks this last week of median_feed one per hour

Definition at line 162 of file steem_objects.hpp.


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