Scorum
|
Go to the source code of this file.
Classes | |
struct | scorum::protocol::detail::config |
Namespaces | |
scorum | |
scorum::protocol | |
scorum::protocol::detail | |
Functions | |
const config & | scorum::protocol::detail::get_config () |
void | scorum::protocol::detail::override_config (std::unique_ptr< config > new_config) |
#define DAYS_TO_SECONDS | ( | X | ) | (60u*60u*24u*X) |
Definition at line 89 of file config.hpp.
#define SCORUM_100_PERCENT 10000 |
Definition at line 200 of file config.hpp.
#define SCORUM_1_PERCENT (SCORUM_100_PERCENT/100) |
Definition at line 201 of file config.hpp.
#define SCORUM_1_TENTH_PERCENT (SCORUM_100_PERCENT/1000) |
Definition at line 202 of file config.hpp.
#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.
#define SCORUM_ACTIVE_SP_HOLDERS_PER_BLOCK_REWARD_PERCENT SCORUM_PERCENT(10) |
Definition at line 207 of file config.hpp.
#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.
#define SCORUM_ADDRESS_PREFIX "SCR" |
Definition at line 95 of file config.hpp.
#define SCORUM_ADJUST_REWARD_PERCENT SCORUM_PERCENT(5) |
Definition at line 211 of file config.hpp.
#define SCORUM_ATOMICSWAP_CONTRACT_METADATA_MAX_LENGTH 10*1024 |
Definition at line 110 of file config.hpp.
#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.
#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.
#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.
#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.
#define SCORUM_ATOMICSWAP_SECRET_MAX_LENGTH 1024 |
Definition at line 111 of file config.hpp.
#define SCORUM_BANDWIDTH_AVERAGE_WINDOW_SECONDS (DAYS_TO_SECONDS(7)) |
Definition at line 213 of file config.hpp.
#define SCORUM_BANDWIDTH_PRECISION (uint64_t(1000000)) |
1 million
Definition at line 214 of file config.hpp.
#define SCORUM_BLOCK_INTERVAL 3 |
Definition at line 171 of file config.hpp.
#define SCORUM_BLOCKCHAIN_HARDFORK_VERSION ( hardfork_version( SCORUM_BLOCKCHAIN_VERSION ) ) |
Definition at line 93 of file config.hpp.
#define SCORUM_BLOCKCHAIN_VERSION ( version(0, 6, 0) ) |
Definition at line 91 of file config.hpp.
#define SCORUM_BLOCKID_POOL_SIZE (scorum::protocol::detail::get_config().blockid_pool_size) |
Definition at line 132 of file config.hpp.
#define SCORUM_BLOCKS_PER_DAY (24*60*60/SCORUM_BLOCK_INTERVAL) |
Definition at line 173 of file config.hpp.
#define SCORUM_BLOCKS_PER_HOUR (60*60/SCORUM_BLOCK_INTERVAL) |
Definition at line 174 of file config.hpp.
#define SCORUM_BLOCKS_PER_YEAR (365*24*60*60/SCORUM_BLOCK_INTERVAL) |
Definition at line 172 of file config.hpp.
#define SCORUM_BUDGETS_LIMIT_PER_OWNER (scorum::protocol::detail::get_config().budgets_limit_per_owner) |
Definition at line 147 of file config.hpp.
#define SCORUM_CASHOUT_WINDOW_SECONDS (scorum::protocol::detail::get_config().cashout_window_seconds) |
Definition at line 134 of file config.hpp.
#define SCORUM_CREATE_ACCOUNT_DELEGATION_RATIO 5 |
Definition at line 220 of file config.hpp.
#define SCORUM_CREATE_ACCOUNT_DELEGATION_TIME fc::days(30) |
Definition at line 221 of file config.hpp.
#define SCORUM_CREATE_ACCOUNT_WITH_SCORUM_MODIFIER 30 |
Definition at line 120 of file config.hpp.
#define SCORUM_CURATION_REWARD_PERCENT SCORUM_PERCENT(25) |
Definition at line 208 of file config.hpp.
#define SCORUM_CURRENCY_PRECISION 9 |
Definition at line 97 of file config.hpp.
#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.
#define SCORUM_DEFAULT_BUDGETS_AUCTION_SET {100, 85, 75, 65} |
Definition at line 99 of file config.hpp.
#define SCORUM_DEV_TEAM_PER_BLOCK_REWARD_PERCENT SCORUM_PERCENT(50) |
Definition at line 205 of file config.hpp.
#define SCORUM_DEVELOPMENT_COMMITTEE_MAX_MEMBERS_LIMIT 30 |
Definition at line 169 of file config.hpp.
#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.
#define SCORUM_HARDFORK_REQUIRED_WITNESSES (scorum::protocol::detail::get_config().scorum_hardfork_required_witnesses) |
Definition at line 182 of file config.hpp.
#define SCORUM_MAX_ACCOUNT_WITNESS_VOTES 30 |
Definition at line 198 of file config.hpp.
#define SCORUM_MAX_COMMENT_DEPTH (6) |
Definition at line 215 of file config.hpp.
#define SCORUM_MAX_MEMO_SIZE 2048 |
Definition at line 185 of file config.hpp.
#define SCORUM_MAX_PROXY_RECURSION_DEPTH 4 |
Definition at line 186 of file config.hpp.
#define SCORUM_MAX_RESERVE_RATIO (20000) |
Definition at line 218 of file config.hpp.
#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.
#define SCORUM_MAX_SHARE_SUPPLY share_value_type(100000000e+9) |
Definition at line 106 of file config.hpp.
#define SCORUM_MAX_TIME_UNTIL_EXPIRATION (60*60) |
Definition at line 184 of file config.hpp.
#define SCORUM_MAX_VOTE_CHANGES 3 |
Definition at line 192 of file config.hpp.
#define SCORUM_MAX_VOTED_WITNESSES (scorum::protocol::detail::get_config().scorum_max_voted_witnesses) |
Definition at line 177 of file config.hpp.
#define SCORUM_MAX_WITHDRAW_ROUTES 10 |
Definition at line 188 of file config.hpp.
#define SCORUM_MAX_WITNESSES (scorum::protocol::detail::get_config().scorum_max_witnesses) |
Definition at line 179 of file config.hpp.
#define SCORUM_MAX_WITNESSES_LIMIT 21 |
Definition at line 180 of file config.hpp.
#define SCORUM_MIN_ACCOUNT_CREATION_FEE asset(SCORUM_VOTE_DUST_THRESHOLD/2, SCORUM_SYMBOL) |
Definition at line 114 of file config.hpp.
#define SCORUM_MIN_BET_STAKE_FOR_MATCHING share_type(1) |
Definition at line 128 of file config.hpp.
#define SCORUM_MIN_COMMENT_PAYOUT_SHARE share_type(5) |
Definition at line 116 of file config.hpp.
#define SCORUM_MIN_DELEGATE_VESTING_SHARES_MODIFIER 10 |
Definition at line 122 of file config.hpp.
#define SCORUM_MIN_PER_BLOCK_REWARD share_type(1) |
Definition at line 118 of file config.hpp.
#define SCORUM_MIN_REPLY_INTERVAL (fc::seconds(20)) |
Definition at line 196 of file config.hpp.
#define SCORUM_MIN_ROOT_COMMENT_INTERVAL (fc::minutes(5)) |
Definition at line 195 of file config.hpp.
#define SCORUM_MIN_VOTE_INTERVAL_SEC (scorum::protocol::detail::get_config().min_vote_interval_sec) |
Definition at line 158 of file config.hpp.
#define SCORUM_OWNER_AUTH_RECOVERY_PERIOD (scorum::protocol::detail::get_config().owner_auth_recovery_period) |
Definition at line 138 of file config.hpp.
#define SCORUM_OWNER_UPDATE_LIMIT (scorum::protocol::detail::get_config().owner_update_limit) |
Definition at line 140 of file config.hpp.
#define SCORUM_PARENT_COMMENT_REWARD_PERCENT SCORUM_PERCENT(50) |
Definition at line 209 of file config.hpp.
#define SCORUM_PERCENT | ( | X | ) | (uint16_t)(X*SCORUM_1_PERCENT) |
Definition at line 203 of file config.hpp.
#define SCORUM_REGISTRATION_BONUS_LIMIT_PER_MEMBER_N_BLOCK 2 |
Definition at line 166 of file config.hpp.
#define SCORUM_REGISTRATION_BONUS_LIMIT_PER_MEMBER_PER_N_BLOCK 100 |
Definition at line 164 of file config.hpp.
#define SCORUM_REGISTRATION_COMMITTEE_MAX_MEMBERS_LIMIT 30 |
Definition at line 168 of file config.hpp.
#define SCORUM_REVERSE_AUCTION_WINDOW_SECONDS (scorum::protocol::detail::get_config().reverse_auction_window_seconds) |
Definition at line 193 of file config.hpp.
#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.
#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.
#define SCORUM_SAVINGS_WITHDRAW_REQUEST_LIMIT 100 |
Definition at line 190 of file config.hpp.
#define SCORUM_SAVINGS_WITHDRAW_TIME (fc::days(3)) |
Definition at line 189 of file config.hpp.
#define SCORUM_SOFT_MAX_COMMENT_DEPTH (6) |
Definition at line 216 of file config.hpp.
#define SCORUM_START_MINER_VOTING_BLOCK (SCORUM_BLOCKS_PER_DAY * 30) |
Definition at line 175 of file config.hpp.
#define SCORUM_START_WITHDRAW_COEFFICIENT 10 |
Definition at line 124 of file config.hpp.
#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.
#define SCORUM_UPVOTE_LOCKOUT (scorum::protocol::detail::get_config().upvote_lockout) |
Definition at line 136 of file config.hpp.
#define SCORUM_VESTING_WITHDRAW_INTERVAL_SECONDS (scorum::protocol::detail::get_config().vesting_withdraw_interval_seconds) |
Definition at line 156 of file config.hpp.
#define SCORUM_VESTING_WITHDRAW_INTERVALS (scorum::protocol::detail::get_config().vesting_withdraw_intervals) |
Definition at line 155 of file config.hpp.
#define SCORUM_VOTE_DUST_THRESHOLD share_type(50) |
Definition at line 108 of file config.hpp.
#define SCORUM_VOTE_REGENERATION_SECONDS (scorum::protocol::detail::get_config().vote_regeneration_seconds) |
Definition at line 191 of file config.hpp.
#define SCORUM_WITNESS_MISSED_BLOCKS_THRESHOLD SCORUM_BLOCKS_PER_DAY/2 |
Definition at line 181 of file config.hpp.
#define SCORUM_WITNESS_PER_BLOCK_REWARD_PERCENT SCORUM_PERCENT(10) |
Definition at line 206 of file config.hpp.
#define SP_SYMBOL (uint64_t(SCORUM_CURRENCY_PRECISION) | (uint64_t('S') << 8) | (uint64_t('P') << 16)) |
Definition at line 104 of file config.hpp.