grin/pool
AntiochP 95a92eefc9 Cannot spend coinbase for N blocks (#111)
* use head_header in add_to_memory_pool
* add COINBASE_MATURITY const to consensus
* add coinbase maturity (wip) validaton rule to validate_block
* add coinbase maturity check to validate_block
* map errors in adapters - specific errors still wip
* reworked so adapter translates chain errors to pool errors (core errors not required)
* add test for spending immature coinbase in memory pool
* wip - add test to cover spending coinbase output in chain.process_block
* added test coverage around process_block - we have a problem with coinbase output commitments
* add a comment on the failing test
* process_block will now fail validation if we attempt to spend coinbase that has not yet matured
(remember to use a new reward_key for every block). test coverage in place to verify this
2017-09-12 17:24:24 +00:00
..
src Cannot spend coinbase for N blocks (#111) 2017-09-12 17:24:24 +00:00
Cargo.toml WIP: Tracking Transaction Pool Implementation (#48) 2017-05-19 17:22:08 +02:00
rustfmt.toml WIP: Tracking Transaction Pool Implementation (#48) 2017-05-19 17:22:08 +02:00