rpc: add getblockfrompeer RPCTypeCheck and invalid input test coverage#24944
Merged
maflcko merged 2 commits intobitcoin:masterfrom Jul 12, 2022
Merged
rpc: add getblockfrompeer RPCTypeCheck and invalid input test coverage#24944maflcko merged 2 commits intobitcoin:masterfrom
maflcko merged 2 commits intobitcoin:masterfrom
Conversation
Member
Pretty sure the changes here have nothing to do with the issue. The issue report is about bitcoin-cli. Here, you are modifying the server code. |
Member
Author
|
Yes. Removed the mention in the description. |
maflcko
reviewed
Apr 22, 2022
w0xlt
approved these changes
May 9, 2022
luke-jr
pushed a commit
to luke-jr/bitcoin
that referenced
this pull request
May 21, 2022
Github-Pull: bitcoin#24944 Rebased-From: 734b966
luke-jr
pushed a commit
to luke-jr/bitcoin
that referenced
this pull request
May 21, 2022
Github-Pull: bitcoin#24944 Rebased-From: a926025ca822ae1fe480c6b1a2c480d1d4641c06
a926025 to
2ef5294
Compare
Member
Author
brunoerg
approved these changes
Jul 5, 2022
Member
|
edited comment (#24944 (comment)) due to a bug or feature (?) in github-merge.py: |
Member
|
My thinking is that we should make |
Member
|
So I am ~0, but happy to merge if reviewers think it is useful. |
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
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.
The new getblockfrompeer RPC lacks test coverage for invalid arguments, and its error messages are not harmonized with the existing RPCs.
Fix all issues.