File tree 1 file changed +22
-0
lines changed
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ Notable changes
2
+ ===============
3
+
4
+ Updated REST APIs
5
+ -----------------
6
+
7
+ - The ` /headers/ ` and ` /blockfilterheaders/ ` endpoints have been updated to use
8
+ a query parameter instead of path parameter to specify the result count. The
9
+ count parameter is now optional, and defaults to 5 for both endpoints. The old
10
+ endpoints are still functional, and have no documented behaviour change.
11
+
12
+ For ` /headers ` , use
13
+ ` GET /rest/headers/<BLOCK-HASH>.<bin|hex|json>?count=<COUNT=5> `
14
+ instead of
15
+ ` GET /rest/headers/<COUNT>/<BLOCK-HASH>.<bin|hex|json> ` (deprecated)
16
+
17
+ For ` /blockfilterheaders/ ` , use
18
+ ` GET /rest/blockfilterheaders/<FILTERTYPE>/<BLOCK-HASH>.<bin|hex|json>?count=<COUNT=5> `
19
+ instead of
20
+ ` GET /rest/blockfilterheaders/<FILTERTYPE>/<COUNT>/<BLOCK-HASH>.<bin|hex|json> ` (deprecated)
21
+
22
+ (#24098 )
You can’t perform that action at this time.
0 commit comments