BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Public Attributes | Friends | List of all members
graphene::market_history::bucket_key Struct Reference

#include <market_history_plugin.hpp>

Public Member Functions

 bucket_key (asset_id_type a, asset_id_type b, uint32_t s, fc::time_point_sec o)
 
 bucket_key ()
 

Public Attributes

asset_id_type base
 
asset_id_type quote
 
uint32_t seconds = 0
 
fc::time_point_sec open
 

Friends

bool operator< (const bucket_key &a, const bucket_key &b)
 
bool operator== (const bucket_key &a, const bucket_key &b)
 

Detailed Description

Definition at line 64 of file market_history_plugin.hpp.

Constructor & Destructor Documentation

◆ bucket_key() [1/2]

graphene::market_history::bucket_key::bucket_key ( asset_id_type  a,
asset_id_type  b,
uint32_t  s,
fc::time_point_sec  o 
)
inline

Definition at line 66 of file market_history_plugin.hpp.

◆ bucket_key() [2/2]

graphene::market_history::bucket_key::bucket_key ( )
inline

Definition at line 68 of file market_history_plugin.hpp.

Friends And Related Function Documentation

◆ operator<

bool operator< ( const bucket_key a,
const bucket_key b 
)
friend

Definition at line 75 of file market_history_plugin.hpp.

◆ operator==

bool operator== ( const bucket_key a,
const bucket_key b 
)
friend

Definition at line 79 of file market_history_plugin.hpp.

Member Data Documentation

◆ base

asset_id_type graphene::market_history::bucket_key::base

Definition at line 70 of file market_history_plugin.hpp.

◆ open

fc::time_point_sec graphene::market_history::bucket_key::open

Definition at line 73 of file market_history_plugin.hpp.

◆ quote

asset_id_type graphene::market_history::bucket_key::quote

Definition at line 71 of file market_history_plugin.hpp.

◆ seconds

uint32_t graphene::market_history::bucket_key::seconds = 0

Definition at line 72 of file market_history_plugin.hpp.


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