fake blockchain generator + some simple performance test
network :no_difficulty option to avoid monkey patching
no_difficulty notes
refactor FakeBlockchain to work around caching issue
fix fake chain generation

genesis block was not being yield, so the blocki #1 was becoming genesis

* moved parsing blocks from disk away from the benchmark
* added check to make sure block was really stored in the main chain
check for already spent outputs with a single query during block validation

+ add index on txin (prev_out, prev_out_index)
don't log "relaying block ..." before deciding if the block is relayed
use storage config instead of asking to build tx.nhash index during migrations
OP_CHECKMULTISIGVERIFY

Apparently this has been missing all the time, was just triggered by testnet tx
b5cd9e999fb51e29ab741b1e1732f1d4d038bc493ffbced85a252533a2c2ab0c

Seems easy enough to implement, but the script execution still fails, because the OP_CHECKMULTISIG leaves the stack as [2, 1].
fix OP_CHECKMULTISIG p2sh with empty signature

as seen in mainnet tx: 136becd0892fa38c5aca8104db8b90b3a0e6b40912b7d1462aed583c067054cd
always pop extra item from stack to fix OP_CHECKMULTISIG handling
fix OP_CHECKMULTISIG when OP_0 is used as a pubkey
handle OP_CHECKMULTISIG with OP_0 pubkey like Bitcoin-core
fix warning in Gemfile

  removed test group and put all in development
Update Gemfile hash syntax to Ruby 1.9 style
Correct gem version number in README.rdoc
fix exception getting script address from invalid transactions (see testnet aba0441c4c9933dcd7db789c39053739ec435ab742ed2c23c05f22f1488c0bfd)
validation: pass block validator reference to individual tx validators

This way the tx validator can still use the optimizations provided by fetching all
data at once in the block validator, but it is only done when actually needed.
Without this it would always fetch the data even when it's just doing a syntax validation,
i.e. when storing blocks before the last checkpoint.
storage: ignore OP_RETURN scripts explicitly so they don't log an "Unknown script type" message
storage: option to index types of inner p2sh scripts