Wire Sysio Wire Sysion 1.0.0
|
#include <block_timestamp.hpp>
Public Member Functions | |
block_timestamp (uint32_t s=0) | |
block_timestamp (const fc::time_point &t) | |
block_timestamp (const fc::time_point_sec &t) | |
block_timestamp | next () const |
fc::time_point | to_time_point () const |
operator fc::time_point () const | |
void | operator= (const fc::time_point &t) |
bool | operator> (const block_timestamp &t) const |
bool | operator>= (const block_timestamp &t) const |
bool | operator< (const block_timestamp &t) const |
bool | operator<= (const block_timestamp &t) const |
bool | operator== (const block_timestamp &t) const |
bool | operator!= (const block_timestamp &t) const |
Static Public Member Functions | |
static block_timestamp | maximum () |
static block_timestamp | min () |
Public Attributes | |
uint32_t | slot |
This class is used in the block headers to represent the block time It is a parameterised class that takes an Epoch in milliseconds and and an interval in milliseconds and computes the number of slots.
Definition at line 18 of file block_timestamp.hpp.
|
inlineexplicit |
|
inline |
Definition at line 22 of file block_timestamp.hpp.
|
inline |
Definition at line 26 of file block_timestamp.hpp.
|
inlinestatic |
Definition at line 30 of file block_timestamp.hpp.
|
inlinestatic |
|
inline |
Definition at line 33 of file block_timestamp.hpp.
|
inline |
Definition at line 44 of file block_timestamp.hpp.
|
inline |
Definition at line 59 of file block_timestamp.hpp.
|
inline |
Definition at line 56 of file block_timestamp.hpp.
|
inline |
Definition at line 57 of file block_timestamp.hpp.
|
inline |
Definition at line 50 of file block_timestamp.hpp.
|
inline |
Definition at line 58 of file block_timestamp.hpp.
|
inline |
Definition at line 54 of file block_timestamp.hpp.
|
inline |
Definition at line 55 of file block_timestamp.hpp.
|
inline |
uint32_t sysio::chain::block_timestamp< IntervalMs, EpochMs >::slot |
Definition at line 60 of file block_timestamp.hpp.