1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-30 11:58:23 +00:00

Changing '0 or more coins' to 'not negative' to avoid confusino that a whole bitcoin must be sent

This commit is contained in:
Minh T. Nguyen 2014-10-26 17:06:32 -04:00
parent bf57409047
commit 74c1fe19bd

View File

@ -95,7 +95,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
* Each output value, as well as the total, must be within the allowed range of values (less than 21m coins, 0 or more coins)
* Each output value, as well as the total, must be within the allowed range of values (less than 21m coins, not negative)
* None of the inputs have hash=0, N=-1 (coinbase transactions should not be relayed)
* nLockTime is less than or equal to INT_MAX
* The transaction size in bytes is greater than or equal to 100