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
......@@ -8,7 +8,7 @@ export const Constants = {
DEFAULT_CPU: 0.6,
DEFAULT_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,
......
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