-
Notifications
You must be signed in to change notification settings - Fork 85
Validation logic
Ignotus Peverell edited this page Oct 30, 2018
·
4 revisions
- Validate the "transaction body"
- Validate the total weight, including reward is lower than the consensus max weight
- Validate the sorting of inputs, outputs and kernels by their hashes
- Validate the block has been fully cut-through (no inputs matching an included output)
- Batch verify all output range proofs (but only those that aren't in the validation cache yet)
- Verify all kernel signatures against the excess and the message (fee+lock_time?)
- Verify no kernels have a future lock height
- Check that the reward plus fees "sums" correctly with the coinbase outputs commitments and kernels excess
- Verify the big "sum": all inputs plus reward+fee, all output commitments, all kernels plus the kernel excess from the header
Basics
- Getting Started
- User Documentation
- MimbleWimble
- FAQ
- Planned releases (Roadmap)
- Code of Conduct
Contributing
- Contributing Guide
- Code Structure
- Code coverage and metrics
- Code Reviews and Audits
- Adding repos to /mimblewimble
Development
Mining
Infrastructure
Exchange integrations
R&D
Grin Community
Grin Governance
Risk Management
Grin Internals
- Block Header Data Structure
- Detailed validation logic
- P2P Protocol
Misc