Electroneum
cryptonote_config.h File Reference
#include <stdexcept>
#include <string>
#include <boost/uuid/uuid.hpp>
Include dependency graph for cryptonote_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cryptonote::config_t
 

Namespaces

 config
 
 config::testnet
 
 config::stagenet
 
 cryptonote
 Holds cryptonote related classes and helpers.
 

Macros

#define CRYPTONOTE_DNS_TIMEOUT_MS   60000
 
#define CRYPTONOTE_MAX_BLOCK_NUMBER   500000000
 
#define CRYPTONOTE_GETBLOCKTEMPLATE_MAX_BLOCK_SIZE   196608
 
#define CRYPTONOTE_MAX_TX_SIZE   1000000
 
#define CRYPTONOTE_MAX_TX_PER_BLOCK   0x10000000
 
#define CRYPTONOTE_PUBLIC_ADDRESS_TEXTBLOB_VER   0
 
#define CRYPTONOTE_MINED_ETN_UNLOCK_WINDOW   18
 
#define ETN_MINED_ETN_UNLOCK_WINDOW_V8   5
 
#define CURRENT_TRANSACTION_VERSION   3
 
#define CURRENT_BLOCK_MAJOR_VERSION   1
 
#define CURRENT_BLOCK_MINOR_VERSION   0
 
#define CRYPTONOTE_BLOCK_FUTURE_TIME_LIMIT   60*60*2
 
#define CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE   10
 
#define ETN_DEFAULT_TX_SPENDABLE_AGE_V8   5
 
#define BLOCKCHAIN_TIMESTAMP_CHECK_WINDOW   60
 
#define ETN_SUPPLY   ((uint64_t)(2100000000000))
 
#define EMISSION_SPEED_FACTOR_PER_MINUTE   (20)
 
#define EMISSION_SPEED_FACTOR_PER_MINUTE_V8   (22)
 
#define FINAL_SUBSIDY_PER_MINUTE   ((uint64_t) 25 * COIN)
 
#define CRYPTONOTE_REWARD_BLOCKS_WINDOW   100
 
#define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V2   60000
 
#define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V1   20000
 
#define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V5   150000
 
#define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V8   300000
 
#define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V10   500000
 
#define CRYPTONOTE_LONG_TERM_BLOCK_WEIGHT_WINDOW_SIZE   100000
 
#define CRYPTONOTE_SHORT_TERM_BLOCK_WEIGHT_SURGE_FACTOR   50
 
#define CRYPTONOTE_COINBASE_BLOB_RESERVED_SIZE   600
 
#define CRYPTONOTE_DISPLAY_DECIMAL_POINT   2
 
#define COIN   ((uint64_t)100)
 
#define FEE_PER_KB   ((uint64_t)1)
 
#define FEE_PER_KB_V6   ((uint64_t)10)
 
#define FEE_PER_KB_V11   ((uint64_t)0)
 
#define FEE_PER_BYTE   ((uint64_t)30)
 
#define DEFAULT_MIX   0
 
#define DEFAULT_RINGSIZE   (DEFAULT_MIX + 1)
 
#define DYNAMIC_FEE_PER_KB_BASE_FEE   ((uint64_t)2000000000)
 
#define DYNAMIC_FEE_PER_KB_BASE_BLOCK_REWARD   ((uint64_t)10000000000000)
 
#define DYNAMIC_FEE_PER_KB_BASE_FEE_V5   ((uint64_t)2000000000 * (uint64_t)CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V2 / CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V5)
 
#define DYNAMIC_FEE_REFERENCE_TRANSACTION_WEIGHT   ((uint64_t)3000)
 
#define ORPHANED_BLOCKS_MAX_COUNT   100
 
#define DIFFICULTY_TARGET   60
 
#define DIFFICULTY_TARGET_V6   120
 
#define DIFFICULTY_WINDOW   720
 
#define DIFFICULTY_WINDOW_V6   360
 
#define DIFFICULTY_LAG   15
 
#define DIFFICULTY_CUT   60
 
#define DIFFICULTY_BLOCKS_COUNT   DIFFICULTY_WINDOW + DIFFICULTY_LAG
 
#define DIFFICULTY_BLOCKS_COUNT_V6   DIFFICULTY_WINDOW_V6 + DIFFICULTY_LAG
 
#define CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_BLOCKS   1
 
#define CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_SECONDS   DIFFICULTY_TARGET * CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_BLOCKS
 
#define CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_SECONDS_V6   DIFFICULTY_TARGET_V6 * CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_BLOCKS
 
#define DIFFICULTY_BLOCKS_ESTIMATE_TIMESPAN   DIFFICULTY_TARGET
 
#define DIFFICULTY_BLOCKS_ESTIMATE_TIMESPAN_V6   DIFFICULTY_TARGET_V6
 
#define BLOCKS_IDS_SYNCHRONIZING_DEFAULT_COUNT   10000
 
#define BLOCKS_SYNCHRONIZING_DEFAULT_COUNT_PRE_V4   100
 
#define BLOCKS_SYNCHRONIZING_DEFAULT_COUNT   20
 
#define CRYPTONOTE_MEMPOOL_TX_LIVETIME   86400
 
#define CRYPTONOTE_MEMPOOL_TX_LIVETIME_V6   (86400*3)
 
#define CRYPTONOTE_MEMPOOL_TX_FROM_ALT_BLOCK_LIVETIME   604800
 
#define COMMAND_RPC_GET_BLOCKS_FAST_MAX_COUNT   1000
 
#define P2P_LOCAL_WHITE_PEERLIST_LIMIT   1000
 
#define P2P_LOCAL_GRAY_PEERLIST_LIMIT   5000
 
#define P2P_DEFAULT_CONNECTIONS_COUNT   8
 
#define P2P_DEFAULT_HANDSHAKE_INTERVAL   60
 
#define P2P_DEFAULT_PACKET_MAX_SIZE   50000000
 
#define P2P_DEFAULT_PEERS_IN_HANDSHAKE   250
 
#define P2P_DEFAULT_CONNECTION_TIMEOUT   5000
 
#define P2P_DEFAULT_SOCKS_CONNECT_TIMEOUT   45
 
#define P2P_DEFAULT_PING_CONNECTION_TIMEOUT   2000
 
#define P2P_DEFAULT_INVOKE_TIMEOUT   60*2*1000
 
#define P2P_DEFAULT_HANDSHAKE_INVOKE_TIMEOUT   5000
 
#define P2P_DEFAULT_WHITELIST_CONNECTIONS_PERCENT   70
 
#define P2P_DEFAULT_ANCHOR_CONNECTIONS_COUNT   2
 
#define P2P_DEFAULT_SYNC_SEARCH_CONNECTIONS_COUNT   2
 
#define P2P_DEFAULT_LIMIT_RATE_UP   2048
 
#define P2P_DEFAULT_LIMIT_RATE_DOWN   8192
 
#define P2P_FAILED_ADDR_FORGET_SECONDS   (60*60)
 
#define P2P_IP_BLOCKTIME   (60*60*24)
 
#define P2P_IP_FAILS_BEFORE_BLOCK   10
 
#define P2P_IDLE_CONNECTION_KILL_INTERVAL   (5*60)
 
#define P2P_SUPPORT_FLAG_FLUFFY_BLOCKS   0x01
 
#define P2P_SUPPORT_FLAGS   P2P_SUPPORT_FLAG_FLUFFY_BLOCKS
 
#define ALLOW_DEBUG_COMMANDS
 
#define CRYPTONOTE_NAME   "electroneum"
 
#define CRYPTONOTE_POOLDATA_FILENAME   "poolstate.bin"
 
#define CRYPTONOTE_BLOCKCHAINDATA_FILENAME   "data.mdb"
 
#define CRYPTONOTE_BLOCKCHAINDATA_LOCK_FILENAME   "lock.mdb"
 
#define P2P_NET_DATA_FILENAME   "p2pstate.bin"
 
#define MINER_CONFIG_FILE_NAME   "miner_conf.json"
 
#define THREAD_STACK_SIZE   5 * 1024 * 1024
 
#define CURRENT_HARDFORK_VERSION   11
 
#define HF_VERSION_FORBID_DUST_OUTPUTS   2
 
#define HF_VERSION_FORBID_INVALID_PUBKEYS   4
 
#define HF_VERSION_ENFORCE_0_DECOY_TXS   6
 
#define HF_VERSION_ENFORCE_0_DECOY_TXS_END   100
 
#define HF_VERSION_DYNAMIC_FEE   100
 
#define HF_VERSION_ZERO_FEE   11
 
#define HF_VERSION_MIN_MIXIN_2   2
 
#define HF_VERSION_MIN_MIXIN_4   100
 
#define HF_VERSION_MIN_MIXIN_6   100
 
#define HF_VERSION_MIN_MIXIN_10   100
 
#define HF_VERSION_MAX_RING_11   100
 
#define HF_VERSION_ENABLE_RCT   100
 
#define HF_VERSION_ENFORCE_RCT   100
 
#define HF_VERSION_PER_BYTE_FEE   100
 
#define HF_VERSION_SMALLER_BP   100
 
#define HF_VERSION_LONG_TERM_BLOCK_WEIGHT   100
 
#define HF_VERSION_ORDERED_TX_INPUTS   100
 
#define HF_VERSION_ALLOW_BULLETPROOF   100
 
#define HF_VERSION_FORBIT_BORROMEAN_RANGE_PROOFS   HF_VERSION_ALLOW_BULLETPROOF + 1
 
#define HF_VERSION_PUBLIC_TX   10
 
#define PER_KB_FEE_QUANTIZATION_DECIMALS   2
 
#define DEFAULT_TXPOOL_MAX_WEIGHT   648000000ull
 
#define BULLETPROOF_MAX_OUTPUTS   16
 
#define CRYPTONOTE_PRUNING_STRIPE_SIZE   4096
 
#define CRYPTONOTE_PRUNING_LOG_STRIPES   3
 
#define CRYPTONOTE_PRUNING_TIP_BLOCKS   5500
 

Enumerations

enum  cryptonote::network_type : uint8_t {
  cryptonote::MAINNET = 0, cryptonote::TESTNET, cryptonote::STAGENET, cryptonote::FAKECHAIN,
  cryptonote::UNDEFINED = 255
}
 

Functions

const config_t & cryptonote::get_config (network_type nettype)
 

Variables

uint64_t const config::DEFAULT_FEE_ATOMIC_ETN_PER_KB = 500
 
uint8_t const config::FEE_CALCULATION_MAX_RETRIES = 10
 
uint64_t const config::DEFAULT_DUST_THRESHOLD = ((uint64_t)1)
 
uint64_t const config::BASE_REWARD_CLAMP_THRESHOLD = ((uint64_t)100000000)
 
std::string const config::P2P_REMOTE_DEBUG_TRUSTED_PUB_KEY = "0000000000000000000000000000000000000000000000000000000000000000"
 
uint64_t const config::CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX = 18018
 
uint64_t const config::CRYPTONOTE_PUBLIC_INTEGRATED_ADDRESS_BASE58_PREFIX = 18019
 
uint64_t const config::CRYPTONOTE_PUBLIC_SUBADDRESS_BASE58_PREFIX = 34402
 
uint16_t const config::P2P_DEFAULT_PORT = 26967
 
uint16_t const config::RPC_DEFAULT_PORT = 26968
 
uint16_t const config::ZMQ_RPC_DEFAULT_PORT = 26982
 
boost::uuids::uuid const config::NETWORK_ID
 
std::string const config::GENESIS_TX = "011201ff00011e026bc5c7db8a664f652d78adb587ac4d759c6757258b64ef9cba3c0354e64fb2e42101abca6a39c561d0897be183eb0143990eba201aa7d2c652ab0555d28bb4b70728"
 
uint32_t const config::GENESIS_NONCE = 10000
 
uint64_t const config::testnet::CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX = 18018
 
uint64_t const config::testnet::CRYPTONOTE_PUBLIC_INTEGRATED_ADDRESS_BASE58_PREFIX = 18019
 
uint64_t const config::testnet::CRYPTONOTE_PUBLIC_SUBADDRESS_BASE58_PREFIX = 34402
 
uint16_t const config::testnet::P2P_DEFAULT_PORT = 34567
 
uint16_t const config::testnet::RPC_DEFAULT_PORT = 34568
 
uint16_t const config::testnet::ZMQ_RPC_DEFAULT_PORT = 34582
 
boost::uuids::uuid const config::testnet::NETWORK_ID
 
std::string const config::testnet::GENESIS_TX = "011201ff000180bcf5dace2102a7957ab8394540efaa5bc93d747d6c56d8bf87b1c955574963dfbcf62ab13b5c210120d88af73976c98be9819df7e85bc21167d3194e242afd50601e398243c354b6"
 
uint32_t const config::testnet::GENESIS_NONCE = 10000
 
uint64_t const config::stagenet::CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX = 18018
 
uint64_t const config::stagenet::CRYPTONOTE_PUBLIC_INTEGRATED_ADDRESS_BASE58_PREFIX = 18019
 
uint64_t const config::stagenet::CRYPTONOTE_PUBLIC_SUBADDRESS_BASE58_PREFIX = 34402
 
uint16_t const config::stagenet::P2P_DEFAULT_PORT = 38080
 
uint16_t const config::stagenet::RPC_DEFAULT_PORT = 38081
 
uint16_t const config::stagenet::ZMQ_RPC_DEFAULT_PORT = 38082
 
boost::uuids::uuid const config::stagenet::NETWORK_ID
 
std::string const config::stagenet::GENESIS_TX = "013c01ff0001ffffffffffff0302df5d56da0c7d643ddd1ce61901c7bdc5fb1738bfe39fbe69c28a3a7032729c0f2101168d0c4ca86fb55a4cf6a36d31431be1c53a3bd7411bb24e8832410289fa6f3b"
 
uint32_t const config::stagenet::GENESIS_NONCE = 10002
 

Macro Definition Documentation

◆ ALLOW_DEBUG_COMMANDS

#define ALLOW_DEBUG_COMMANDS

Definition at line 147 of file cryptonote_config.h.

◆ BLOCKCHAIN_TIMESTAMP_CHECK_WINDOW

#define BLOCKCHAIN_TIMESTAMP_CHECK_WINDOW   60

Definition at line 54 of file cryptonote_config.h.

◆ BLOCKS_IDS_SYNCHRONIZING_DEFAULT_COUNT

#define BLOCKS_IDS_SYNCHRONIZING_DEFAULT_COUNT   10000

Definition at line 111 of file cryptonote_config.h.

◆ BLOCKS_SYNCHRONIZING_DEFAULT_COUNT

#define BLOCKS_SYNCHRONIZING_DEFAULT_COUNT   20

Definition at line 113 of file cryptonote_config.h.

◆ BLOCKS_SYNCHRONIZING_DEFAULT_COUNT_PRE_V4

#define BLOCKS_SYNCHRONIZING_DEFAULT_COUNT_PRE_V4   100

Definition at line 112 of file cryptonote_config.h.

◆ BULLETPROOF_MAX_OUTPUTS

#define BULLETPROOF_MAX_OUTPUTS   16

Definition at line 185 of file cryptonote_config.h.

◆ COIN

#define COIN   ((uint64_t)100)

Definition at line 74 of file cryptonote_config.h.

◆ COMMAND_RPC_GET_BLOCKS_FAST_MAX_COUNT

#define COMMAND_RPC_GET_BLOCKS_FAST_MAX_COUNT   1000

Definition at line 119 of file cryptonote_config.h.

◆ CRYPTONOTE_BLOCK_FUTURE_TIME_LIMIT

#define CRYPTONOTE_BLOCK_FUTURE_TIME_LIMIT   60*60*2

Definition at line 50 of file cryptonote_config.h.

◆ CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V1

#define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V1   20000

Definition at line 65 of file cryptonote_config.h.

◆ CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V10

#define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V10   500000

Definition at line 68 of file cryptonote_config.h.

◆ CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V2

#define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V2   60000

Definition at line 64 of file cryptonote_config.h.

◆ CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V5

#define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V5   150000

Definition at line 66 of file cryptonote_config.h.

◆ CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V8

#define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V8   300000

Definition at line 67 of file cryptonote_config.h.

◆ CRYPTONOTE_BLOCKCHAINDATA_FILENAME

#define CRYPTONOTE_BLOCKCHAINDATA_FILENAME   "data.mdb"

Definition at line 151 of file cryptonote_config.h.

◆ CRYPTONOTE_BLOCKCHAINDATA_LOCK_FILENAME

#define CRYPTONOTE_BLOCKCHAINDATA_LOCK_FILENAME   "lock.mdb"

Definition at line 152 of file cryptonote_config.h.

◆ CRYPTONOTE_COINBASE_BLOB_RESERVED_SIZE

#define CRYPTONOTE_COINBASE_BLOB_RESERVED_SIZE   600

Definition at line 71 of file cryptonote_config.h.

◆ CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE

#define CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE   10

Definition at line 51 of file cryptonote_config.h.

◆ CRYPTONOTE_DISPLAY_DECIMAL_POINT

#define CRYPTONOTE_DISPLAY_DECIMAL_POINT   2

Definition at line 72 of file cryptonote_config.h.

◆ CRYPTONOTE_DNS_TIMEOUT_MS

#define CRYPTONOTE_DNS_TIMEOUT_MS   60000

Definition at line 38 of file cryptonote_config.h.

◆ CRYPTONOTE_GETBLOCKTEMPLATE_MAX_BLOCK_SIZE

#define CRYPTONOTE_GETBLOCKTEMPLATE_MAX_BLOCK_SIZE   196608

Definition at line 41 of file cryptonote_config.h.

◆ CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_BLOCKS

#define CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_BLOCKS   1

Definition at line 102 of file cryptonote_config.h.

◆ CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_SECONDS

#define CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_SECONDS   DIFFICULTY_TARGET * CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_BLOCKS

Definition at line 103 of file cryptonote_config.h.

◆ CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_SECONDS_V6

#define CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_SECONDS_V6   DIFFICULTY_TARGET_V6 * CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_BLOCKS

Definition at line 104 of file cryptonote_config.h.

◆ CRYPTONOTE_LONG_TERM_BLOCK_WEIGHT_WINDOW_SIZE

#define CRYPTONOTE_LONG_TERM_BLOCK_WEIGHT_WINDOW_SIZE   100000

Definition at line 69 of file cryptonote_config.h.

◆ CRYPTONOTE_MAX_BLOCK_NUMBER

#define CRYPTONOTE_MAX_BLOCK_NUMBER   500000000

Definition at line 40 of file cryptonote_config.h.

◆ CRYPTONOTE_MAX_TX_PER_BLOCK

#define CRYPTONOTE_MAX_TX_PER_BLOCK   0x10000000

Definition at line 43 of file cryptonote_config.h.

◆ CRYPTONOTE_MAX_TX_SIZE

#define CRYPTONOTE_MAX_TX_SIZE   1000000

Definition at line 42 of file cryptonote_config.h.

◆ CRYPTONOTE_MEMPOOL_TX_FROM_ALT_BLOCK_LIVETIME

#define CRYPTONOTE_MEMPOOL_TX_FROM_ALT_BLOCK_LIVETIME   604800

Definition at line 117 of file cryptonote_config.h.

◆ CRYPTONOTE_MEMPOOL_TX_LIVETIME

#define CRYPTONOTE_MEMPOOL_TX_LIVETIME   86400

Definition at line 115 of file cryptonote_config.h.

◆ CRYPTONOTE_MEMPOOL_TX_LIVETIME_V6

#define CRYPTONOTE_MEMPOOL_TX_LIVETIME_V6   (86400*3)

Definition at line 116 of file cryptonote_config.h.

◆ CRYPTONOTE_MINED_ETN_UNLOCK_WINDOW

#define CRYPTONOTE_MINED_ETN_UNLOCK_WINDOW   18

Definition at line 45 of file cryptonote_config.h.

◆ CRYPTONOTE_NAME

#define CRYPTONOTE_NAME   "electroneum"

Definition at line 149 of file cryptonote_config.h.

◆ CRYPTONOTE_POOLDATA_FILENAME

#define CRYPTONOTE_POOLDATA_FILENAME   "poolstate.bin"

Definition at line 150 of file cryptonote_config.h.

◆ CRYPTONOTE_PRUNING_LOG_STRIPES

#define CRYPTONOTE_PRUNING_LOG_STRIPES   3

Definition at line 188 of file cryptonote_config.h.

◆ CRYPTONOTE_PRUNING_STRIPE_SIZE

#define CRYPTONOTE_PRUNING_STRIPE_SIZE   4096

Definition at line 187 of file cryptonote_config.h.

◆ CRYPTONOTE_PRUNING_TIP_BLOCKS

#define CRYPTONOTE_PRUNING_TIP_BLOCKS   5500

Definition at line 189 of file cryptonote_config.h.

◆ CRYPTONOTE_PUBLIC_ADDRESS_TEXTBLOB_VER

#define CRYPTONOTE_PUBLIC_ADDRESS_TEXTBLOB_VER   0

Definition at line 44 of file cryptonote_config.h.

◆ CRYPTONOTE_REWARD_BLOCKS_WINDOW

#define CRYPTONOTE_REWARD_BLOCKS_WINDOW   100

Definition at line 63 of file cryptonote_config.h.

◆ CRYPTONOTE_SHORT_TERM_BLOCK_WEIGHT_SURGE_FACTOR

#define CRYPTONOTE_SHORT_TERM_BLOCK_WEIGHT_SURGE_FACTOR   50

Definition at line 70 of file cryptonote_config.h.

◆ CURRENT_BLOCK_MAJOR_VERSION

#define CURRENT_BLOCK_MAJOR_VERSION   1

Definition at line 48 of file cryptonote_config.h.

◆ CURRENT_BLOCK_MINOR_VERSION

#define CURRENT_BLOCK_MINOR_VERSION   0

Definition at line 49 of file cryptonote_config.h.

◆ CURRENT_HARDFORK_VERSION

#define CURRENT_HARDFORK_VERSION   11

Definition at line 158 of file cryptonote_config.h.

◆ CURRENT_TRANSACTION_VERSION

#define CURRENT_TRANSACTION_VERSION   3

Definition at line 47 of file cryptonote_config.h.

◆ DEFAULT_MIX

#define DEFAULT_MIX   0

Definition at line 82 of file cryptonote_config.h.

◆ DEFAULT_RINGSIZE

#define DEFAULT_RINGSIZE   (DEFAULT_MIX + 1)

Definition at line 83 of file cryptonote_config.h.

◆ DEFAULT_TXPOOL_MAX_WEIGHT

#define DEFAULT_TXPOOL_MAX_WEIGHT   648000000ull

Definition at line 183 of file cryptonote_config.h.

◆ DIFFICULTY_BLOCKS_COUNT

#define DIFFICULTY_BLOCKS_COUNT   DIFFICULTY_WINDOW + DIFFICULTY_LAG

Definition at line 98 of file cryptonote_config.h.

◆ DIFFICULTY_BLOCKS_COUNT_V6

#define DIFFICULTY_BLOCKS_COUNT_V6   DIFFICULTY_WINDOW_V6 + DIFFICULTY_LAG

Definition at line 99 of file cryptonote_config.h.

◆ DIFFICULTY_BLOCKS_ESTIMATE_TIMESPAN

#define DIFFICULTY_BLOCKS_ESTIMATE_TIMESPAN   DIFFICULTY_TARGET

Definition at line 107 of file cryptonote_config.h.

◆ DIFFICULTY_BLOCKS_ESTIMATE_TIMESPAN_V6

#define DIFFICULTY_BLOCKS_ESTIMATE_TIMESPAN_V6   DIFFICULTY_TARGET_V6

Definition at line 108 of file cryptonote_config.h.

◆ DIFFICULTY_CUT

#define DIFFICULTY_CUT   60

Definition at line 97 of file cryptonote_config.h.

◆ DIFFICULTY_LAG

#define DIFFICULTY_LAG   15

Definition at line 96 of file cryptonote_config.h.

◆ DIFFICULTY_TARGET

#define DIFFICULTY_TARGET   60

Definition at line 92 of file cryptonote_config.h.

◆ DIFFICULTY_TARGET_V6

#define DIFFICULTY_TARGET_V6   120

Definition at line 93 of file cryptonote_config.h.

◆ DIFFICULTY_WINDOW

#define DIFFICULTY_WINDOW   720

Definition at line 94 of file cryptonote_config.h.

◆ DIFFICULTY_WINDOW_V6

#define DIFFICULTY_WINDOW_V6   360

Definition at line 95 of file cryptonote_config.h.

◆ DYNAMIC_FEE_PER_KB_BASE_BLOCK_REWARD

#define DYNAMIC_FEE_PER_KB_BASE_BLOCK_REWARD   ((uint64_t)10000000000000)

Definition at line 86 of file cryptonote_config.h.

◆ DYNAMIC_FEE_PER_KB_BASE_FEE

#define DYNAMIC_FEE_PER_KB_BASE_FEE   ((uint64_t)2000000000)

Definition at line 85 of file cryptonote_config.h.

◆ DYNAMIC_FEE_PER_KB_BASE_FEE_V5

Definition at line 87 of file cryptonote_config.h.

◆ DYNAMIC_FEE_REFERENCE_TRANSACTION_WEIGHT

#define DYNAMIC_FEE_REFERENCE_TRANSACTION_WEIGHT   ((uint64_t)3000)

Definition at line 88 of file cryptonote_config.h.

◆ EMISSION_SPEED_FACTOR_PER_MINUTE

#define EMISSION_SPEED_FACTOR_PER_MINUTE   (20)

Definition at line 58 of file cryptonote_config.h.

◆ EMISSION_SPEED_FACTOR_PER_MINUTE_V8

#define EMISSION_SPEED_FACTOR_PER_MINUTE_V8   (22)

Definition at line 59 of file cryptonote_config.h.

◆ ETN_DEFAULT_TX_SPENDABLE_AGE_V8

#define ETN_DEFAULT_TX_SPENDABLE_AGE_V8   5

Definition at line 52 of file cryptonote_config.h.

◆ ETN_MINED_ETN_UNLOCK_WINDOW_V8

#define ETN_MINED_ETN_UNLOCK_WINDOW_V8   5

Definition at line 46 of file cryptonote_config.h.

◆ ETN_SUPPLY

#define ETN_SUPPLY   ((uint64_t)(2100000000000))

Definition at line 57 of file cryptonote_config.h.

◆ FEE_PER_BYTE

#define FEE_PER_BYTE   ((uint64_t)30)

Definition at line 80 of file cryptonote_config.h.

◆ FEE_PER_KB

#define FEE_PER_KB   ((uint64_t)1)

Definition at line 76 of file cryptonote_config.h.

◆ FEE_PER_KB_V11

#define FEE_PER_KB_V11   ((uint64_t)0)

Definition at line 78 of file cryptonote_config.h.

◆ FEE_PER_KB_V6

#define FEE_PER_KB_V6   ((uint64_t)10)

Definition at line 77 of file cryptonote_config.h.

◆ FINAL_SUBSIDY_PER_MINUTE

#define FINAL_SUBSIDY_PER_MINUTE   ((uint64_t) 25 * COIN)

Definition at line 61 of file cryptonote_config.h.

◆ HF_VERSION_ALLOW_BULLETPROOF

#define HF_VERSION_ALLOW_BULLETPROOF   100

Definition at line 176 of file cryptonote_config.h.

◆ HF_VERSION_DYNAMIC_FEE

#define HF_VERSION_DYNAMIC_FEE   100

Definition at line 163 of file cryptonote_config.h.

◆ HF_VERSION_ENABLE_RCT

#define HF_VERSION_ENABLE_RCT   100

Definition at line 170 of file cryptonote_config.h.

◆ HF_VERSION_ENFORCE_0_DECOY_TXS

#define HF_VERSION_ENFORCE_0_DECOY_TXS   6

Definition at line 161 of file cryptonote_config.h.

◆ HF_VERSION_ENFORCE_0_DECOY_TXS_END

#define HF_VERSION_ENFORCE_0_DECOY_TXS_END   100

Definition at line 162 of file cryptonote_config.h.

◆ HF_VERSION_ENFORCE_RCT

#define HF_VERSION_ENFORCE_RCT   100

Definition at line 171 of file cryptonote_config.h.

◆ HF_VERSION_FORBID_DUST_OUTPUTS

#define HF_VERSION_FORBID_DUST_OUTPUTS   2

Definition at line 159 of file cryptonote_config.h.

◆ HF_VERSION_FORBID_INVALID_PUBKEYS

#define HF_VERSION_FORBID_INVALID_PUBKEYS   4

Definition at line 160 of file cryptonote_config.h.

◆ HF_VERSION_FORBIT_BORROMEAN_RANGE_PROOFS

#define HF_VERSION_FORBIT_BORROMEAN_RANGE_PROOFS   HF_VERSION_ALLOW_BULLETPROOF + 1

Definition at line 177 of file cryptonote_config.h.

◆ HF_VERSION_LONG_TERM_BLOCK_WEIGHT

#define HF_VERSION_LONG_TERM_BLOCK_WEIGHT   100

Definition at line 174 of file cryptonote_config.h.

◆ HF_VERSION_MAX_RING_11

#define HF_VERSION_MAX_RING_11   100

Definition at line 169 of file cryptonote_config.h.

◆ HF_VERSION_MIN_MIXIN_10

#define HF_VERSION_MIN_MIXIN_10   100

Definition at line 168 of file cryptonote_config.h.

◆ HF_VERSION_MIN_MIXIN_2

#define HF_VERSION_MIN_MIXIN_2   2

Definition at line 165 of file cryptonote_config.h.

◆ HF_VERSION_MIN_MIXIN_4

#define HF_VERSION_MIN_MIXIN_4   100

Definition at line 166 of file cryptonote_config.h.

◆ HF_VERSION_MIN_MIXIN_6

#define HF_VERSION_MIN_MIXIN_6   100

Definition at line 167 of file cryptonote_config.h.

◆ HF_VERSION_ORDERED_TX_INPUTS

#define HF_VERSION_ORDERED_TX_INPUTS   100

Definition at line 175 of file cryptonote_config.h.

◆ HF_VERSION_PER_BYTE_FEE

#define HF_VERSION_PER_BYTE_FEE   100

Definition at line 172 of file cryptonote_config.h.

◆ HF_VERSION_PUBLIC_TX

#define HF_VERSION_PUBLIC_TX   10

Definition at line 178 of file cryptonote_config.h.

◆ HF_VERSION_SMALLER_BP

#define HF_VERSION_SMALLER_BP   100

Definition at line 173 of file cryptonote_config.h.

◆ HF_VERSION_ZERO_FEE

#define HF_VERSION_ZERO_FEE   11

Definition at line 164 of file cryptonote_config.h.

◆ MINER_CONFIG_FILE_NAME

#define MINER_CONFIG_FILE_NAME   "miner_conf.json"

Definition at line 154 of file cryptonote_config.h.

◆ ORPHANED_BLOCKS_MAX_COUNT

#define ORPHANED_BLOCKS_MAX_COUNT   100

Definition at line 90 of file cryptonote_config.h.

◆ P2P_DEFAULT_ANCHOR_CONNECTIONS_COUNT

#define P2P_DEFAULT_ANCHOR_CONNECTIONS_COUNT   2

Definition at line 134 of file cryptonote_config.h.

◆ P2P_DEFAULT_CONNECTION_TIMEOUT

#define P2P_DEFAULT_CONNECTION_TIMEOUT   5000

Definition at line 128 of file cryptonote_config.h.

◆ P2P_DEFAULT_CONNECTIONS_COUNT

#define P2P_DEFAULT_CONNECTIONS_COUNT   8

Definition at line 124 of file cryptonote_config.h.

◆ P2P_DEFAULT_HANDSHAKE_INTERVAL

#define P2P_DEFAULT_HANDSHAKE_INTERVAL   60

Definition at line 125 of file cryptonote_config.h.

◆ P2P_DEFAULT_HANDSHAKE_INVOKE_TIMEOUT

#define P2P_DEFAULT_HANDSHAKE_INVOKE_TIMEOUT   5000

Definition at line 132 of file cryptonote_config.h.

◆ P2P_DEFAULT_INVOKE_TIMEOUT

#define P2P_DEFAULT_INVOKE_TIMEOUT   60*2*1000

Definition at line 131 of file cryptonote_config.h.

◆ P2P_DEFAULT_LIMIT_RATE_DOWN

#define P2P_DEFAULT_LIMIT_RATE_DOWN   8192

Definition at line 137 of file cryptonote_config.h.

◆ P2P_DEFAULT_LIMIT_RATE_UP

#define P2P_DEFAULT_LIMIT_RATE_UP   2048

Definition at line 136 of file cryptonote_config.h.

◆ P2P_DEFAULT_PACKET_MAX_SIZE

#define P2P_DEFAULT_PACKET_MAX_SIZE   50000000

Definition at line 126 of file cryptonote_config.h.

◆ P2P_DEFAULT_PEERS_IN_HANDSHAKE

#define P2P_DEFAULT_PEERS_IN_HANDSHAKE   250

Definition at line 127 of file cryptonote_config.h.

◆ P2P_DEFAULT_PING_CONNECTION_TIMEOUT

#define P2P_DEFAULT_PING_CONNECTION_TIMEOUT   2000

Definition at line 130 of file cryptonote_config.h.

◆ P2P_DEFAULT_SOCKS_CONNECT_TIMEOUT

#define P2P_DEFAULT_SOCKS_CONNECT_TIMEOUT   45

Definition at line 129 of file cryptonote_config.h.

◆ P2P_DEFAULT_SYNC_SEARCH_CONNECTIONS_COUNT

#define P2P_DEFAULT_SYNC_SEARCH_CONNECTIONS_COUNT   2

Definition at line 135 of file cryptonote_config.h.

◆ P2P_DEFAULT_WHITELIST_CONNECTIONS_PERCENT

#define P2P_DEFAULT_WHITELIST_CONNECTIONS_PERCENT   70

Definition at line 133 of file cryptonote_config.h.

◆ P2P_FAILED_ADDR_FORGET_SECONDS

#define P2P_FAILED_ADDR_FORGET_SECONDS   (60*60)

Definition at line 139 of file cryptonote_config.h.

◆ P2P_IDLE_CONNECTION_KILL_INTERVAL

#define P2P_IDLE_CONNECTION_KILL_INTERVAL   (5*60)

Definition at line 142 of file cryptonote_config.h.

◆ P2P_IP_BLOCKTIME

#define P2P_IP_BLOCKTIME   (60*60*24)

Definition at line 140 of file cryptonote_config.h.

◆ P2P_IP_FAILS_BEFORE_BLOCK

#define P2P_IP_FAILS_BEFORE_BLOCK   10

Definition at line 141 of file cryptonote_config.h.

◆ P2P_LOCAL_GRAY_PEERLIST_LIMIT

#define P2P_LOCAL_GRAY_PEERLIST_LIMIT   5000

Definition at line 122 of file cryptonote_config.h.

◆ P2P_LOCAL_WHITE_PEERLIST_LIMIT

#define P2P_LOCAL_WHITE_PEERLIST_LIMIT   1000

Definition at line 121 of file cryptonote_config.h.

◆ P2P_NET_DATA_FILENAME

#define P2P_NET_DATA_FILENAME   "p2pstate.bin"

Definition at line 153 of file cryptonote_config.h.

◆ P2P_SUPPORT_FLAG_FLUFFY_BLOCKS

#define P2P_SUPPORT_FLAG_FLUFFY_BLOCKS   0x01

Definition at line 144 of file cryptonote_config.h.

◆ P2P_SUPPORT_FLAGS

#define P2P_SUPPORT_FLAGS   P2P_SUPPORT_FLAG_FLUFFY_BLOCKS

Definition at line 145 of file cryptonote_config.h.

◆ PER_KB_FEE_QUANTIZATION_DECIMALS

#define PER_KB_FEE_QUANTIZATION_DECIMALS   2

Definition at line 181 of file cryptonote_config.h.

◆ THREAD_STACK_SIZE

#define THREAD_STACK_SIZE   5 * 1024 * 1024

Definition at line 156 of file cryptonote_config.h.