Alex Sharov
77a4b3305d
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
2020-10-24 07:57:09 +01:00
Alex Sharov
6584b43b12
Allow start read transactions from ethdb.Database interface ( #1287 )
...
* allow_read_transactions
* fix lint
* fix lint
* more cases
2020-10-24 07:55:43 +01:00
Thomas Jay Rush
c6c82b7569
Finish moving functions to consistent locations to ease testing/documentation of RPC ( #1241 )
...
* Cleaning up comments to start
* Renaming get_receipts.go to eth_receipts.go
* Stubbing out RPC mining routines
* Move block-related commands to eth_block.go
* Move transaction-related commands to eth_txs.go
* Move account-related commands to eth_accounts.go
* Move system-related commands to eth_system.go
* Final cleanup
* Updating testing
2020-10-14 16:59:42 +01:00
Thomas Jay Rush
d6587ba250
Simple file renaming to make automated testing easier ( #1230 )
...
* Simple file renaming to make automated testing easier
* Fixing comment
2020-10-12 15:17:34 +01:00