openethereum/parity
André Silva cc44ae9cb5 [beta] Backports (#8916)
* `duration_ns: u64 -> duration: Duration` (#8457)

* duration_ns: u64 -> duration: Duration

* format on millis {:.2} -> {}

* Keep all enacted blocks notify in order (#8524)

* Keep all enacted blocks notify in order

* Collect is unnecessary

* Update ChainNotify to use ChainRouteType

* Fix all ethcore fn defs

* Wrap the type within ChainRoute

* Fix private-tx and sync api

* Fix secret_store API

* Fix updater API

* Fix rpc api

* Fix informant api

* Eagerly cache enacted/retracted and remove contain_enacted/retracted

* Fix indent

* tests: should use full expr form for struct constructor

* Use into_enacted_retracted to further avoid copy

* typo: not a function

* rpc/tests: ChainRoute -> ChainRoute::new

* Handle removed logs in filter changes and add geth compatibility field (#8796)

* Add removed geth compatibility field in log

* Fix mocked tests

* Add field block hash in PollFilter

* Store last block hash info for log filters

* Implement canon route

* Use canon logs for fetching reorg logs

Light client removed logs fetching is disabled. It looks expensive.

* Make sure removed flag is set

* Address grumbles

* Fixed AuthorityRound deadlock on shutdown, closes #8088 (#8803)

* CI: Fix docker tags (#8822)

* scripts: enable docker builds for beta and stable

* scripts: docker latest should be beta not master

* scripts: docker latest is master

* ethcore: fix ancient block error msg handling (#8832)

* Disable parallel verification and skip verifiying already imported txs. (#8834)

* Reject transactions that are already in pool without verifying them.

* Avoid verifying already imported transactions.

* Fix concurrent access to signer queue (#8854)

* Fix concurrent access to signer queue

* Put request back to the queue if confirmation failed

* typo: fix docs and rename functions to be more specific

`request_notify` does not need to be public, and it's renamed to `notify_result`.
`notify` is renamed to `notify_message`.

* Change trace info "Transaction" -> "Request"

* Don't allocate in expect_valid_rlp unless necessary (#8867)

* don't allocate via format! in case there's no error

* fix test?

* fixed ipc leak, closes #8774 (#8876)

* Add new ovh bootnodes and fix port for foundation bootnode 3.2 (#8886)

* Add new ovh bootnodes and fix port for foundation bootnode 3.2

* Remove old bootnodes.

* Remove duplicate 1118980bf48b0a3640bdba04e0fe78b1add18e1cd99bf22d53daac1fd9972ad650df52176e7c7d89d1114cfef2bc23a2959aa54998a46afcf7d91809f0855082

* Block 0 is valid in queries (#8891)

Early exit for block nr 0 leads to spurious error about pruning: `…your node is running with state pruning…`.

Fixes #7547, #8762

* Add ETC Cooperative-run load balanced parity node (#8892)

* Minor fix in chain supplier and light provider (#8906)

* fix chain supplier increment

* fix light provider block_headers

* Check whether we need resealing in miner and unwrap has_account in account_provider (#8853)

* Remove unused Result wrap in has_account

* Check whether we need to reseal for external transactions

* Fix reference to has_account interface

* typo: missing )

* Refactor duplicates to prepare_and_update_sealing

* Fix build

* Allow disabling local-by-default for transactions with new config entry (#8882)

* Add tx_queue_allow_unknown_local config option

- Previous commit messages:

dispatcher checks if we have the sender account

Add `tx_queue_allow_unknown_local` to MinerOptions

Add `tx_queue_allow_unknown_local` to config

fix order in MinerOptions to match Configuration

add cli flag for tx_queue_allow_unknown_local

Update refs to `tx_queue_allow_unknown_local`

Add tx_queue_allow_unknown_local to config test

revert changes to dispatcher

Move tx_queue_allow_unknown_local to `import_own_transaction`

Fix var name

if statement should return the values

derp de derp derp derp semicolons

Reset dispatch file to how it was before

fix compile issues + change from FLAG to ARG

add test and use `into`

import MinerOptions, clone the secret

Fix tests?

Compiler/linter issues fixed

Fix linter msg - case of constants

IT LIVES

refactor to omit yucky explict return

update comments

Fix based on diff AccountProvider.has_account method

* Refactor flag name + don't change import_own_tx behaviour

fix arg name

Note: force commit to try and get gitlab tests working again 😠

* Add fn to TestMinerService

* Avoid race condition from trusted sources

- refactor the miner tests a bit to cut down on code reuse
- add `trusted` param to dispatch_transaction and import_claimed_local_transaction

Add param to `import_claimed_local_transaction`

Fix fn sig in tests
2018-06-19 10:41:14 +02:00
..
cli [beta] Backports (#8916) 2018-06-19 10:41:14 +02:00
db Unify and limit rocksdb dependency places (#8371) 2018-04-13 21:14:53 +02:00
light_helpers More code refactoring to integrate Duration (#8322) 2018-04-14 21:35:58 +02:00
account.rs [beta] Backports (#8624) 2018-05-15 07:41:30 +02:00
blockchain.rs Move ethcore::Error to error_chain (#8386) 2018-04-19 11:52:54 +02:00
cache.rs Upgrade to RocksDB 5.8.8 and tune settings to reduce space amplification (#7348) 2018-01-03 11:00:37 +01:00
configuration.rs [beta] Backports (#8916) 2018-06-19 10:41:14 +02:00
dapps.rs Enable UI by default, but only display deprecation notice (#8262) 2018-04-10 16:14:15 +02:00
deprecated.rs Make CLI arguments parsing more backwards compatible 2017-11-08 12:33:56 +01:00
export_hardcoded_sync.rs Unify and limit rocksdb dependency places (#8371) 2018-04-13 21:14:53 +02:00
helpers.rs Unify and limit rocksdb dependency places (#8371) 2018-04-13 21:14:53 +02:00
informant.rs [beta] Backports (#8916) 2018-06-19 10:41:14 +02:00
ipfs.rs Fix default CORS settings. (#7387) 2017-12-27 18:56:06 +01:00
main.rs ParityShell::open Return result (#8377) 2018-04-21 12:54:48 +02:00
modules.rs ethcore-sync (#8347) 2018-04-10 12:13:49 +02:00
params.rs New Transaction Queue implementation (#8074) 2018-04-13 17:34:27 +02:00
presale.rs Fix #6209 - introduce standalone dir crate 2017-12-26 00:54:34 -08:00
rpc_apis.rs ethcore-sync (#8347) 2018-04-10 12:13:49 +02:00
rpc.rs Enable UI by default, but only display deprecation notice (#8262) 2018-04-10 16:14:15 +02:00
run.rs [beta] Backports (#8916) 2018-06-19 10:41:14 +02:00
secretstore.rs [beta] Backports (#8916) 2018-06-19 10:41:14 +02:00
signer.rs Re-enable signer, even with no UI. (#8167) 2018-03-20 17:57:37 +00:00
snapshot.rs [beta] Backports (#8785) 2018-06-04 22:29:20 +02:00
stratum.rs remove the deprecated options in rustfmt.toml (#5616) 2017-05-19 17:12:20 +02:00
upgrade.rs Upgrader remove raw unwrap and bump semver (#8251) 2018-04-04 11:54:41 +02:00
url.rs ParityShell::open Return result (#8377) 2018-04-21 12:54:48 +02:00
user_defaults.rs Refactors parity/parity to use journaldb crate (#6693) 2017-10-17 11:46:54 +07:00
whisper.rs [beta] Backports (#8624) 2018-05-15 07:41:30 +02:00