Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpc: check module availability at startup #20597

Merged
merged 8 commits into from
Jan 28, 2020

Conversation

fjl
Copy link
Contributor

@fjl fjl commented Jan 27, 2020

$ geth --rpc --rpcapi foo
...
Fatal: Error starting protocol stack: invalid API "foo" in whitelist (available: admin, debug, web3, eth, txpool, personal, ethash, net, les)

Resubmit of #20468
Fixes #20467

@fjl fjl merged commit a903912 into ethereum:master Jan 28, 2020
@holiman holiman added this to the 1.9.11 milestone Feb 3, 2020
fjl added a commit to fjl/go-ethereum that referenced this pull request Feb 17, 2020
This removes the error added in ethereum#20597 in favor of a log message at
error level. Failing to start broke a bunch of people's setups and is
probably not the right thing to do for this check.
karalabe pushed a commit that referenced this pull request Feb 17, 2020
This removes the error added in #20597 in favor of a log message at
error level. Failing to start broke a bunch of people's setups and is
probably not the right thing to do for this check.
enriquefynn pushed a commit to enriquefynn/go-ethereum that referenced this pull request Mar 10, 2021
enriquefynn pushed a commit to enriquefynn/go-ethereum that referenced this pull request Mar 10, 2021
…um#20684)

This removes the error added in ethereum#20597 in favor of a log message at
error level. Failing to start broke a bunch of people's setups and is
probably not the right thing to do for this check.
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Nov 4, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Nov 8, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Nov 8, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Nov 8, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Nov 8, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Nov 8, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Nov 8, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Nov 8, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--rpcapi does not cause or report an error when given an invalid parameter
3 participants