aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_config.h
diff options
context:
space:
mode:
authorthankful_for_today <my email>2014-04-18 01:21:40 +0400
committerthankful_for_today <my email>2014-04-18 01:21:40 +0400
commit1a8f5ce89a990e54ec757affff01f27d449640bc (patch)
treef5e4009bf8745c4455979e6164eba2e6ecb4b12f /src/cryptonote_config.h
parentPort mapping with UPnP (diff)
downloadmonero-1a8f5ce89a990e54ec757affff01f27d449640bc.tar.xz
Bitmonero release
Diffstat (limited to 'src/cryptonote_config.h')
-rw-r--r--src/cryptonote_config.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h
index 9f0b5bd9b..b7c0170e3 100644
--- a/src/cryptonote_config.h
+++ b/src/cryptonote_config.h
@@ -8,8 +8,8 @@
#define CRYPTONOTE_MAX_BLOCK_SIZE 500000000 // block header blob limit, never used!
#define CRYPTONOTE_MAX_TX_SIZE 1000000000
#define CRYPTONOTE_PUBLIC_ADDRESS_TEXTBLOB_VER 0
-#define CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX 6 // addresses start with "2"
-#define CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW 10
+#define CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX 18 // addresses start with "2"
+#define CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW 60
#define CURRENT_TRANSACTION_VERSION 1
#define CURRENT_BLOCK_MAJOR_VERSION 1
#define CURRENT_BLOCK_MINOR_VERSION 0
@@ -19,11 +19,12 @@
// MONEY_SUPPLY - total number coins to be generated
#define MONEY_SUPPLY ((uint64_t)(-1))
+#define EMISSION_SPEED_FACTOR (20)
#define CRYPTONOTE_REWARD_BLOCKS_WINDOW 100
-#define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE 10000 //size of block (bytes) after which reward for block calculated using block size
+#define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE 20000 //size of block (bytes) after which reward for block calculated using block size
#define CRYPTONOTE_COINBASE_BLOB_RESERVED_SIZE 600
-#define CRYPTONOTE_DISPLAY_DECIMAL_POINT 8
+#define CRYPTONOTE_DISPLAY_DECIMAL_POINT 12
// COIN - number of smallest units in one coin
#define COIN ((uint64_t)100000000) // pow(10, 8)
#define DEFAULT_FEE ((uint64_t)1000000) // pow(10, 6)
@@ -32,7 +33,7 @@
#define ORPHANED_BLOCKS_MAX_COUNT 100
-#define DIFFICULTY_TARGET 120 // seconds
+#define DIFFICULTY_TARGET 60 // seconds
#define DIFFICULTY_WINDOW 720 // blocks
#define DIFFICULTY_LAG 15 // !!!
#define DIFFICULTY_CUT 60 // timestamps to cut after sorting
@@ -51,14 +52,14 @@
#define CRYPTONOTE_PROTOCOL_HOP_RELAX_COUNT 3 //value of hop, after which we use only announce of new block
-#define P2P_DEFAULT_PORT 8080
-#define RPC_DEFAULT_PORT 8081
+#define P2P_DEFAULT_PORT 18080
+#define RPC_DEFAULT_PORT 18081
#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_CONNECTIONS_COUNT 12
#define P2P_DEFAULT_HANDSHAKE_INTERVAL 60 //secondes
#define P2P_DEFAULT_PACKET_MAX_SIZE 50000000 //50000000 bytes maximum packet size
#define P2P_DEFAULT_PEERS_IN_HANDSHAKE 250
@@ -71,7 +72,7 @@
#define ALLOW_DEBUG_COMMANDS
-#define CRYPTONOTE_NAME "bytecoin"
+#define CRYPTONOTE_NAME "bitmonero"
#define CRYPTONOTE_POOLDATA_FILENAME "poolstate.bin"
#define CRYPTONOTE_BLOCKCHAINDATA_FILENAME "blockchain.bin"
#define CRYPTONOTE_BLOCKCHAINDATA_TEMP_FILENAME "blockchain.bin.tmp"