Skip to content

Commit 1febccf

Browse files
committed
Blockchain synchronization improvements
1 parent facaa95 commit 1febccf

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

ReleaseNotes.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Release notes 4.0.3-beta
2+
3+
- Blockchain synchronization improvements
4+
15
Release notes 4.0.2-beta
26

37
- Latest checkpoints and fixes

src/CryptoNoteConfig.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const uint8_t BLOCK_MINOR_VERSION_0 = 0;
9999
const uint8_t BLOCK_MINOR_VERSION_1 = 1;
100100

101101
const size_t BLOCKS_IDS_SYNCHRONIZING_DEFAULT_COUNT = 10000; //by default, blocks ids count in synchronizing
102-
const size_t BLOCKS_SYNCHRONIZING_DEFAULT_COUNT = 200; //by default, blocks count in blocks downloading
102+
const size_t BLOCKS_SYNCHRONIZING_DEFAULT_COUNT = 128; //by default, blocks count in blocks downloading
103103
const size_t COMMAND_RPC_GET_BLOCKS_FAST_MAX_COUNT = 1000;
104104

105105
const int P2P_DEFAULT_PORT = 42080;
@@ -108,7 +108,7 @@ const int RPC_DEFAULT_PORT = 42081;
108108
const size_t P2P_LOCAL_WHITE_PEERLIST_LIMIT = 1000;
109109
const size_t P2P_LOCAL_GRAY_PEERLIST_LIMIT = 5000;
110110

111-
const size_t P2P_CONNECTION_MAX_WRITE_BUFFER_SIZE = 16 * 1024 * 1024; // 16 MB
111+
const size_t P2P_CONNECTION_MAX_WRITE_BUFFER_SIZE = 64 * 1024 * 1024; // 64 MB
112112
const uint32_t P2P_DEFAULT_CONNECTIONS_COUNT = 8;
113113
const size_t P2P_DEFAULT_WHITELIST_CONNECTIONS_PERCENT = 70;
114114
const uint32_t P2P_DEFAULT_HANDSHAKE_INTERVAL = 60; // seconds
@@ -169,6 +169,7 @@ const std::initializer_list<CheckpointData> CHECKPOINTS = {
169169
{ 336336, "0075d20bf2b378750a5cc34baa208f75bf3119c5cb009b2b4182e733dff34b67" },
170170
{ 360000, "296cf882a4d14a12de1403ff9326b446ba3694b032fa46e33136a58903897475" },
171171
{ 385000, "79de0d2a49a2ad3407003931c0caa2cd040594519fcaf955ae724909334883ee" },
172+
{ 418020, "23f02d8af6318504659e94c55047ac464ad35d42ca4af5668c279f1e484fad19" },
172173
};
173174

174175
} // CryptoNote

src/version.h.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#define BUILD_COMMIT_ID "@VERSION@"
2-
#define PROJECT_VERSION "4.0.2-beta"
3-
#define PROJECT_VERSION_BUILD_NO "1800"
2+
#define PROJECT_VERSION "4.0.3-beta"
3+
#define PROJECT_VERSION_BUILD_NO "1801"
44
#define PROJECT_VERSION_LONG PROJECT_VERSION "." PROJECT_VERSION_BUILD_NO "(" BUILD_COMMIT_ID ")"

0 commit comments

Comments
 (0)