Add genesis
This commit is contained in:
parent
f02f2efdcd
commit
d72276be73
1 changed files with 2 additions and 10 deletions
|
@ -14,33 +14,25 @@ const uint64_t CRYPTONOTE_MAX_BLOCK_NUMBER = 500000000;
|
|||
const size_t CRYPTONOTE_MAX_BLOCK_BLOB_SIZE = 500000000;
|
||||
const size_t CRYPTONOTE_MAX_TX_SIZE = 1000000000;
|
||||
const uint64_t CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX = 0xdd;
|
||||
//TODO Choose maturity period for your currency
|
||||
const size_t CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW = 60;
|
||||
const uint64_t CRYPTONOTE_BLOCK_FUTURE_TIME_LIMIT = 60 * 60 * 2;
|
||||
|
||||
const size_t BLOCKCHAIN_TIMESTAMP_CHECK_WINDOW = 60;
|
||||
|
||||
//TODO Specify total number of available coins
|
||||
//TODO ((uint64_t)(-1)) equals to 18446744073709551616 coins
|
||||
//TODO or you can define number explicitly UINT64_C(858986905600000000)
|
||||
const uint64_t MONEY_SUPPLY = (uint64_t)(-1);
|
||||
const unsigned EMISSION_SPEED_FACTOR = 18;
|
||||
static_assert(EMISSION_SPEED_FACTOR <= 8 * sizeof(uint64_t), "Bad EMISSION_SPEED_FACTOR");
|
||||
|
||||
//TODO Define number of blocks for block size median calculation
|
||||
const size_t CRYPTONOTE_REWARD_BLOCKS_WINDOW = 100;
|
||||
const size_t CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE = 10000; //size of block (bytes) after which reward for block calculated using block size
|
||||
const size_t CRYPTONOTE_COINBASE_BLOB_RESERVED_SIZE = 600;
|
||||
//TODO Define number of digits
|
||||
|
||||
const size_t CRYPTONOTE_DISPLAY_DECIMAL_POINT = 8;
|
||||
const uint64_t MINIMUM_FEE = 10000;
|
||||
const uint64_t DEFAULT_DUST_THRESHOLD = MINIMUM_FEE;
|
||||
|
||||
//TODO Define preferred block's target time
|
||||
const uint64_t DIFFICULTY_TARGET = 120; // seconds
|
||||
const uint64_t EXPECTED_NUMBER_OF_BLOCKS_PER_DAY = 24 * 60 * 60 / DIFFICULTY_TARGET;
|
||||
//TODO There are options to tune CryptoNote's difficulty retargeting function.
|
||||
//TODO We recommend not to change it.
|
||||
const size_t DIFFICULTY_WINDOW = EXPECTED_NUMBER_OF_BLOCKS_PER_DAY; // blocks
|
||||
const size_t DIFFICULTY_CUT = 60; // timestamps to cut after sorting
|
||||
const size_t DIFFICULTY_LAG = 15;
|
||||
|
@ -71,7 +63,7 @@ const char MINER_CONFIG_FILE_NAME[] = "miner_conf.json"
|
|||
} // parameters
|
||||
|
||||
const char CRYPTONOTE_NAME[] = "danicoin";
|
||||
const char GENESIS_COINBASE_TX_HEX[] = "";
|
||||
const char GENESIS_COINBASE_TX_HEX[] = "013c01ff0001ffffffffffff0f029b2e4c0281c0b02e7c53291a94d1d0cbff8883f8024f5142ee494ffbbd0880712101f010aca6a4f164077a7beb4da4d12dcdfd4c50387a4a5888f12b25a038ec9b82";
|
||||
|
||||
const uint8_t CURRENT_TRANSACTION_VERSION = 1;
|
||||
const uint8_t BLOCK_MAJOR_VERSION_1 = 1;
|
||||
|
|
Loading…
Reference in a new issue