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

#include <fork_database.hpp>

Public Member Functions

 fork_item (signed_block d)
block_id_type previous_id () const

Public Attributes

weak_ptr< fork_itemprev
uint32_t num
block_id_type id
signed_block data
shared_ptr< vector< pair< witness_id_type, public_key_type > > > scheduled_witnesses
uint64_t next_block_aslot = 0
fc::time_point_sec next_block_time

Detailed Description

Definition at line 40 of file fork_database.hpp.

Constructor & Destructor Documentation

◆ fork_item()

graphene::chain::fork_item::fork_item ( signed_block  d)

Definition at line 42 of file fork_database.hpp.

Member Function Documentation

◆ previous_id()

block_id_type graphene::chain::fork_item::previous_id ( ) const

Definition at line 45 of file fork_database.hpp.

Member Data Documentation

◆ data

signed_block graphene::chain::fork_item::data

Definition at line 50 of file fork_database.hpp.

◆ id

block_id_type graphene::chain::fork_item::id

Definition at line 49 of file fork_database.hpp.

◆ next_block_aslot

uint64_t graphene::chain::fork_item::next_block_aslot = 0

Definition at line 54 of file fork_database.hpp.

◆ next_block_time

fc::time_point_sec graphene::chain::fork_item::next_block_time

Definition at line 55 of file fork_database.hpp.

◆ num

uint32_t graphene::chain::fork_item::num

Definition at line 48 of file fork_database.hpp.

◆ prev

weak_ptr< fork_item > graphene::chain::fork_item::prev

Definition at line 47 of file fork_database.hpp.

◆ scheduled_witnesses

shared_ptr< vector< pair< witness_id_type, public_key_type > > > graphene::chain::fork_item::scheduled_witnesses

Definition at line 53 of file fork_database.hpp.

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