consistent naming.
fix typo.
get block by txid.
minor
fix leveldb traversal.
getblockbytime
fix getblockbytime
error handling.
check txPos for leveldb.
check txPos for leveldb, again.
parse ldb blocks correctly.
parse ldb block index again.
correctly parsed ldb blocks.
debugging. nHeight is incorrect.
Merge pull request #2 from bitpay/master

update to head