We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
interface_rest
1 parent 0b02ce9 commit aee29c5Copy full SHA for aee29c5
test/functional/interface_rest.py
@@ -288,6 +288,10 @@ def run_test(self):
288
289
# See if we can get 5 headers in one response
290
self.generate(self.nodes[1], 5)
291
+ expected_filter = {
292
+ 'basic block filter index': {'synced': True, 'best_block_height': 208},
293
+ }
294
+ self.wait_until(lambda: self.nodes[0].getindexinfo() == expected_filter)
295
json_obj = self.test_rest_request(f"/headers/{bb_hash}", query_params={"count": 5})
296
assert_equal(len(json_obj), 5) # now we should have 5 header objects
297
json_obj = self.test_rest_request(f"/blockfilterheaders/basic/{bb_hash}", query_params={"count": 5})
0 commit comments