Scorum
Classes | Namespaces | Macros | Functions
config.hpp File Reference
#include <scorum/protocol/types.hpp>
#include <boost/preprocessor/cat.hpp>

Go to the source code of this file.

Classes

struct  scorum::protocol::detail::config
 

Namespaces

 scorum
 
 scorum::protocol
 
 scorum::protocol::detail
 

Macros

#define DAYS_TO_SECONDS(X)   (60u*60u*24u*X)
 
#define SCORUM_BLOCKCHAIN_VERSION   ( version(0, 6, 0) )
 
#define SCORUM_BLOCKCHAIN_HARDFORK_VERSION   ( hardfork_version( SCORUM_BLOCKCHAIN_VERSION ) )
 
#define SCORUM_ADDRESS_PREFIX   "SCR"
 
#define SCORUM_CURRENCY_PRECISION   9
 
#define SCORUM_DEFAULT_BUDGETS_AUCTION_SET   {100, 85, 75, 65}
 
#define SCORUM_SYMBOL   (uint64_t(SCORUM_CURRENCY_PRECISION) | (uint64_t('S') << 8) | (uint64_t('C') << 16) | (uint64_t('R') << 24))
 
#define SP_SYMBOL   (uint64_t(SCORUM_CURRENCY_PRECISION) | (uint64_t('S') << 8) | (uint64_t('P') << 16))
 
#define SCORUM_MAX_SHARE_SUPPLY   share_value_type(100000000e+9)
 
#define SCORUM_VOTE_DUST_THRESHOLD   share_type(50)
 
#define SCORUM_ATOMICSWAP_CONTRACT_METADATA_MAX_LENGTH   10*1024
 
#define SCORUM_ATOMICSWAP_SECRET_MAX_LENGTH   1024
 
#define SCORUM_MIN_ACCOUNT_CREATION_FEE   asset(SCORUM_VOTE_DUST_THRESHOLD/2, SCORUM_SYMBOL)
 
#define SCORUM_MIN_COMMENT_PAYOUT_SHARE   share_type(5)
 
#define SCORUM_MIN_PER_BLOCK_REWARD   share_type(1)
 
#define SCORUM_CREATE_ACCOUNT_WITH_SCORUM_MODIFIER   30
 
#define SCORUM_MIN_DELEGATE_VESTING_SHARES_MODIFIER   10
 
#define SCORUM_START_WITHDRAW_COEFFICIENT   10
 
#define SCORUM_ACTIVE_SP_HOLDERS_REWARD_PERIOD   (scorum::protocol::detail::get_config().active_sp_holders_reward_period)
 
#define SCORUM_MIN_BET_STAKE_FOR_MATCHING   share_type(1)
 
#define SCORUM_BLOCKID_POOL_SIZE   (scorum::protocol::detail::get_config().blockid_pool_size)
 
#define SCORUM_CASHOUT_WINDOW_SECONDS   (scorum::protocol::detail::get_config().cashout_window_seconds)
 
#define SCORUM_UPVOTE_LOCKOUT   (scorum::protocol::detail::get_config().upvote_lockout)
 
#define SCORUM_OWNER_AUTH_RECOVERY_PERIOD   (scorum::protocol::detail::get_config().owner_auth_recovery_period)
 
#define SCORUM_ACCOUNT_RECOVERY_REQUEST_EXPIRATION_PERIOD   (scorum::protocol::detail::get_config().account_recovery_request_expiration_period)
 
#define SCORUM_OWNER_UPDATE_LIMIT   (scorum::protocol::detail::get_config().owner_update_limit)
 
#define SCORUM_REWARDS_INITIAL_SUPPLY_PERIOD_IN_DAYS   (scorum::protocol::detail::get_config().rewards_initial_supply_period_in_days)
 
#define SCORUM_GUARANTED_REWARD_SUPPLY_PERIOD_IN_DAYS   (scorum::protocol::detail::get_config().guaranted_reward_supply_period_in_days)
 
#define SCORUM_REWARD_INCREASE_THRESHOLD_IN_DAYS   (scorum::protocol::detail::get_config().reward_increase_threshold_in_days)
 
#define SCORUM_BUDGETS_LIMIT_PER_OWNER   (scorum::protocol::detail::get_config().budgets_limit_per_owner)
 
#define SCORUM_ATOMICSWAP_INITIATOR_REFUND_LOCK_SECS   (scorum::protocol::detail::get_config().atomicswap_initiator_refund_lock_secs)
 
#define SCORUM_ATOMICSWAP_PARTICIPANT_REFUND_LOCK_SECS   (scorum::protocol::detail::get_config().atomicswap_participant_refund_lock_secs)
 
#define SCORUM_ATOMICSWAP_LIMIT_REQUESTED_CONTRACTS_PER_OWNER   (scorum::protocol::detail::get_config().atomicswap_limit_requested_contracts_per_owner)
 
#define SCORUM_ATOMICSWAP_LIMIT_REQUESTED_CONTRACTS_PER_RECIPIENT   (scorum::protocol::detail::get_config().atomicswap_limit_requested_contracts_per_recipient)
 
#define SCORUM_VESTING_WITHDRAW_INTERVALS   (scorum::protocol::detail::get_config().vesting_withdraw_intervals)
 
#define SCORUM_VESTING_WITHDRAW_INTERVAL_SECONDS   (scorum::protocol::detail::get_config().vesting_withdraw_interval_seconds)
 
#define SCORUM_MIN_VOTE_INTERVAL_SEC   (scorum::protocol::detail::get_config().min_vote_interval_sec)
 
#define SCORUM_DB_FREE_MEMORY_THRESHOLD_MB   (scorum::protocol::detail::get_config().db_free_memory_threshold_mb)
 
#define SCORUM_REGISTRATION_BONUS_LIMIT_PER_MEMBER_PER_N_BLOCK   100
 
#define SCORUM_REGISTRATION_BONUS_LIMIT_PER_MEMBER_N_BLOCK   2
 
#define SCORUM_REGISTRATION_COMMITTEE_MAX_MEMBERS_LIMIT   30
 
#define SCORUM_DEVELOPMENT_COMMITTEE_MAX_MEMBERS_LIMIT   30
 
#define SCORUM_BLOCK_INTERVAL   3
 
#define SCORUM_BLOCKS_PER_YEAR   (365*24*60*60/SCORUM_BLOCK_INTERVAL)
 
#define SCORUM_BLOCKS_PER_DAY   (24*60*60/SCORUM_BLOCK_INTERVAL)
 
#define SCORUM_BLOCKS_PER_HOUR   (60*60/SCORUM_BLOCK_INTERVAL)
 
#define SCORUM_START_MINER_VOTING_BLOCK   (SCORUM_BLOCKS_PER_DAY * 30)
 
#define SCORUM_MAX_VOTED_WITNESSES   (scorum::protocol::detail::get_config().scorum_max_voted_witnesses)
 
#define SCORUM_MAX_RUNNER_WITNESSES   (scorum::protocol::detail::get_config().scorum_max_witnesses - scorum::protocol::detail::get_config().scorum_max_voted_witnesses)
 
#define SCORUM_MAX_WITNESSES   (scorum::protocol::detail::get_config().scorum_max_witnesses)
 
#define SCORUM_MAX_WITNESSES_LIMIT   21
 
#define SCORUM_WITNESS_MISSED_BLOCKS_THRESHOLD   SCORUM_BLOCKS_PER_DAY/2
 
#define SCORUM_HARDFORK_REQUIRED_WITNESSES   (scorum::protocol::detail::get_config().scorum_hardfork_required_witnesses)
 
#define SCORUM_MAX_TIME_UNTIL_EXPIRATION   (60*60)
 
#define SCORUM_MAX_MEMO_SIZE   2048
 
#define SCORUM_MAX_PROXY_RECURSION_DEPTH   4
 
#define SCORUM_MAX_WITHDRAW_ROUTES   10
 
#define SCORUM_SAVINGS_WITHDRAW_TIME   (fc::days(3))
 
#define SCORUM_SAVINGS_WITHDRAW_REQUEST_LIMIT   100
 
#define SCORUM_VOTE_REGENERATION_SECONDS   (scorum::protocol::detail::get_config().vote_regeneration_seconds)
 
#define SCORUM_MAX_VOTE_CHANGES   3
 
#define SCORUM_REVERSE_AUCTION_WINDOW_SECONDS   (scorum::protocol::detail::get_config().reverse_auction_window_seconds)
 
#define SCORUM_MIN_ROOT_COMMENT_INTERVAL   (fc::minutes(5))
 
#define SCORUM_MIN_REPLY_INTERVAL   (fc::seconds(20))
 
#define SCORUM_MAX_ACCOUNT_WITNESS_VOTES   30
 
#define SCORUM_100_PERCENT   10000
 
#define SCORUM_1_PERCENT   (SCORUM_100_PERCENT/100)
 
#define SCORUM_1_TENTH_PERCENT   (SCORUM_100_PERCENT/1000)
 
#define SCORUM_PERCENT(X)   (uint16_t)(X*SCORUM_1_PERCENT)
 
#define SCORUM_DEV_TEAM_PER_BLOCK_REWARD_PERCENT   SCORUM_PERCENT(50)
 
#define SCORUM_WITNESS_PER_BLOCK_REWARD_PERCENT   SCORUM_PERCENT(10)
 
#define SCORUM_ACTIVE_SP_HOLDERS_PER_BLOCK_REWARD_PERCENT   SCORUM_PERCENT(10)
 
#define SCORUM_CURATION_REWARD_PERCENT   SCORUM_PERCENT(25)
 
#define SCORUM_PARENT_COMMENT_REWARD_PERCENT   SCORUM_PERCENT(50)
 
#define SCORUM_ADJUST_REWARD_PERCENT   SCORUM_PERCENT(5)
 
#define SCORUM_BANDWIDTH_AVERAGE_WINDOW_SECONDS   (DAYS_TO_SECONDS(7))
 
#define SCORUM_BANDWIDTH_PRECISION   (uint64_t(1000000))
 1 million More...
 
#define SCORUM_MAX_COMMENT_DEPTH   (6)
 
#define SCORUM_SOFT_MAX_COMMENT_DEPTH   (6)
 
#define SCORUM_MAX_RESERVE_RATIO   (20000)
 
#define SCORUM_CREATE_ACCOUNT_DELEGATION_RATIO   5
 
#define SCORUM_CREATE_ACCOUNT_DELEGATION_TIME   fc::days(30)
 

Functions

const config & scorum::protocol::detail::get_config ()
 
void scorum::protocol::detail::override_config (std::unique_ptr< config > new_config)
 

Macro Definition Documentation

◆ DAYS_TO_SECONDS

#define DAYS_TO_SECONDS (   X)    (60u*60u*24u*X)

Definition at line 89 of file config.hpp.

◆ SCORUM_100_PERCENT

#define SCORUM_100_PERCENT   10000

Definition at line 200 of file config.hpp.

◆ SCORUM_1_PERCENT

#define SCORUM_1_PERCENT   (SCORUM_100_PERCENT/100)

Definition at line 201 of file config.hpp.

◆ SCORUM_1_TENTH_PERCENT

#define SCORUM_1_TENTH_PERCENT   (SCORUM_100_PERCENT/1000)

Definition at line 202 of file config.hpp.

◆ SCORUM_ACCOUNT_RECOVERY_REQUEST_EXPIRATION_PERIOD

#define SCORUM_ACCOUNT_RECOVERY_REQUEST_EXPIRATION_PERIOD   (scorum::protocol::detail::get_config().account_recovery_request_expiration_period)

Definition at line 139 of file config.hpp.

◆ SCORUM_ACTIVE_SP_HOLDERS_PER_BLOCK_REWARD_PERCENT

#define SCORUM_ACTIVE_SP_HOLDERS_PER_BLOCK_REWARD_PERCENT   SCORUM_PERCENT(10)

Definition at line 207 of file config.hpp.

◆ SCORUM_ACTIVE_SP_HOLDERS_REWARD_PERIOD

#define SCORUM_ACTIVE_SP_HOLDERS_REWARD_PERIOD   (scorum::protocol::detail::get_config().active_sp_holders_reward_period)

Definition at line 126 of file config.hpp.

◆ SCORUM_ADDRESS_PREFIX

#define SCORUM_ADDRESS_PREFIX   "SCR"

Definition at line 95 of file config.hpp.

◆ SCORUM_ADJUST_REWARD_PERCENT

#define SCORUM_ADJUST_REWARD_PERCENT   SCORUM_PERCENT(5)

Definition at line 211 of file config.hpp.

◆ SCORUM_ATOMICSWAP_CONTRACT_METADATA_MAX_LENGTH

#define SCORUM_ATOMICSWAP_CONTRACT_METADATA_MAX_LENGTH   10*1024

Definition at line 110 of file config.hpp.

◆ SCORUM_ATOMICSWAP_INITIATOR_REFUND_LOCK_SECS

#define SCORUM_ATOMICSWAP_INITIATOR_REFUND_LOCK_SECS   (scorum::protocol::detail::get_config().atomicswap_initiator_refund_lock_secs)

Definition at line 149 of file config.hpp.

◆ SCORUM_ATOMICSWAP_LIMIT_REQUESTED_CONTRACTS_PER_OWNER

#define SCORUM_ATOMICSWAP_LIMIT_REQUESTED_CONTRACTS_PER_OWNER   (scorum::protocol::detail::get_config().atomicswap_limit_requested_contracts_per_owner)

Definition at line 152 of file config.hpp.

◆ SCORUM_ATOMICSWAP_LIMIT_REQUESTED_CONTRACTS_PER_RECIPIENT

#define SCORUM_ATOMICSWAP_LIMIT_REQUESTED_CONTRACTS_PER_RECIPIENT   (scorum::protocol::detail::get_config().atomicswap_limit_requested_contracts_per_recipient)

Definition at line 153 of file config.hpp.

◆ SCORUM_ATOMICSWAP_PARTICIPANT_REFUND_LOCK_SECS

#define SCORUM_ATOMICSWAP_PARTICIPANT_REFUND_LOCK_SECS   (scorum::protocol::detail::get_config().atomicswap_participant_refund_lock_secs)

Definition at line 150 of file config.hpp.

◆ SCORUM_ATOMICSWAP_SECRET_MAX_LENGTH

#define SCORUM_ATOMICSWAP_SECRET_MAX_LENGTH   1024

Definition at line 111 of file config.hpp.

◆ SCORUM_BANDWIDTH_AVERAGE_WINDOW_SECONDS

#define SCORUM_BANDWIDTH_AVERAGE_WINDOW_SECONDS   (DAYS_TO_SECONDS(7))

Definition at line 213 of file config.hpp.

◆ SCORUM_BANDWIDTH_PRECISION

#define SCORUM_BANDWIDTH_PRECISION   (uint64_t(1000000))

1 million

Definition at line 214 of file config.hpp.

◆ SCORUM_BLOCK_INTERVAL

#define SCORUM_BLOCK_INTERVAL   3

Definition at line 171 of file config.hpp.

◆ SCORUM_BLOCKCHAIN_HARDFORK_VERSION

#define SCORUM_BLOCKCHAIN_HARDFORK_VERSION   ( hardfork_version( SCORUM_BLOCKCHAIN_VERSION ) )

Definition at line 93 of file config.hpp.

◆ SCORUM_BLOCKCHAIN_VERSION

#define SCORUM_BLOCKCHAIN_VERSION   ( version(0, 6, 0) )

Definition at line 91 of file config.hpp.

◆ SCORUM_BLOCKID_POOL_SIZE

#define SCORUM_BLOCKID_POOL_SIZE   (scorum::protocol::detail::get_config().blockid_pool_size)

Definition at line 132 of file config.hpp.

◆ SCORUM_BLOCKS_PER_DAY

#define SCORUM_BLOCKS_PER_DAY   (24*60*60/SCORUM_BLOCK_INTERVAL)

Definition at line 173 of file config.hpp.

◆ SCORUM_BLOCKS_PER_HOUR

#define SCORUM_BLOCKS_PER_HOUR   (60*60/SCORUM_BLOCK_INTERVAL)

Definition at line 174 of file config.hpp.

◆ SCORUM_BLOCKS_PER_YEAR

#define SCORUM_BLOCKS_PER_YEAR   (365*24*60*60/SCORUM_BLOCK_INTERVAL)

Definition at line 172 of file config.hpp.

◆ SCORUM_BUDGETS_LIMIT_PER_OWNER

#define SCORUM_BUDGETS_LIMIT_PER_OWNER   (scorum::protocol::detail::get_config().budgets_limit_per_owner)

Definition at line 147 of file config.hpp.

◆ SCORUM_CASHOUT_WINDOW_SECONDS

#define SCORUM_CASHOUT_WINDOW_SECONDS   (scorum::protocol::detail::get_config().cashout_window_seconds)

Definition at line 134 of file config.hpp.

◆ SCORUM_CREATE_ACCOUNT_DELEGATION_RATIO

#define SCORUM_CREATE_ACCOUNT_DELEGATION_RATIO   5

Definition at line 220 of file config.hpp.

◆ SCORUM_CREATE_ACCOUNT_DELEGATION_TIME

#define SCORUM_CREATE_ACCOUNT_DELEGATION_TIME   fc::days(30)

Definition at line 221 of file config.hpp.

◆ SCORUM_CREATE_ACCOUNT_WITH_SCORUM_MODIFIER

#define SCORUM_CREATE_ACCOUNT_WITH_SCORUM_MODIFIER   30

Definition at line 120 of file config.hpp.

◆ SCORUM_CURATION_REWARD_PERCENT

#define SCORUM_CURATION_REWARD_PERCENT   SCORUM_PERCENT(25)

Definition at line 208 of file config.hpp.

◆ SCORUM_CURRENCY_PRECISION

#define SCORUM_CURRENCY_PRECISION   9

Definition at line 97 of file config.hpp.

◆ SCORUM_DB_FREE_MEMORY_THRESHOLD_MB

#define SCORUM_DB_FREE_MEMORY_THRESHOLD_MB   (scorum::protocol::detail::get_config().db_free_memory_threshold_mb)

Definition at line 160 of file config.hpp.

◆ SCORUM_DEFAULT_BUDGETS_AUCTION_SET

#define SCORUM_DEFAULT_BUDGETS_AUCTION_SET   {100, 85, 75, 65}

Definition at line 99 of file config.hpp.

◆ SCORUM_DEV_TEAM_PER_BLOCK_REWARD_PERCENT

#define SCORUM_DEV_TEAM_PER_BLOCK_REWARD_PERCENT   SCORUM_PERCENT(50)

Definition at line 205 of file config.hpp.

◆ SCORUM_DEVELOPMENT_COMMITTEE_MAX_MEMBERS_LIMIT

#define SCORUM_DEVELOPMENT_COMMITTEE_MAX_MEMBERS_LIMIT   30

Definition at line 169 of file config.hpp.

◆ SCORUM_GUARANTED_REWARD_SUPPLY_PERIOD_IN_DAYS

#define SCORUM_GUARANTED_REWARD_SUPPLY_PERIOD_IN_DAYS   (scorum::protocol::detail::get_config().guaranted_reward_supply_period_in_days)

Definition at line 144 of file config.hpp.

◆ SCORUM_HARDFORK_REQUIRED_WITNESSES

#define SCORUM_HARDFORK_REQUIRED_WITNESSES   (scorum::protocol::detail::get_config().scorum_hardfork_required_witnesses)

Definition at line 182 of file config.hpp.

◆ SCORUM_MAX_ACCOUNT_WITNESS_VOTES

#define SCORUM_MAX_ACCOUNT_WITNESS_VOTES   30

Definition at line 198 of file config.hpp.

◆ SCORUM_MAX_COMMENT_DEPTH

#define SCORUM_MAX_COMMENT_DEPTH   (6)

Definition at line 215 of file config.hpp.

◆ SCORUM_MAX_MEMO_SIZE

#define SCORUM_MAX_MEMO_SIZE   2048

Definition at line 185 of file config.hpp.

◆ SCORUM_MAX_PROXY_RECURSION_DEPTH

#define SCORUM_MAX_PROXY_RECURSION_DEPTH   4

Definition at line 186 of file config.hpp.

◆ SCORUM_MAX_RESERVE_RATIO

#define SCORUM_MAX_RESERVE_RATIO   (20000)

Definition at line 218 of file config.hpp.

◆ SCORUM_MAX_RUNNER_WITNESSES

#define SCORUM_MAX_RUNNER_WITNESSES   (scorum::protocol::detail::get_config().scorum_max_witnesses - scorum::protocol::detail::get_config().scorum_max_voted_witnesses)

Definition at line 178 of file config.hpp.

◆ SCORUM_MAX_SHARE_SUPPLY

#define SCORUM_MAX_SHARE_SUPPLY   share_value_type(100000000e+9)

Definition at line 106 of file config.hpp.

◆ SCORUM_MAX_TIME_UNTIL_EXPIRATION

#define SCORUM_MAX_TIME_UNTIL_EXPIRATION   (60*60)

Definition at line 184 of file config.hpp.

◆ SCORUM_MAX_VOTE_CHANGES

#define SCORUM_MAX_VOTE_CHANGES   3

Definition at line 192 of file config.hpp.

◆ SCORUM_MAX_VOTED_WITNESSES

#define SCORUM_MAX_VOTED_WITNESSES   (scorum::protocol::detail::get_config().scorum_max_voted_witnesses)

Definition at line 177 of file config.hpp.

◆ SCORUM_MAX_WITHDRAW_ROUTES

#define SCORUM_MAX_WITHDRAW_ROUTES   10

Definition at line 188 of file config.hpp.

◆ SCORUM_MAX_WITNESSES

#define SCORUM_MAX_WITNESSES   (scorum::protocol::detail::get_config().scorum_max_witnesses)

Definition at line 179 of file config.hpp.

◆ SCORUM_MAX_WITNESSES_LIMIT

#define SCORUM_MAX_WITNESSES_LIMIT   21

Definition at line 180 of file config.hpp.

◆ SCORUM_MIN_ACCOUNT_CREATION_FEE

#define SCORUM_MIN_ACCOUNT_CREATION_FEE   asset(SCORUM_VOTE_DUST_THRESHOLD/2, SCORUM_SYMBOL)

Definition at line 114 of file config.hpp.

◆ SCORUM_MIN_BET_STAKE_FOR_MATCHING

#define SCORUM_MIN_BET_STAKE_FOR_MATCHING   share_type(1)

Definition at line 128 of file config.hpp.

◆ SCORUM_MIN_COMMENT_PAYOUT_SHARE

#define SCORUM_MIN_COMMENT_PAYOUT_SHARE   share_type(5)

Definition at line 116 of file config.hpp.

◆ SCORUM_MIN_DELEGATE_VESTING_SHARES_MODIFIER

#define SCORUM_MIN_DELEGATE_VESTING_SHARES_MODIFIER   10

Definition at line 122 of file config.hpp.

◆ SCORUM_MIN_PER_BLOCK_REWARD

#define SCORUM_MIN_PER_BLOCK_REWARD   share_type(1)

Definition at line 118 of file config.hpp.

◆ SCORUM_MIN_REPLY_INTERVAL

#define SCORUM_MIN_REPLY_INTERVAL   (fc::seconds(20))

Definition at line 196 of file config.hpp.

◆ SCORUM_MIN_ROOT_COMMENT_INTERVAL

#define SCORUM_MIN_ROOT_COMMENT_INTERVAL   (fc::minutes(5))

Definition at line 195 of file config.hpp.

◆ SCORUM_MIN_VOTE_INTERVAL_SEC

#define SCORUM_MIN_VOTE_INTERVAL_SEC   (scorum::protocol::detail::get_config().min_vote_interval_sec)

Definition at line 158 of file config.hpp.

◆ SCORUM_OWNER_AUTH_RECOVERY_PERIOD

#define SCORUM_OWNER_AUTH_RECOVERY_PERIOD   (scorum::protocol::detail::get_config().owner_auth_recovery_period)

Definition at line 138 of file config.hpp.

◆ SCORUM_OWNER_UPDATE_LIMIT

#define SCORUM_OWNER_UPDATE_LIMIT   (scorum::protocol::detail::get_config().owner_update_limit)

Definition at line 140 of file config.hpp.

◆ SCORUM_PARENT_COMMENT_REWARD_PERCENT

#define SCORUM_PARENT_COMMENT_REWARD_PERCENT   SCORUM_PERCENT(50)

Definition at line 209 of file config.hpp.

◆ SCORUM_PERCENT

#define SCORUM_PERCENT (   X)    (uint16_t)(X*SCORUM_1_PERCENT)

Definition at line 203 of file config.hpp.

◆ SCORUM_REGISTRATION_BONUS_LIMIT_PER_MEMBER_N_BLOCK

#define SCORUM_REGISTRATION_BONUS_LIMIT_PER_MEMBER_N_BLOCK   2

Definition at line 166 of file config.hpp.

◆ SCORUM_REGISTRATION_BONUS_LIMIT_PER_MEMBER_PER_N_BLOCK

#define SCORUM_REGISTRATION_BONUS_LIMIT_PER_MEMBER_PER_N_BLOCK   100

Definition at line 164 of file config.hpp.

◆ SCORUM_REGISTRATION_COMMITTEE_MAX_MEMBERS_LIMIT

#define SCORUM_REGISTRATION_COMMITTEE_MAX_MEMBERS_LIMIT   30

Definition at line 168 of file config.hpp.

◆ SCORUM_REVERSE_AUCTION_WINDOW_SECONDS

#define SCORUM_REVERSE_AUCTION_WINDOW_SECONDS   (scorum::protocol::detail::get_config().reverse_auction_window_seconds)

Definition at line 193 of file config.hpp.

◆ SCORUM_REWARD_INCREASE_THRESHOLD_IN_DAYS

#define SCORUM_REWARD_INCREASE_THRESHOLD_IN_DAYS   (scorum::protocol::detail::get_config().reward_increase_threshold_in_days)

Definition at line 145 of file config.hpp.

◆ SCORUM_REWARDS_INITIAL_SUPPLY_PERIOD_IN_DAYS

#define SCORUM_REWARDS_INITIAL_SUPPLY_PERIOD_IN_DAYS   (scorum::protocol::detail::get_config().rewards_initial_supply_period_in_days)

Definition at line 142 of file config.hpp.

◆ SCORUM_SAVINGS_WITHDRAW_REQUEST_LIMIT

#define SCORUM_SAVINGS_WITHDRAW_REQUEST_LIMIT   100

Definition at line 190 of file config.hpp.

◆ SCORUM_SAVINGS_WITHDRAW_TIME

#define SCORUM_SAVINGS_WITHDRAW_TIME   (fc::days(3))

Definition at line 189 of file config.hpp.

◆ SCORUM_SOFT_MAX_COMMENT_DEPTH

#define SCORUM_SOFT_MAX_COMMENT_DEPTH   (6)

Definition at line 216 of file config.hpp.

◆ SCORUM_START_MINER_VOTING_BLOCK

#define SCORUM_START_MINER_VOTING_BLOCK   (SCORUM_BLOCKS_PER_DAY * 30)

Definition at line 175 of file config.hpp.

◆ SCORUM_START_WITHDRAW_COEFFICIENT

#define SCORUM_START_WITHDRAW_COEFFICIENT   10

Definition at line 124 of file config.hpp.

◆ SCORUM_SYMBOL

#define SCORUM_SYMBOL   (uint64_t(SCORUM_CURRENCY_PRECISION) | (uint64_t('S') << 8) | (uint64_t('C') << 16) | (uint64_t('R') << 24))

Definition at line 102 of file config.hpp.

◆ SCORUM_UPVOTE_LOCKOUT

#define SCORUM_UPVOTE_LOCKOUT   (scorum::protocol::detail::get_config().upvote_lockout)

Definition at line 136 of file config.hpp.

◆ SCORUM_VESTING_WITHDRAW_INTERVAL_SECONDS

#define SCORUM_VESTING_WITHDRAW_INTERVAL_SECONDS   (scorum::protocol::detail::get_config().vesting_withdraw_interval_seconds)

Definition at line 156 of file config.hpp.

◆ SCORUM_VESTING_WITHDRAW_INTERVALS

#define SCORUM_VESTING_WITHDRAW_INTERVALS   (scorum::protocol::detail::get_config().vesting_withdraw_intervals)

Definition at line 155 of file config.hpp.

◆ SCORUM_VOTE_DUST_THRESHOLD

#define SCORUM_VOTE_DUST_THRESHOLD   share_type(50)

Definition at line 108 of file config.hpp.

◆ SCORUM_VOTE_REGENERATION_SECONDS

#define SCORUM_VOTE_REGENERATION_SECONDS   (scorum::protocol::detail::get_config().vote_regeneration_seconds)

Definition at line 191 of file config.hpp.

◆ SCORUM_WITNESS_MISSED_BLOCKS_THRESHOLD

#define SCORUM_WITNESS_MISSED_BLOCKS_THRESHOLD   SCORUM_BLOCKS_PER_DAY/2

Definition at line 181 of file config.hpp.

◆ SCORUM_WITNESS_PER_BLOCK_REWARD_PERCENT

#define SCORUM_WITNESS_PER_BLOCK_REWARD_PERCENT   SCORUM_PERCENT(10)

Definition at line 206 of file config.hpp.

◆ SP_SYMBOL

#define SP_SYMBOL   (uint64_t(SCORUM_CURRENCY_PRECISION) | (uint64_t('S') << 8) | (uint64_t('P') << 16))

Definition at line 104 of file config.hpp.