CounterpartyXCP/counterpartyd — pull request #322 by JahPowerBit (2014-10-07 00:45:31+00:00)
Title: add mock functions

for `multisig_pubkeyhashes_to_pubkeys` and `decoderawtransaction`.
With these two mock functions we don't need any more to have a bitcoind instance running.
Note that like `getrawtransaction` mock, `decoderawtransaction` use `test/fixtures/rawtransactions.db` database. To populate this database we need to have a bitcoind instance running and execute one time tests with `--initrawtransactions` and/or `--saverawtransactions`.
For instance `py.test --skiptestbook=all --initrawtransactions --saverawtransactions`.