Scorum
Public Member Functions | Public Attributes | List of all members
scorum::protocol::chain_properties Struct Reference

#include <chain_properties.hpp>

Public Member Functions

void validate () const
 

Public Attributes

asset account_creation_fee = SCORUM_MIN_ACCOUNT_CREATION_FEE
 
uint32_t maximum_block_size = SCORUM_MIN_BLOCK_SIZE_LIMIT * 2
 

Detailed Description

Witnesses must vote on how to set certain chain properties to ensure a smooth and well functioning network. Any time @owner is in the active set of witnesses these properties will be used to control the blockchain configuration.

Definition at line 13 of file chain_properties.hpp.

Member Function Documentation

◆ validate()

void scorum::protocol::chain_properties::validate ( ) const
inline

Definition at line 29 of file chain_properties.hpp.

Member Data Documentation

◆ account_creation_fee

asset scorum::protocol::chain_properties::account_creation_fee = SCORUM_MIN_ACCOUNT_CREATION_FEE

This fee, paid in SCR, is converted into SP for the new account. Accounts without scorumpower cannot earn usage rations and therefore are powerless. This minimum fee requires all accounts to have some kind of commitment to the network that includes the ability to vote and make transactions.

Definition at line 21 of file chain_properties.hpp.

◆ maximum_block_size

uint32_t scorum::protocol::chain_properties::maximum_block_size = SCORUM_MIN_BLOCK_SIZE_LIMIT * 2

This witnesses vote for the maximum_block_size which is used by the network to tune rate limiting and capacity

Definition at line 27 of file chain_properties.hpp.


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