From 1e724aa00ce811cc1e97a76f3a277446a08a4ce6 Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Thu, 21 Nov 2024 12:56:54 +0100 Subject: [PATCH] Fix documentation of `MAX_ENCODED_UNCLES_LENGTH` value (#353) 2^11 * 2^4 == 2^15 not 2^17. 32k was already correct. --- history/history-network.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/history/history-network.md b/history/history-network.md index d9c0c29..09e1f34 100644 --- a/history/history-network.md +++ b/history/history-network.md @@ -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.