Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

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

Merged
merged 4 commits into from
Jun 18, 2018

Commits on Jun 13, 2018

  1. 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
    XertroV committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    a4fee0e View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2018

  1. Refactor flag name + don't change import_own_tx behaviour

    fix arg name
    
    Note: force commit to try and get gitlab tests working again 😠
    XertroV committed Jun 15, 2018
    Configuration menu
    Copy the full SHA
    7a54866 View commit details
    Browse the repository at this point in the history
  2. Add fn to TestMinerService

    XertroV committed Jun 15, 2018
    Configuration menu
    Copy the full SHA
    c92845b View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2018

  1. 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
    XertroV committed Jun 16, 2018
    Configuration menu
    Copy the full SHA
    07125c7 View commit details
    Browse the repository at this point in the history