1
0

stricter tx deserialization: forbid output amount values over 21 million btc

This commit is contained in:
SomberNight
2018-06-12 14:33:22 +02:00
parent 5eb1cbef92
commit 0b78cb5e6b
2 changed files with 3 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ from .crypto import Hash, sha256, hash_160
COINBASE_MATURITY = 100
COIN = 100000000
TOTAL_COIN_SUPPLY_LIMIT_IN_BTC = 21000000
# supported types of transaction outputs
TYPE_ADDRESS = 0