Skip to content

Commit

Permalink
Fix documentation of MAX_ENCODED_UNCLES_LENGTH value
Browse files Browse the repository at this point in the history
2^11 * 2^4 == 2^15 not 2^17. 32k was already correct.
  • Loading branch information
etan-status committed Nov 9, 2024
1 parent e8e428c commit 8fa7c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion history/history-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ MAX_HEADER_LENGTH = 2**11 # = 2048
# of the format is unclear to me, I'm leaving more room for expansion, and
# setting the max at about 2 kilobytes.

MAX_ENCODED_UNCLES_LENGTH = MAX_HEADER_LENGTH * 2**4 # = 2**17 ~= 32k
MAX_ENCODED_UNCLES_LENGTH = MAX_HEADER_LENGTH * 2**4 # = 2**15 ~= 32k
# Maximum number of uncles is currently 2. Using 16 leaves some room for the
# protocol to increase the number of uncles.

Expand Down

0 comments on commit 8fa7c69

Please sign in to comment.