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

#include <genesis_state.hpp>

Classes

struct  initial_account_type
 
struct  initial_asset_type
 
struct  initial_balance_type
 
struct  initial_committee_member_type
 
struct  initial_vesting_balance_type
 
struct  initial_witness_type
 
struct  initial_worker_type
 

Public Member Functions

chain_id_type compute_chain_id () const
 
void override_witness_signing_keys (const std::string &new_key)
 Method to override initial witness signing keys for debug. More...
 

Public Attributes

time_point_sec initial_timestamp
 
share_type max_core_supply = GRAPHENE_MAX_SHARE_SUPPLY
 
chain_parameters initial_parameters
 
immutable_chain_parameters immutable_parameters
 
vector< initial_account_typeinitial_accounts
 
vector< initial_asset_typeinitial_assets
 
vector< initial_balance_typeinitial_balances
 
vector< initial_vesting_balance_typeinitial_vesting_balances
 
uint64_t initial_active_witnesses = GRAPHENE_DEFAULT_MIN_WITNESS_COUNT
 
vector< initial_witness_typeinitial_witness_candidates
 
vector< initial_committee_member_typeinitial_committee_candidates
 
vector< initial_worker_typeinitial_worker_candidates
 
chain_id_type initial_chain_id
 

Detailed Description

Definition at line 40 of file genesis_state.hpp.

Member Function Documentation

◆ compute_chain_id()

chain_id_type graphene::chain::genesis_state_type::compute_chain_id ( ) const

Get the chain_id corresponding to this genesis state.

This is the SHA256 serialization of the genesis_state.

Definition at line 32 of file genesis_state.cpp.

◆ override_witness_signing_keys()

void graphene::chain::genesis_state_type::override_witness_signing_keys ( const std::string &  new_key)

Method to override initial witness signing keys for debug.

Definition at line 37 of file genesis_state.cpp.

Member Data Documentation

◆ immutable_parameters

immutable_chain_parameters graphene::chain::genesis_state_type::immutable_parameters

Definition at line 106 of file genesis_state.hpp.

◆ initial_accounts

vector<initial_account_type> graphene::chain::genesis_state_type::initial_accounts

Definition at line 107 of file genesis_state.hpp.

◆ initial_active_witnesses

uint64_t graphene::chain::genesis_state_type::initial_active_witnesses = GRAPHENE_DEFAULT_MIN_WITNESS_COUNT

Definition at line 111 of file genesis_state.hpp.

◆ initial_assets

vector<initial_asset_type> graphene::chain::genesis_state_type::initial_assets

Definition at line 108 of file genesis_state.hpp.

◆ initial_balances

vector<initial_balance_type> graphene::chain::genesis_state_type::initial_balances

Definition at line 109 of file genesis_state.hpp.

◆ initial_chain_id

chain_id_type graphene::chain::genesis_state_type::initial_chain_id

Temporary, will be moved elsewhere.

Definition at line 119 of file genesis_state.hpp.

◆ initial_committee_candidates

vector<initial_committee_member_type> graphene::chain::genesis_state_type::initial_committee_candidates

Definition at line 113 of file genesis_state.hpp.

◆ initial_parameters

chain_parameters graphene::chain::genesis_state_type::initial_parameters

Definition at line 105 of file genesis_state.hpp.

◆ initial_timestamp

time_point_sec graphene::chain::genesis_state_type::initial_timestamp

Definition at line 103 of file genesis_state.hpp.

◆ initial_vesting_balances

vector<initial_vesting_balance_type> graphene::chain::genesis_state_type::initial_vesting_balances

Definition at line 110 of file genesis_state.hpp.

◆ initial_witness_candidates

vector<initial_witness_type> graphene::chain::genesis_state_type::initial_witness_candidates

Definition at line 112 of file genesis_state.hpp.

◆ initial_worker_candidates

vector<initial_worker_type> graphene::chain::genesis_state_type::initial_worker_candidates

Definition at line 114 of file genesis_state.hpp.

◆ max_core_supply

share_type graphene::chain::genesis_state_type::max_core_supply = GRAPHENE_MAX_SHARE_SUPPLY

Definition at line 104 of file genesis_state.hpp.


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