From b6c5b3ab1fa6a570f31bb2a22307e877c3c083e2 Mon Sep 17 00:00:00 2001 From: Dan Raviv Date: Sat, 10 Apr 2021 12:28:42 +0300 Subject: [PATCH] Remove reference to outdated constant MAX_BLOCK_SIZE. Resolves #918 --- ch10.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch10.asciidoc b/ch10.asciidoc index ab97b408..6af7a68a 100644 --- a/ch10.asciidoc +++ b/ch10.asciidoc @@ -107,7 +107,7 @@ Each node verifies every transaction against a long checklist of criteria: * The transaction's syntax and data structure must be correct. * Neither lists of inputs or outputs are empty. -* The transaction size in bytes is less than +MAX_BLOCK_SIZE+. +* The transaction size is less than the maximum allowed size for a block excluding witness data, as shown in https://bit.ly/3t623VL[_tx_check.cpp_]. * Each output value, as well as the total, must be within the allowed range of values (less than 21m coins, more than the _dust_ threshold). * None of the inputs have hash=0, N=–1 (coinbase transactions should not be relayed). * +nLocktime+ is equal to +INT_MAX+, or +nLocktime+ and +nSequence+ values are satisfied according to +MedianTimePast+.