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

Add support for --jsonrpc-apis all #5394

Closed
chevdor opened this issue Apr 4, 2017 · 2 comments
Closed

Add support for --jsonrpc-apis all #5394

chevdor opened this issue Apr 4, 2017 · 2 comments
Assignees
Labels
F3-annoyance 💩 The client behaves within expectations, however this “expected behaviour” itself is at issue. M4-core ⛓ Core client code / Rust.

Comments

@chevdor
Copy link

chevdor commented Apr 4, 2017

It would be nice to be able to use:
parity --jsonrpc-apis all

with all being the entire list of available apis.

@tomusdrw
Copy link
Collaborator

tomusdrw commented Apr 5, 2017

Great idea!
I'll implement sth like this:

  • all - All APIs exposed (warning should be printed)
  • readonly - Read only APIs exposed (safe APIs)

and maybe additional syntax for:

  • all,-parity_accounts - All APIS without parity_accounts

@tomusdrw tomusdrw added F3-annoyance 💩 The client behaves within expectations, however this “expected behaviour” itself is at issue. M4-core ⛓ Core client code / Rust. labels Apr 5, 2017
@tomusdrw tomusdrw self-assigned this Apr 5, 2017
@chevdor
Copy link
Author

chevdor commented Apr 5, 2017

@tomusdrw readonly and the -api features would definitely be a cool extra to all!

In the context of --chain dev, it would make it convenient, as you mentioned, to have things like all,-parity_accounts to start quicker.

safeonly may be a better name than readonly since you felt the need to explain that read only APIs are the safe ones.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F3-annoyance 💩 The client behaves within expectations, however this “expected behaviour” itself is at issue. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

No branches or pull requests

2 participants