Monero
cryptonote_config.h
Go to the documentation of this file.
1 // Copyright (c) 2014-2020, The Monero Project
2 //
3 // All rights reserved.
4 //
5 // Redistribution and use in source and binary forms, with or without modification, are
6 // permitted provided that the following conditions are met:
7 //
8 // 1. Redistributions of source code must retain the above copyright notice, this list of
9 // conditions and the following disclaimer.
10 //
11 // 2. Redistributions in binary form must reproduce the above copyright notice, this list
12 // of conditions and the following disclaimer in the documentation and/or other
13 // materials provided with the distribution.
14 //
15 // 3. Neither the name of the copyright holder nor the names of its contributors may be
16 // used to endorse or promote products derived from this software without specific
17 // prior written permission.
18 //
19 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
20 // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
21 // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
22 // THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26 // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
27 // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 //
29 // Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers
30 
31 #pragma once
32 
33 #include <stdexcept>
34 #include <string>
35 #include <boost/uuid/uuid.hpp>
36 
37 #define CRYPTONOTE_DNS_TIMEOUT_MS 20000
38 
39 #define CRYPTONOTE_MAX_BLOCK_NUMBER 500000000
40 #define CRYPTONOTE_MAX_TX_SIZE 1000000
41 #define CRYPTONOTE_MAX_TX_PER_BLOCK 0x10000000
42 #define CRYPTONOTE_PUBLIC_ADDRESS_TEXTBLOB_VER 0
43 #define CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW 60
44 #define CURRENT_TRANSACTION_VERSION 2
45 #define CURRENT_BLOCK_MAJOR_VERSION 1
46 #define CURRENT_BLOCK_MINOR_VERSION 0
47 #define CRYPTONOTE_BLOCK_FUTURE_TIME_LIMIT 60*60*2
48 #define CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE 10
49 
50 #define BLOCKCHAIN_TIMESTAMP_CHECK_WINDOW 60
51 
52 // MONEY_SUPPLY - total number coins to be generated
53 #define MONEY_SUPPLY ((uint64_t)(-1))
54 #define EMISSION_SPEED_FACTOR_PER_MINUTE (20)
55 #define FINAL_SUBSIDY_PER_MINUTE ((uint64_t)300000000000) // 3 * pow(10, 11)
56 
57 #define CRYPTONOTE_REWARD_BLOCKS_WINDOW 100
58 #define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V2 60000 //size of block (bytes) after which reward for block calculated using block size
59 #define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V1 20000 //size of block (bytes) after which reward for block calculated using block size - before first fork
60 #define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V5 300000 //size of block (bytes) after which reward for block calculated using block size - second change, from v5
61 #define CRYPTONOTE_LONG_TERM_BLOCK_WEIGHT_WINDOW_SIZE 100000 // size in blocks of the long term block weight median window
62 #define CRYPTONOTE_SHORT_TERM_BLOCK_WEIGHT_SURGE_FACTOR 50
63 #define CRYPTONOTE_COINBASE_BLOB_RESERVED_SIZE 600
64 #define CRYPTONOTE_DISPLAY_DECIMAL_POINT 12
65 // COIN - number of smallest units in one coin
66 #define COIN ((uint64_t)1000000000000) // pow(10, 12)
67 
68 #define FEE_PER_KB_OLD ((uint64_t)10000000000) // pow(10, 10)
69 #define FEE_PER_KB ((uint64_t)2000000000) // 2 * pow(10, 9)
70 #define FEE_PER_BYTE ((uint64_t)300000)
71 #define DYNAMIC_FEE_PER_KB_BASE_FEE ((uint64_t)2000000000) // 2 * pow(10,9)
72 #define DYNAMIC_FEE_PER_KB_BASE_BLOCK_REWARD ((uint64_t)10000000000000) // 10 * pow(10,12)
73 #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)
74 #define DYNAMIC_FEE_REFERENCE_TRANSACTION_WEIGHT ((uint64_t)3000)
75 
76 #define ORPHANED_BLOCKS_MAX_COUNT 100
77 
78 
79 #define DIFFICULTY_TARGET_V2 120 // seconds
80 #define DIFFICULTY_TARGET_V1 60 // seconds - before first fork
81 #define DIFFICULTY_WINDOW 720 // blocks
82 #define DIFFICULTY_LAG 15 // !!!
83 #define DIFFICULTY_CUT 60 // timestamps to cut after sorting
84 #define DIFFICULTY_BLOCKS_COUNT DIFFICULTY_WINDOW + DIFFICULTY_LAG
85 
86 
87 #define CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_SECONDS_V1 DIFFICULTY_TARGET_V1 * CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_BLOCKS
88 #define CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_SECONDS_V2 DIFFICULTY_TARGET_V2 * CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_BLOCKS
89 #define CRYPTONOTE_LOCKED_TX_ALLOWED_DELTA_BLOCKS 1
90 
91 
92 #define DIFFICULTY_BLOCKS_ESTIMATE_TIMESPAN DIFFICULTY_TARGET_V1 //just alias; used by tests
93 
94 
95 #define BLOCKS_IDS_SYNCHRONIZING_DEFAULT_COUNT 10000 //by default, blocks ids count in synchronizing
96 #define BLOCKS_SYNCHRONIZING_DEFAULT_COUNT_PRE_V4 100 //by default, blocks count in blocks downloading
97 #define BLOCKS_SYNCHRONIZING_DEFAULT_COUNT 20 //by default, blocks count in blocks downloading
98 #define BLOCKS_SYNCHRONIZING_MAX_COUNT 2048 //must be a power of 2, greater than 128, equal to SEEDHASH_EPOCH_BLOCKS
99 
100 #define CRYPTONOTE_MEMPOOL_TX_LIVETIME (86400*3) //seconds, three days
101 #define CRYPTONOTE_MEMPOOL_TX_FROM_ALT_BLOCK_LIVETIME 604800 //seconds, one week
102 
103 
104 #define CRYPTONOTE_DANDELIONPP_STEMS 2 // number of outgoing stem connections per epoch
105 #define CRYPTONOTE_DANDELIONPP_FLUFF_PROBABILITY 10 // out of 100
106 #define CRYPTONOTE_DANDELIONPP_MIN_EPOCH 10 // minutes
107 #define CRYPTONOTE_DANDELIONPP_EPOCH_RANGE 30 // seconds
108 #define CRYPTONOTE_DANDELIONPP_FLUSH_AVERAGE 5 // seconds average for poisson distributed fluff flush
109 #define CRYPTONOTE_DANDELIONPP_EMBARGO_AVERAGE 173 // seconds (see tx_pool.cpp for more info)
110 
111 // see src/cryptonote_protocol/levin_notify.cpp
112 #define CRYPTONOTE_NOISE_MIN_EPOCH 5 // minutes
113 #define CRYPTONOTE_NOISE_EPOCH_RANGE 30 // seconds
114 #define CRYPTONOTE_NOISE_MIN_DELAY 10 // seconds
115 #define CRYPTONOTE_NOISE_DELAY_RANGE 5 // seconds
116 #define CRYPTONOTE_NOISE_BYTES 3*1024 // 3 KiB
117 #define CRYPTONOTE_NOISE_CHANNELS 2 // Max outgoing connections per zone used for noise/covert sending
118 
119 // Both below are in seconds. The idea is to delay forwarding from i2p/tor
120 // to ipv4/6, such that 2+ incoming connections _could_ have sent the tx
121 #define CRYPTONOTE_FORWARD_DELAY_BASE (CRYPTONOTE_NOISE_MIN_DELAY + CRYPTONOTE_NOISE_DELAY_RANGE)
122 #define CRYPTONOTE_FORWARD_DELAY_AVERAGE (CRYPTONOTE_FORWARD_DELAY_BASE + (CRYPTONOTE_FORWARD_DELAY_BASE / 2))
123 
124 #define CRYPTONOTE_MAX_FRAGMENTS 20 // ~20 * NOISE_BYTES max payload size for covert/noise send
125 
126 #define COMMAND_RPC_GET_BLOCKS_FAST_MAX_COUNT 1000
127 
128 #define P2P_LOCAL_WHITE_PEERLIST_LIMIT 1000
129 #define P2P_LOCAL_GRAY_PEERLIST_LIMIT 5000
130 
131 #define P2P_DEFAULT_CONNECTIONS_COUNT 12
132 #define P2P_DEFAULT_HANDSHAKE_INTERVAL 60 //secondes
133 #define P2P_DEFAULT_PACKET_MAX_SIZE 50000000 //50000000 bytes maximum packet size
134 #define P2P_DEFAULT_PEERS_IN_HANDSHAKE 250
135 #define P2P_DEFAULT_CONNECTION_TIMEOUT 5000 //5 seconds
136 #define P2P_DEFAULT_SOCKS_CONNECT_TIMEOUT 45 // seconds
137 #define P2P_DEFAULT_PING_CONNECTION_TIMEOUT 2000 //2 seconds
138 #define P2P_DEFAULT_INVOKE_TIMEOUT 60*2*1000 //2 minutes
139 #define P2P_DEFAULT_HANDSHAKE_INVOKE_TIMEOUT 5000 //5 seconds
140 #define P2P_DEFAULT_WHITELIST_CONNECTIONS_PERCENT 70
141 #define P2P_DEFAULT_ANCHOR_CONNECTIONS_COUNT 2
142 #define P2P_DEFAULT_SYNC_SEARCH_CONNECTIONS_COUNT 2
143 #define P2P_DEFAULT_LIMIT_RATE_UP 2048 // kB/s
144 #define P2P_DEFAULT_LIMIT_RATE_DOWN 8192 // kB/s
145 
146 #define P2P_FAILED_ADDR_FORGET_SECONDS (60*60) //1 hour
147 #define P2P_IP_BLOCKTIME (60*60*24) //24 hour
148 #define P2P_IP_FAILS_BEFORE_BLOCK 10
149 #define P2P_IDLE_CONNECTION_KILL_INTERVAL (5*60) //5 minutes
150 
151 #define P2P_SUPPORT_FLAG_FLUFFY_BLOCKS 0x01
152 #define P2P_SUPPORT_FLAGS P2P_SUPPORT_FLAG_FLUFFY_BLOCKS
153 
154 #define RPC_IP_FAILS_BEFORE_BLOCK 3
155 
156 #define CRYPTONOTE_NAME "bitmonero"
157 #define CRYPTONOTE_BLOCKCHAINDATA_FILENAME "data.mdb"
158 #define CRYPTONOTE_BLOCKCHAINDATA_LOCK_FILENAME "lock.mdb"
159 #define P2P_NET_DATA_FILENAME "p2pstate.bin"
160 #define RPC_PAYMENTS_DATA_FILENAME "rpcpayments.bin"
161 #define MINER_CONFIG_FILE_NAME "miner_conf.json"
162 
163 #define THREAD_STACK_SIZE 5 * 1024 * 1024
164 
165 #define HF_VERSION_DYNAMIC_FEE 4
166 #define HF_VERSION_MIN_MIXIN_4 6
167 #define HF_VERSION_MIN_MIXIN_6 7
168 #define HF_VERSION_MIN_MIXIN_10 8
169 #define HF_VERSION_ENFORCE_RCT 6
170 #define HF_VERSION_PER_BYTE_FEE 8
171 #define HF_VERSION_SMALLER_BP 10
172 #define HF_VERSION_LONG_TERM_BLOCK_WEIGHT 10
173 #define HF_VERSION_MIN_2_OUTPUTS 12
174 #define HF_VERSION_MIN_V2_COINBASE_TX 12
175 #define HF_VERSION_SAME_MIXIN 12
176 #define HF_VERSION_REJECT_SIGS_IN_COINBASE 12
177 #define HF_VERSION_ENFORCE_MIN_AGE 12
178 #define HF_VERSION_EFFECTIVE_SHORT_TERM_MEDIAN_IN_PENALTY 12
179 #define HF_VERSION_EXACT_COINBASE 13
180 #define HF_VERSION_CLSAG 13
181 #define HF_VERSION_DETERMINISTIC_UNLOCK_TIME 13
182 
183 #define PER_KB_FEE_QUANTIZATION_DECIMALS 8
184 
185 #define HASH_OF_HASHES_STEP 512
186 
187 #define DEFAULT_TXPOOL_MAX_WEIGHT 648000000ull // 3 days at 300000, in bytes
188 
189 #define BULLETPROOF_MAX_OUTPUTS 16
190 
191 #define CRYPTONOTE_PRUNING_STRIPE_SIZE 4096 // the smaller, the smoother the increase
192 #define CRYPTONOTE_PRUNING_LOG_STRIPES 3 // the higher, the more space saved
193 #define CRYPTONOTE_PRUNING_TIP_BLOCKS 5500 // the smaller, the more space saved
194 //#define CRYPTONOTE_PRUNING_DEBUG_SPOOF_SEED
195 
196 #define RPC_CREDITS_PER_HASH_SCALE ((float)(1<<24))
197 
198 // New constants are intended to go here
199 namespace config
200 {
201  uint64_t const DEFAULT_FEE_ATOMIC_XMR_PER_KB = 500; // Just a placeholder! Change me!
202  uint8_t const FEE_CALCULATION_MAX_RETRIES = 10;
203  uint64_t const DEFAULT_DUST_THRESHOLD = ((uint64_t)2000000000); // 2 * pow(10, 9)
204  uint64_t const BASE_REWARD_CLAMP_THRESHOLD = ((uint64_t)100000000); // pow(10, 8)
205 
209  uint16_t const P2P_DEFAULT_PORT = 18080;
210  uint16_t const RPC_DEFAULT_PORT = 18081;
211  uint16_t const ZMQ_RPC_DEFAULT_PORT = 18082;
213  0x12 ,0x30, 0xF1, 0x71 , 0x61, 0x04 , 0x41, 0x61, 0x17, 0x31, 0x00, 0x82, 0x16, 0xA1, 0xA1, 0x10
214  } }; // Bender's nightmare
215  std::string const GENESIS_TX = "013c01ff0001ffffffffffff03029b2e4c0281c0b02e7c53291a94d1d0cbff8883f8024f5142ee494ffbbd08807121017767aafcde9be00dcfd098715ebcf7f410daebc582fda69d24a28e9d0bc890d1";
216  uint32_t const GENESIS_NONCE = 10000;
217 
218  // Hash domain separators
219  const char HASH_KEY_BULLETPROOF_EXPONENT[] = "bulletproof";
220  const char HASH_KEY_RINGDB[] = "ringdsb";
221  const char HASH_KEY_SUBADDRESS[] = "SubAddr";
222  const unsigned char HASH_KEY_ENCRYPTED_PAYMENT_ID = 0x8d;
223  const unsigned char HASH_KEY_WALLET = 0x8c;
224  const unsigned char HASH_KEY_WALLET_CACHE = 0x8d;
225  const unsigned char HASH_KEY_RPC_PAYMENT_NONCE = 0x58;
226  const unsigned char HASH_KEY_MEMORY = 'k';
227  const unsigned char HASH_KEY_MULTISIG[] = {'M', 'u', 'l', 't' , 'i', 's', 'i', 'g', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
228  const unsigned char HASH_KEY_TXPROOF_V2[] = "TXPROOF_V2";
229  const unsigned char HASH_KEY_CLSAG_ROUND[] = "CLSAG_round";
230  const unsigned char HASH_KEY_CLSAG_AGG_0[] = "CLSAG_agg_0";
231  const unsigned char HASH_KEY_CLSAG_AGG_1[] = "CLSAG_agg_1";
232  const char HASH_KEY_MESSAGE_SIGNING[] = "MoneroMessageSignature";
233 
234  namespace testnet
235  {
239  uint16_t const P2P_DEFAULT_PORT = 28080;
240  uint16_t const RPC_DEFAULT_PORT = 28081;
241  uint16_t const ZMQ_RPC_DEFAULT_PORT = 28082;
243  0x12 ,0x30, 0xF1, 0x71 , 0x61, 0x04 , 0x41, 0x61, 0x17, 0x31, 0x00, 0x82, 0x16, 0xA1, 0xA1, 0x11
244  } }; // Bender's daydream
245  std::string const GENESIS_TX = "013c01ff0001ffffffffffff03029b2e4c0281c0b02e7c53291a94d1d0cbff8883f8024f5142ee494ffbbd08807121017767aafcde9be00dcfd098715ebcf7f410daebc582fda69d24a28e9d0bc890d1";
246  uint32_t const GENESIS_NONCE = 10001;
247  }
248 
249  namespace stagenet
250  {
254  uint16_t const P2P_DEFAULT_PORT = 38080;
255  uint16_t const RPC_DEFAULT_PORT = 38081;
256  uint16_t const ZMQ_RPC_DEFAULT_PORT = 38082;
258  0x12 ,0x30, 0xF1, 0x71 , 0x61, 0x04 , 0x41, 0x61, 0x17, 0x31, 0x00, 0x82, 0x16, 0xA1, 0xA1, 0x12
259  } }; // Bender's daydream
260  std::string const GENESIS_TX = "013c01ff0001ffffffffffff0302df5d56da0c7d643ddd1ce61901c7bdc5fb1738bfe39fbe69c28a3a7032729c0f2101168d0c4ca86fb55a4cf6a36d31431be1c53a3bd7411bb24e8832410289fa6f3b";
261  uint32_t const GENESIS_NONCE = 10002;
262  }
263 }
264 
265 namespace cryptonote
266 {
267  enum network_type : uint8_t
268  {
269  MAINNET = 0,
273  UNDEFINED = 255
274  };
275  struct config_t
276  {
280  uint16_t const P2P_DEFAULT_PORT;
281  uint16_t const RPC_DEFAULT_PORT;
282  uint16_t const ZMQ_RPC_DEFAULT_PORT;
284  std::string const GENESIS_TX;
285  uint32_t const GENESIS_NONCE;
286  };
287  inline const config_t& get_config(network_type nettype)
288  {
289  static const config_t mainnet = {
299  };
300  static const config_t testnet = {
310  };
311  static const config_t stagenet = {
321  };
322  switch (nettype)
323  {
324  case MAINNET: return mainnet;
325  case TESTNET: return testnet;
326  case STAGENET: return stagenet;
327  case FAKECHAIN: return mainnet;
328  default: throw std::runtime_error("Invalid network type");
329  }
330  };
331 }
cryptonote::MAINNET
@ MAINNET
Definition: cryptonote_config.h:269
config::HASH_KEY_TXPROOF_V2
const unsigned char HASH_KEY_TXPROOF_V2[]
Definition: cryptonote_config.h:228
config::testnet::NETWORK_ID
boost::uuids::uuid const NETWORK_ID
Definition: cryptonote_config.h:242
config::testnet::CRYPTONOTE_PUBLIC_SUBADDRESS_BASE58_PREFIX
uint64_t const CRYPTONOTE_PUBLIC_SUBADDRESS_BASE58_PREFIX
Definition: cryptonote_config.h:238
config::GENESIS_TX
std::string const GENESIS_TX
Definition: cryptonote_config.h:215
config::stagenet::CRYPTONOTE_PUBLIC_INTEGRATED_ADDRESS_BASE58_PREFIX
uint64_t const CRYPTONOTE_PUBLIC_INTEGRATED_ADDRESS_BASE58_PREFIX
Definition: cryptonote_config.h:252
config::HASH_KEY_CLSAG_AGG_1
const unsigned char HASH_KEY_CLSAG_AGG_1[]
Definition: cryptonote_config.h:231
cryptonote::config_t::NETWORK_ID
boost::uuids::uuid const NETWORK_ID
Definition: cryptonote_config.h:283
config::HASH_KEY_SUBADDRESS
const char HASH_KEY_SUBADDRESS[]
Definition: cryptonote_config.h:221
config::DEFAULT_DUST_THRESHOLD
uint64_t const DEFAULT_DUST_THRESHOLD
Definition: cryptonote_config.h:203
config::HASH_KEY_WALLET_CACHE
const unsigned char HASH_KEY_WALLET_CACHE
Definition: cryptonote_config.h:224
config::CRYPTONOTE_PUBLIC_SUBADDRESS_BASE58_PREFIX
uint64_t const CRYPTONOTE_PUBLIC_SUBADDRESS_BASE58_PREFIX
Definition: cryptonote_config.h:208
config::CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX
uint64_t const CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX
Definition: cryptonote_config.h:206
cryptonote::get_config
const config_t & get_config(network_type nettype)
Definition: cryptonote_config.h:287
cryptonote::config_t::P2P_DEFAULT_PORT
uint16_t const P2P_DEFAULT_PORT
Definition: cryptonote_config.h:280
cryptonote::FAKECHAIN
@ FAKECHAIN
Definition: cryptonote_config.h:272
cryptonote::config_t::GENESIS_NONCE
uint32_t const GENESIS_NONCE
Definition: cryptonote_config.h:285
config::BASE_REWARD_CLAMP_THRESHOLD
uint64_t const BASE_REWARD_CLAMP_THRESHOLD
Definition: cryptonote_config.h:204
config::HASH_KEY_MULTISIG
const unsigned char HASH_KEY_MULTISIG[]
Definition: cryptonote_config.h:227
config::testnet::CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX
uint64_t const CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX
Definition: cryptonote_config.h:236
config::testnet::ZMQ_RPC_DEFAULT_PORT
uint16_t const ZMQ_RPC_DEFAULT_PORT
Definition: cryptonote_config.h:241
cryptonote::network_type
network_type
Definition: cryptonote_config.h:268
config::GENESIS_NONCE
uint32_t const GENESIS_NONCE
Definition: cryptonote_config.h:216
config::testnet::CRYPTONOTE_PUBLIC_INTEGRATED_ADDRESS_BASE58_PREFIX
uint64_t const CRYPTONOTE_PUBLIC_INTEGRATED_ADDRESS_BASE58_PREFIX
Definition: cryptonote_config.h:237
config
Definition: cryptonote_config.h:200
config::HASH_KEY_MEMORY
const unsigned char HASH_KEY_MEMORY
Definition: cryptonote_config.h:226
cryptonote::config_t::GENESIS_TX
std::string const GENESIS_TX
Definition: cryptonote_config.h:284
config::RPC_DEFAULT_PORT
uint16_t const RPC_DEFAULT_PORT
Definition: cryptonote_config.h:210
config::FEE_CALCULATION_MAX_RETRIES
uint8_t const FEE_CALCULATION_MAX_RETRIES
Definition: cryptonote_config.h:202
config::HASH_KEY_WALLET
const unsigned char HASH_KEY_WALLET
Definition: cryptonote_config.h:223
config::DEFAULT_FEE_ATOMIC_XMR_PER_KB
uint64_t const DEFAULT_FEE_ATOMIC_XMR_PER_KB
Definition: cryptonote_config.h:201
cryptonote::config_t::CRYPTONOTE_PUBLIC_SUBADDRESS_BASE58_PREFIX
uint64_t const CRYPTONOTE_PUBLIC_SUBADDRESS_BASE58_PREFIX
Definition: cryptonote_config.h:279
nodetool::uuid
boost::uuids::uuid uuid
Definition: net_node_common.h:46
config::stagenet::NETWORK_ID
boost::uuids::uuid const NETWORK_ID
Definition: cryptonote_config.h:257
config::testnet::P2P_DEFAULT_PORT
uint16_t const P2P_DEFAULT_PORT
Definition: cryptonote_config.h:239
config::P2P_DEFAULT_PORT
uint16_t const P2P_DEFAULT_PORT
Definition: cryptonote_config.h:209
config::HASH_KEY_MESSAGE_SIGNING
const char HASH_KEY_MESSAGE_SIGNING[]
Definition: cryptonote_config.h:232
cryptonote
Holds cryptonote related classes and helpers.
Definition: blockchain_db.cpp:45
config::stagenet::P2P_DEFAULT_PORT
uint16_t const P2P_DEFAULT_PORT
Definition: cryptonote_config.h:254
config::HASH_KEY_ENCRYPTED_PAYMENT_ID
const unsigned char HASH_KEY_ENCRYPTED_PAYMENT_ID
Definition: cryptonote_config.h:222
config::stagenet::RPC_DEFAULT_PORT
uint16_t const RPC_DEFAULT_PORT
Definition: cryptonote_config.h:255
config::ZMQ_RPC_DEFAULT_PORT
uint16_t const ZMQ_RPC_DEFAULT_PORT
Definition: cryptonote_config.h:211
cryptonote::config_t::CRYPTONOTE_PUBLIC_INTEGRATED_ADDRESS_BASE58_PREFIX
uint64_t const CRYPTONOTE_PUBLIC_INTEGRATED_ADDRESS_BASE58_PREFIX
Definition: cryptonote_config.h:278
config::HASH_KEY_CLSAG_ROUND
const unsigned char HASH_KEY_CLSAG_ROUND[]
Definition: cryptonote_config.h:229
config::CRYPTONOTE_PUBLIC_INTEGRATED_ADDRESS_BASE58_PREFIX
uint64_t const CRYPTONOTE_PUBLIC_INTEGRATED_ADDRESS_BASE58_PREFIX
Definition: cryptonote_config.h:207
config::stagenet::CRYPTONOTE_PUBLIC_SUBADDRESS_BASE58_PREFIX
uint64_t const CRYPTONOTE_PUBLIC_SUBADDRESS_BASE58_PREFIX
Definition: cryptonote_config.h:253
cryptonote::config_t::ZMQ_RPC_DEFAULT_PORT
uint16_t const ZMQ_RPC_DEFAULT_PORT
Definition: cryptonote_config.h:282
cryptonote::config_t::CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX
uint64_t const CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX
Definition: cryptonote_config.h:277
config::HASH_KEY_RPC_PAYMENT_NONCE
const unsigned char HASH_KEY_RPC_PAYMENT_NONCE
Definition: cryptonote_config.h:225
config::HASH_KEY_RINGDB
const char HASH_KEY_RINGDB[]
Definition: cryptonote_config.h:220
cryptonote::TESTNET
@ TESTNET
Definition: cryptonote_config.h:270
config::testnet::GENESIS_NONCE
uint32_t const GENESIS_NONCE
Definition: cryptonote_config.h:246
config::testnet::RPC_DEFAULT_PORT
uint16_t const RPC_DEFAULT_PORT
Definition: cryptonote_config.h:240
cryptonote::config_t
Definition: cryptonote_config.h:276
config::stagenet::ZMQ_RPC_DEFAULT_PORT
uint16_t const ZMQ_RPC_DEFAULT_PORT
Definition: cryptonote_config.h:256
config::stagenet::GENESIS_TX
std::string const GENESIS_TX
Definition: cryptonote_config.h:260
config::HASH_KEY_BULLETPROOF_EXPONENT
const char HASH_KEY_BULLETPROOF_EXPONENT[]
Definition: cryptonote_config.h:219
config::HASH_KEY_CLSAG_AGG_0
const unsigned char HASH_KEY_CLSAG_AGG_0[]
Definition: cryptonote_config.h:230
config::stagenet::CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX
uint64_t const CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX
Definition: cryptonote_config.h:251
cryptonote::UNDEFINED
@ UNDEFINED
Definition: cryptonote_config.h:273
config::stagenet::GENESIS_NONCE
uint32_t const GENESIS_NONCE
Definition: cryptonote_config.h:261
cryptonote::config_t::RPC_DEFAULT_PORT
uint16_t const RPC_DEFAULT_PORT
Definition: cryptonote_config.h:281
config::NETWORK_ID
boost::uuids::uuid const NETWORK_ID
Definition: cryptonote_config.h:212
config::testnet::GENESIS_TX
std::string const GENESIS_TX
Definition: cryptonote_config.h:245
cryptonote::STAGENET
@ STAGENET
Definition: cryptonote_config.h:271