[Bitcoin-development] script tests - invalid script in script_valid.json?
pieter.wuille at gmail.com
Tue Jul 31 14:26:21 UTC 2012
On Mon, Jul 30, 2012 at 2:52 AM, Gavin Andresen <gavinandresen at gmail.com> wrote:
> check*sig tests are tricky, because they have to refer to previous
> unspent transactions and private keys (so require a particular block
> chain to test against). Brilliant ideas on a simple data-driven format
Ultraprune changes the block validation mechanism to only use a set of
coins and the latest block pointer as state. This state is represented
by an abstract class with several implementations. It would be easy to
have a testset run with a memory-backed coin set as state, with the
list of coins and blocks loaded from a file.
More information about the bitcoin-dev