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 debug command line option #1577

merged 4 commits into from Jan 23, 2019


3 participants
Copy link

commented Jan 11, 2019

Allows for running RPC actions when you don't want to enable RPC in the config/have a running node, or when curl or similar tools aren't conveniently available (minimal-install air-gapped machines, etc)

Example: echo '{"action": "block_count"}' |nano_node --debug_rpc or feed it a file.

Prefixed as debug as this is not a stable part of the command line interface/may be removed.

@cryptocode cryptocode added this to the V18.0 milestone Jan 11, 2019

@cryptocode cryptocode self-assigned this Jan 11, 2019

@cryptocode cryptocode added this to CP 2 (2018-01-16) in V18 Jan 11, 2019

cryptocode added some commits Jan 11, 2019

@zhyatt zhyatt requested a review from SergiySW Jan 14, 2019

Copy link

left a comment

MAy be add something about network commands won't take any effect? I.e. republish returning success, but no block can be republished within inactive node

@rkeene rkeene merged commit 3e87c6f into nanocurrency:master Jan 23, 2019

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
continuous-integration/appveyor/pr AppVeyor build succeeded

@cryptocode cryptocode deleted the cryptocode:feature/debug_rpc branch Jan 23, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.