-
Notifications
You must be signed in to change notification settings - Fork 38.8k
rpc: Add logpath description for getrpcinfo #16332
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
laanwj
reviewed
Jul 3, 2019
5be19f9 to
a30bd09
Compare
darosior
approved these changes
Jul 3, 2019
promag
reviewed
Jul 3, 2019
| " },...\n" | ||
| " ]\n" | ||
| " ],\n" | ||
| " \"logpath\": \"xxx\" (string) The complete file path to the debug log\n" |
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/complete/absolute?
fanquake
approved these changes
Jul 8, 2019
Member
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK a30bd09
master (2b46519):
$ src/bitcoin-cli help getrpcinfo
getrpcinfo
Returns details of the RPC server.
Result:
{
"active_commands" (array) All active commands
[
{ (object) Information about an active command
"method" (string) The name of the RPC command
"duration" (numeric) The running time in microseconds
},...
]
}
Examples:
> bitcoin-cli getrpcinfo
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/This PR (a30bd09):
src/bitcoin-cli help getrpcinfo
getrpcinfo
Returns details of the RPC server.
Result:
{
"active_commands" (array) All active commands
[
{ (object) Information about an active command
"method" (string) The name of the RPC command
"duration" (numeric) The running time in microseconds
},...
],
"logpath": "xxx" (string) The complete file path to the debug log
}
Examples:
> bitcoin-cli getrpcinfo
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/
sidhujag
pushed a commit
to syscoin/syscoin
that referenced
this pull request
Jul 9, 2019
a30bd09 Add logpath description for getrpcinfo (Gregory Sanders) Pull request description: Introduced in bitcoin#15483 ACKs for top commit: fanquake: ACK a30bd09 Tree-SHA512: f561af675d1184412b9e426debab6269f80a65098fc7226ee93581f4075dfc93846dd4b226bd4842eb43e1649d3291c7d18558bfeb851970728b64b8a0e6df0f
jasonbcox
pushed a commit
to Bitcoin-ABC/bitcoin-abc
that referenced
this pull request
Oct 8, 2020
Summary: Backport of Core [[bitcoin/bitcoin#16332 | PR16332]] Depends on D7820 Test Plan: Build, run `src/bitcoind` and `src/bitcoin-cli help getrpcinfo` Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D7821
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduced in #15483