From 6ab46e0a7bd21d376a6f7a3012ed56cf4f6ac780 Mon Sep 17 00:00:00 2001 From: Wojciech Langiewicz Date: Fri, 31 Oct 2014 15:40:34 +0100 Subject: [PATCH] 0 BTC is correct value to send --- ch08.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch08.asciidoc b/ch08.asciidoc index 20687e00..5235359f 100644 --- a/ch08.asciidoc +++ b/ch08.asciidoc @@ -106,7 +106,7 @@ Each node verifies every transaction against a long checklist of criteria: * For each input, look in the main branch and the transaction pool to find the referenced output transaction. If the output transaction is missing for any input, this will be an orphan transaction. Add to the orphan transactions pool, if a matching transaction is not already in the pool * For each input, if the referenced output transaction is a coinbase output, it must have at least COINBASE_MATURITY (100) confirmations * For each input, the referenced output must exist and cannot already be spent -* Using the referenced output transactions to get input values, check that each input value, as well as the sum, are in the allowed range of values (less than 21m coins, more than 0) +* Using the referenced output transactions to get input values, check that each input value, as well as the sum, are in the allowed range of values (less than 21m coins, not negative) * Reject if the sum of input values < sum of output values * Reject if transaction fee would be too low to get into an empty block * The unlocking scripts for each input must validate against the corresponding output locking scripts