openethereum/parity
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
..
cli Allow disabling local-by-default for transactions with new config entry (#8882) 2018-06-18 15:32:18 +02:00
db Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
light_helpers Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
account.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
blockchain.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
cache.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
configuration.rs Allow disabling local-by-default for transactions with new config entry (#8882) 2018-06-18 15:32:18 +02:00
dapps.rs Remove UI related settings from CLI (#8783) 2018-06-06 10:05:52 +02:00
deprecated.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
export_hardcoded_sync.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
helpers.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
informant.rs parity: fix indentation in sync logging (#8794) 2018-06-06 14:15:13 +02:00
ipfs.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
lib.rs Fix deadlock_detection feature branch compilation (#8824) 2018-06-08 10:04:12 +02:00
main.rs typo (#8640) 2018-05-16 20:09:59 +02:00
modules.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
params.rs Add support for --chain tobalaba (#8870) 2018-06-14 11:03:22 +02:00
presale.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
rpc_apis.rs Allow Poll Lifetime to be configured via CLI (#8885) 2018-06-18 13:42:54 +02:00
rpc.rs Remove UI related settings from CLI (#8783) 2018-06-06 10:05:52 +02:00
run.rs Allow Poll Lifetime to be configured via CLI (#8885) 2018-06-18 13:42:54 +02:00
secretstore.rs SecretStore: service pack 1 (#8435) 2018-06-14 10:01:52 +03:00
signer.rs Remove UI related settings from CLI (#8783) 2018-06-06 10:05:52 +02:00
snapshot.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
stratum.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
upgrade.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
url.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
user_defaults.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
whisper.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00