consistent naming.
fix typo.
get block by txid.
minor
fix leveldb traversal.
getblockbytime
fix getblockbytime
error handling.