Commit c1c67919 authored by Pierre Kim's avatar Pierre Kim

Adjust max block size

parent 8d8bc05d
......@@ -27,7 +27,7 @@ static_assert(EMISSION_SPEED_FACTOR <= 8 * sizeof(uint64_t), "Bad EMISSION_SPEED
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_BLOCK_GRANTED_FULL_REWARD_ZONE = 500 * 1024; //size of block (bytes) after which reward for block calculated using block size
const size_t CRYPTONOTE_COINBASE_BLOB_RESERVED_SIZE = 600;
const size_t CRYPTONOTE_DISPLAY_DECIMAL_POINT = 8;
......@@ -45,7 +45,7 @@ const size_t DIFFICULTY_CUT = 60; // timestamp
const size_t DIFFICULTY_LAG = 15;
static_assert(2 * DIFFICULTY_CUT <= DIFFICULTY_WINDOW - 2, "Bad DIFFICULTY_WINDOW or DIFFICULTY_CUT");
const size_t MAX_BLOCK_SIZE_INITIAL = 20 * 1024;
const size_t MAX_BLOCK_SIZE_INITIAL = 500 * 1024;
const uint64_t MAX_BLOCK_SIZE_GROWTH_SPEED_NUMERATOR = 100 * 1024;
const uint64_t MAX_BLOCK_SIZE_GROWTH_SPEED_DENOMINATOR = 365 * 24 * 60 * 60 / DIFFICULTY_TARGET;
......@@ -99,7 +99,7 @@ const uint32_t P2P_DEFAULT_CONNECTION_TIMEOUT = 5000; //
const uint32_t P2P_DEFAULT_PING_CONNECTION_TIMEOUT = 2000; // 2 seconds
const uint64_t P2P_DEFAULT_INVOKE_TIMEOUT = 60 * 2 * 1000; // 2 minutes
const size_t P2P_DEFAULT_HANDSHAKE_INVOKE_TIMEOUT = 5000; // 5 seconds
const char P2P_STAT_TRUSTED_PUB_KEY[] = "8f80f9a5a434a9f1510d13336228debfee9c918ce505efe225d8c94d045fa115";
const char P2P_STAT_TRUSTED_PUB_KEY[] = "";
//TODO Add here your network seed nodes
const std::initializer_list<const char*> SEED_NODES = {
......@@ -118,7 +118,8 @@ __attribute__((unused))
// {<block height>, "<block hash>"}
const std::initializer_list<CheckpointData> CHECKPOINTS = {
{ 24552, "a5fced9c59f3f3192fc5460845aa5ef89de9e9704a98fb5c692e23e9315d5048" }
{ 24552, "a5fced9c59f3f3192fc5460845aa5ef89de9e9704a98fb5c692e23e9315d5048" },
{ 86863, "9f49f2cfe5b232b208b2b019070bb4c4b6efe4a95979be6188a2272b6a264cc9" }
};
}
......
#define BUILD_COMMIT_ID "@VERSION@"
#define PROJECT_VERSION "1.0.1"
#define PROJECT_VERSION "1.1.0"
#define PROJECT_VERSION_BUILD_NO "0"
#define PROJECT_VERSION_LONG PROJECT_VERSION "." PROJECT_VERSION_BUILD_NO
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment