openethereum/ethcore/src
David 799ae29ac4 Print warnings when fetching pending blocks (#8711)
* Lots of println to figure out what eth_getBlockByNumber does/should do

* Remove debugging

* Print warnings when fetching pending blocks

When calling `eth_getBlockByNumber` with `pending`, we now print a deprecation warning and:

* if a pending block is found, use it to respond
* if no pending block is found, respond as if if was a request for `Latest`

Addresses issue #8703 (not sure if it's enough to close it tbh)
2018-06-01 09:38:20 +02:00
..
account_provider Permission fix (#8441) 2018-04-20 12:22:19 +02:00
blockchain Fork choice and metadata framework for Engine (#8401) 2018-05-16 14:58:01 +08:00
blooms revert removing blooms (#8066) 2018-03-12 20:15:55 +00:00
client Fix PoW blockchains sealing notifications in chain_new_blocks (#8656) 2018-05-31 15:28:25 +02:00
engines Fork choice and metadata framework for Engine (#8401) 2018-05-16 14:58:01 +08:00
ethereum Fork choice and metadata framework for Engine (#8401) 2018-05-16 14:58:01 +08:00
json_tests Replace legacy Rlp with UntrustedRlp and use in ethcore rlp views (#8316) 2018-04-16 15:52:12 +02:00
miner Print warnings when fetching pending blocks (#8711) 2018-06-01 09:38:20 +02:00
snapshot Shutdown the Snapshot Service early (#8658) 2018-05-29 13:23:15 +03:00
spec Remove unused function new_pow_test_spec (#8735) 2018-05-31 15:06:22 +08:00
state Remove unnecessary cloning in overwrite_with (#8580) 2018-05-09 18:41:56 +02:00
tests Fork choice and metadata framework for Engine (#8401) 2018-05-16 14:58:01 +08:00
trace Rlp decode returns Result (#8527) 2018-05-08 11:22:12 +02:00
verification Fork choice and metadata framework for Engine (#8401) 2018-05-16 14:58:01 +08:00
views Don't block sync when importing old blocks (#8530) 2018-05-09 08:49:34 +02:00
account_db.rs dissolve util (#7460) 2018-01-10 15:35:18 +03:00
block.rs Fork choice and metadata framework for Engine (#8401) 2018-05-16 14:58:01 +08:00
builtin.rs Consolidate crypto functionality in `ethcore-crypto`. (#8432) 2018-05-05 11:02:33 +02:00
cache_manager.rs Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
db.rs Rlp decode returns Result (#8527) 2018-05-08 11:22:12 +02:00
encoded.rs Block::decode() returns Result (#8586) 2018-05-11 11:33:13 +02:00
error.rs Decoding headers can fail (#8570) 2018-05-09 12:05:56 +02:00
executed.rs Move ethcore::Error to error_chain (#8386) 2018-04-19 11:52:54 +02:00
executive.rs Trace precompiled contracts when the transfer value is not zero (#8486) 2018-05-09 08:48:55 +02:00
externalities.rs Private transactions integration pr (#6422) 2018-04-09 16:14:33 +02:00
factory.rs Kovan WASM fork code (#7849) 2018-02-19 12:27:42 +01:00
header.rs Fork choice and metadata framework for Engine (#8401) 2018-05-16 14:58:01 +08:00
lib.rs Consolidate crypto functionality in `ethcore-crypto`. (#8432) 2018-05-05 11:02:33 +02:00
machine.rs Refactor EIP150, EIP160 and EIP161 forks to be specified in CommonParams (#8614) 2018-05-22 12:24:09 +08:00
pod_account.rs removed redundant PodAccount::new method (#7928) 2018-02-19 10:58:04 +01:00
pod_state.rs clean up account fmt::Debug (#7983) 2018-02-27 18:37:36 +01:00
state_db.rs Permission fix (#8441) 2018-04-20 12:22:19 +02:00
test_helpers.rs Fork choice and metadata framework for Engine (#8401) 2018-05-16 14:58:01 +08:00
test_helpers_internal.rs Unify and limit rocksdb dependency places (#8371) 2018-04-13 21:14:53 +02:00
tx_filter.rs New Transaction Queue implementation (#8074) 2018-04-13 17:34:27 +02:00