TARAXA
Loading...
Searching...
No Matches
hardfork.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  taraxa::Redelegation
 
struct  taraxa::MagnoliaHardfork
 
struct  taraxa::AspenHardfork
 
struct  taraxa::FicusHardforkConfig
 
struct  taraxa::CornusHardforkConfig
 
struct  taraxa::SoleiroliaHardforkConfig
 
struct  taraxa::HardforksConfig
 

Namespaces

namespace  taraxa
 

Functions

Json::Value taraxa::enc_json (const Redelegation &obj)
 
void taraxa::dec_json (const Json::Value &json, Redelegation &obj)
 
Json::Value taraxa::enc_json (const MagnoliaHardfork &obj)
 
void taraxa::dec_json (const Json::Value &json, MagnoliaHardfork &obj)
 
Json::Value taraxa::enc_json (const AspenHardfork &obj)
 
void taraxa::dec_json (const Json::Value &json, AspenHardfork &obj)
 
Json::Value taraxa::enc_json (const FicusHardforkConfig &obj)
 
void taraxa::dec_json (const Json::Value &json, FicusHardforkConfig &obj)
 
Json::Value taraxa::enc_json (const CornusHardforkConfig &obj)
 
void taraxa::dec_json (const Json::Value &json, CornusHardforkConfig &obj)
 
Json::Value taraxa::enc_json (const SoleiroliaHardforkConfig &obj)
 
void taraxa::dec_json (const Json::Value &json, SoleiroliaHardforkConfig &obj)
 
Json::Value taraxa::enc_json (const HardforksConfig &obj)
 
void taraxa::dec_json (const Json::Value &json, HardforksConfig &obj)
 

Class Documentation

◆ taraxa::Redelegation

struct taraxa::Redelegation
Collaboration diagram for taraxa::Redelegation:
Class Members
uint256_t amount
addr_t delegator
addr_t validator

◆ taraxa::MagnoliaHardfork

struct taraxa::MagnoliaHardfork
Class Members
uint64_t block_num = -1
uint64_t jail_time = 0

◆ taraxa::AspenHardfork

struct taraxa::AspenHardfork
Class Members
uint64_t block_num_part_one {0}
uint64_t block_num_part_two {0}
uint256_t generated_rewards {0}
uint256_t max_supply {"0x26C62AD77DC602DAE0000000"}

◆ taraxa::CornusHardforkConfig

struct taraxa::CornusHardforkConfig
Class Members
uint64_t block_num = -1
uint64_t dag_gas_limit = 0
uint32_t delegation_locking_period = 5
uint64_t pbft_gas_limit = 0

◆ taraxa::SoleiroliaHardforkConfig

struct taraxa::SoleiroliaHardforkConfig
Class Members
uint64_t block_num = -1
uint64_t trx_max_gas_limit = 31500000
uint64_t trx_min_gas_price = 1