-
Notifications
You must be signed in to change notification settings - Fork 38.6k
[doc] Add missing field (permissions) to the getpeerinfo help #20756
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
maflcko
merged 1 commit into
bitcoin:master
from
amitiuttarwar:2020-12-getpeerinfo-permissions
Dec 26, 2020
Merged
[doc] Add missing field (permissions) to the getpeerinfo help #20756
maflcko
merged 1 commit into
bitcoin:master
from
amitiuttarwar:2020-12-getpeerinfo-permissions
Dec 26, 2020
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
This field was already being returned, but the RPCHelpMan did not indicate this. So, this PR updates the help text to match.
Contributor
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
Member
|
tACK 667d203 |
Member
|
Btw, this will be caught by #20459 (step 1/2) eventually |
maflcko
pushed a commit
to maflcko/bitcoin-core
that referenced
this pull request
Dec 26, 2020
This field was already being returned, but the RPCHelpMan did not indicate this. So, this PR updates the help text to match. Github-Pull: bitcoin#20756 Rebased-From: 667d203
maflcko
pushed a commit
to maflcko/bitcoin-core
that referenced
this pull request
Dec 26, 2020
This field was already being returned, but the RPCHelpMan did not indicate this. So, this PR updates the help text to match. Github-Pull: bitcoin#20756 Rebased-From: 667d203
sidhujag
pushed a commit
to syscoin/syscoin
that referenced
this pull request
Dec 27, 2020
…peerinfo help 667d203 [doc] Add permissions to the getpeerinfo help. (Amiti Uttarwar) Pull request description: This field was previously being returned, but missing from the RPCHelpMan. This PR uses the existing `NET_PERMISSIONS_DOC` to inform RPC users about this field. ``` "permissions" : [ (json array) Any special permissions that have been granted to this peer "str", (string) bloomfilter (allow requesting BIP37 filtered blocks and transactions), noban (do not ban for misbehavior; implies download), forcerelay (relay transactions that are already in the mempool; implies relay), relay (relay even in -blocksonly mode, and unlimited transaction announcements), mempool (allow requesting BIP35 mempool contents), download (allow getheaders during IBD, no disconnect after maxuploadtarget limit), addr (responses to GETADDR avoid hitting the cache and contain random records with the most up-to-date info). ... ], ``` ACKs for top commit: Sjors: tACK 667d203 Tree-SHA512: 973631b41d35d6333e3cb06b35277de869110f6ad6498c7e74f00c75202e8de1788a48755c21ac964903e5e6050a5e769a63866211aec9004cd665a727a54a3c
maflcko
pushed a commit
to maflcko/bitcoin-core
that referenced
this pull request
Jan 5, 2021
This field was already being returned, but the RPCHelpMan did not indicate this. So, this PR updates the help text to match. Github-Pull: bitcoin#20756 Rebased-From: 667d203
jaysonmald35
approved these changes
Sep 2, 2021
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.
This field was previously being returned, but missing from the RPCHelpMan. This PR uses the existing
NET_PERMISSIONS_DOCto inform RPC users about this field.