Module: Bitcoin::Validation
- Defined in:
- lib/bitcoin/validation.rb
Defined Under Namespace
Classes: Block, Tx, ValidationError
Constant Summary collapse
- MAX_BLOCK_SIZE =
maximum size of a block (in bytes)
1_000_000- MAX_BLOCK_SIGOPS =
maximum number of signature operations in a block
MAX_BLOCK_SIZE / 50
- INT_MAX =
maximum integer value
0xffffffff- COINBASE_MATURITY =
number of confirmations required before coinbase tx can be spent
100- RETARGET =
interval (in blocks) for difficulty retarget
2016- REWARD_DROP =
interval (in blocks) for mining reward reduction
210_000