Expand description
Blockdata constants
This module provides various constants relating to the blockchain and consensus code. In particular, it defines the genesis block and its single transaction
Constants
- How many tapyrus are in “one TPC”
- The maximum allowed weight for a block, see BIP 141 (network rule)
- The maximum allowable sequence number
- The minimum transaction weight for a valid serialized transaction
- The factor that non-witness serialization data is multiplied by during weight calculation
Functions
- The maximum value allowed in an output (useful for sanity checking, since keeping everything below this value should prevent overflows if you are doing anything remotely sane with monetary values).