Skip to content
Snippets Groups Projects
Commit 2db5a1f7 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] #1126 Set the maximum prefix value to 899

parent 45bd7d50
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ export const Constants = { ...@@ -8,7 +8,7 @@ export const Constants = {
DEFAULT_CPU: 0.6, DEFAULT_CPU: 0.6,
DEFAULT_PEER_ID: 1, DEFAULT_PEER_ID: 1,
MIN_PEER_ID: 1, MIN_PEER_ID: 1,
MAX_PEER_ID: 999999, MAX_PEER_ID: 899, // Due to MAX_SAFE_INTEGER = 9007199254740991 (16 digits, and we use 11 digits for the nonce + 2 digits for core number => 3 digits for the peer, must be below 900)
NONCE_RANGE: 1000 * 1000 * 1000 * 100, NONCE_RANGE: 1000 * 1000 * 1000 * 100,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment