rawdb to return errors: part 1 (#1286)
* ReadBlockByNumber and ReadChainConfig return error * Let's make rawdb package to return error. But by small steps. High-level methods need to move first: ReadBlockByNumber ReadChainConfig ReadBlockByHash ReadHeaderByHash WriteChainConfig WriteDatabaseVersion WriteBlock DeleteTd WriteTd ReadTd
Showing
- accounts/abi/bind/backends/simulated.go 12 additions, 3 deletionsaccounts/abi/bind/backends/simulated.go
- cmd/hack/hack.go 4 additions, 1 deletioncmd/hack/hack.go
- cmd/restapi/apis/retrace_tx_api.go 4 additions, 1 deletioncmd/restapi/apis/retrace_tx_api.go
- cmd/rpcdaemon/commands/debug_api.go 21 additions, 5 deletionscmd/rpcdaemon/commands/debug_api.go
- cmd/rpcdaemon/commands/eth_block.go 26 additions, 6 deletionscmd/rpcdaemon/commands/eth_block.go
- cmd/rpcdaemon/commands/eth_receipts.go 4 additions, 1 deletioncmd/rpcdaemon/commands/eth_receipts.go
- cmd/rpcdaemon/commands/eth_system.go 4 additions, 1 deletioncmd/rpcdaemon/commands/eth_system.go
- cmd/rpcdaemon/commands/eth_txs.go 8 additions, 2 deletionscmd/rpcdaemon/commands/eth_txs.go
- cmd/rpcdaemon/commands/eth_uncles.go 26 additions, 6 deletionscmd/rpcdaemon/commands/eth_uncles.go
- cmd/rpcdaemon/commands/get_chain_config.go 14 additions, 6 deletionscmd/rpcdaemon/commands/get_chain_config.go
- cmd/rpcdaemon/commands/tg_block.go 4 additions, 1 deletioncmd/rpcdaemon/commands/tg_block.go
- cmd/rpcdaemon/commands/tg_issuance.go 10 additions, 3 deletionscmd/rpcdaemon/commands/tg_issuance.go
- cmd/rpcdaemon/commands/tg_system.go 4 additions, 1 deletioncmd/rpcdaemon/commands/tg_system.go
- cmd/rpcdaemon/commands/trace_filtering.go 30 additions, 7 deletionscmd/rpcdaemon/commands/trace_filtering.go
- core/bench_test.go 3 additions, 1 deletioncore/bench_test.go
- core/blockchain.go 18 additions, 7 deletionscore/blockchain.go
- core/blockchain_test.go 10 additions, 3 deletionscore/blockchain_test.go
- core/genesis.go 20 additions, 6 deletionscore/genesis.go
- core/headerchain.go 7 additions, 6 deletionscore/headerchain.go
- core/rawdb/accessors_chain.go 34 additions, 27 deletionscore/rawdb/accessors_chain.go
Loading
Please register or sign in to comment