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

Remove public node settings from cli #8758

Merged
merged 5 commits into from
Jun 1, 2018
Merged

Remove public node settings from cli #8758

merged 5 commits into from
Jun 1, 2018

Conversation

sorpaas
Copy link
Collaborator

@sorpaas sorpaas commented Jun 1, 2018

rel #8649.

Remove public node related settings. Keep legacy --public-node args and public_node item in config.toml to keep it backward compatible.

@sorpaas sorpaas added A0-pleasereview 🤓 Pull request needs code review. M5-binaries 📦 External binaries (ethkey, ethstore, ethvm, etc.) labels Jun 1, 2018
@sorpaas sorpaas added this to the 1.12 milestone Jun 1, 2018
parity/run.rs Outdated
false => Some(account_provider.clone())
};

let secret_store = Some(account_provider.clone());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible now to remove the Option from secret_store in the rpc dependencies? Then could remove these unwraps e.g. https://github.com/paritytech/parity/blob/master/rpc/src/v1/impls/signing_unsafe.rs#L111.

@ascjones ascjones added A7-looksgoodtestsfail 🤖 Pull request is reviewed well, but cannot be merged due to tests failing. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jun 1, 2018
@ascjones
Copy link
Contributor

ascjones commented Jun 1, 2018

Just some compilation errors in some mocks

@ascjones ascjones merged commit 79eb8f7 into master Jun 1, 2018
@ascjones ascjones deleted the public-node-removal branch June 1, 2018 14:50
@5chdn 5chdn added A8-looksgood 🦄 Pull request is reviewed well. B7-releasenotes 📜 Changes should be mentioned in the release notes of the next minor version release. and removed A7-looksgoodtestsfail 🤖 Pull request is reviewed well, but cannot be merged due to tests failing. labels Jun 2, 2018
@5chdn
Copy link
Contributor

5chdn commented Jun 2, 2018

Question: is there anything left from public node after this is merged?

@sorpaas
Copy link
Collaborator Author

sorpaas commented Jun 3, 2018

@5chdn This remove all things enabled by the --public-node flag. So I think there shouldn't be anything else left for public node.

dvdplm added a commit that referenced this pull request Jun 4, 2018
* master:
  Remove HostTrait altogether (#8681)
  ethcore-sync: fix connection to peers behind chain fork block (#8710)
  Remove public node settings from cli (#8758)
  Custom Error Messages on ENFILE and EMFILE IO Errors (#8744)
  CI: Fixes for Android Pipeline (#8745)
  Remove NetworkService::config() (#8653)
  Fix XOR distance calculation in discovery Kademlia impl (#8589)
  Print warnings when fetching pending blocks (#8711)
@5chdn 5chdn mentioned this pull request Jun 4, 2018
5 tasks
ordian added a commit to ordian/parity that referenced this pull request Jun 4, 2018
…rp_sync_on_light_client

* 'master' of https://github.com/paritytech/parity:
  Remove Result wrapper from AccountProvider in RPC impls (openethereum#8763)
  Update `license header` and `scripts` (openethereum#8666)
  Remove HostTrait altogether (openethereum#8681)
  ethcore-sync: fix connection to peers behind chain fork block (openethereum#8710)
  Remove public node settings from cli (openethereum#8758)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. B7-releasenotes 📜 Changes should be mentioned in the release notes of the next minor version release. M5-binaries 📦 External binaries (ethkey, ethstore, ethvm, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants