-
Notifications
You must be signed in to change notification settings - Fork 38.6k
test: add coverage for invalid requests for blockfilterheaders (REST)
#25045
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
test: add coverage for invalid requests for blockfilterheaders (REST)
#25045
Conversation
blockfilterheadersblockfilterheaders (REST)
jacobpfickes
left a comment
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 f11b8216fe6ec79b23c603ac185095222d0e9ff5
Pulled and verified additions. Great work
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.
Light ACK f11b8216fe6ec79b23c603ac185095222d0e9ff5, this builds on and is similar to predecessor commit bd52684
Should the logging be updated? e.g.
--- a/test/functional/interface_rest.py
+++ b/test/functional/interface_rest.py
@@ -219,7 +219,7 @@ class RESTTest (BitcoinTestFramework):
self.generate(self.nodes[0], 1) # generate block to not affect upcoming tests
- self.log.info("Test the /block, /blockhashbyheight and /headers URIs")
+ self.log.info("Test the /block, /blockhashbyheight, /headers, and /blockfilterheaders URIs")
bb_hash = self.nodes[0].getbestblockhash()
@jonatack, yes! Not only because of this PR, but it should be updated anyway because in that range of code there are some tests involving |
c817d89 to
d1bfe5e
Compare
|
ACK d1bfe5e |
vincenzopalazzo
left a comment
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 d1bfe5e
|
Post-merged ACK d1bfe5e |
…ckfilterheaders` (REST) d1bfe5e test: add coverage for invalid requests for `blockfilterheaders` (brunoerg) Pull request description: This PR adds test coverage for invalid requests (`Invalid hash` and `Unknown filtertype`) for `/blockfilterheaders` in REST functional test. ACKs for top commit: jonatack: ACK d1bfe5e vincenzopalazzo: ACK bitcoin@d1bfe5e Tree-SHA512: 9ab7efe7131296577c60642f95921799cf1dbae9c2aaea6752d2ac9f35a1bcc72b9d742a146c314f82fe1848190a80c88836ab78fc28773ed12e97fa327828e7
This PR adds test coverage for invalid requests (
Invalid hashandUnknown filtertype) for/blockfilterheadersin REST functional test.