Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pierre Kim
manateecoin
Commits
c1c67919
Commit
c1c67919
authored
Nov 16, 2017
by
Pierre Kim
Browse files
Adjust max block size
parent
8d8bc05d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/CryptoNoteConfig.h
View file @
c1c67919
...
...
@@ -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
=
1
00
00
;
//size of block (bytes) after which reward for block calculated using block size
const
size_t
CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE
=
5
00
*
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
=
2
0
*
1024
;
const
size_t
MAX_BLOCK_SIZE_INITIAL
=
50
0
*
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"
}
};
}
...
...
src/version.h.in
View file @
c1c67919
#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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment