openethereum/ethcore
Max Kaye 6004c394d6 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-18 15:32:18 +02:00
..
benches Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
crypto Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
evm Have space between feature cfg flag (#8791) 2018-06-05 11:28:35 +02:00
light Minor fix in chain supplier and light provider (#8906) 2018-06-15 17:30:34 +02:00
node_filter Fix subcrate test compile (#8862) 2018-06-11 12:26:49 +02:00
private-tx Conditionally compile ethcore public test helpers (#8743) 2018-06-04 15:58:44 +02:00
res Add ETC Cooperative-run load balanced parity node (#8892) 2018-06-14 13:47:19 +02:00
service Fix subcrate test compile (#8862) 2018-06-11 12:26:49 +02:00
src Allow disabling local-by-default for transactions with new config entry (#8882) 2018-06-18 15:32:18 +02:00
stratum Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
sync Minor fix in chain supplier and light provider (#8906) 2018-06-15 17:30:34 +02:00
transaction Disallow unsigned transactions in case EIP-86 is disabled (#8802) 2018-06-05 19:49:11 +02:00
types added from and to to Receipt (#8756) 2018-06-07 16:47:41 +02:00
vm Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
wasm Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
Cargo.toml Conditionally compile ethcore public test helpers (#8743) 2018-06-04 15:58:44 +02:00