mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-05 17:30:59 +02:00
Add release notes
This commit is contained in:
parent
f959fc0397
commit
54b39cfb34
22
doc/release-notes-24098.md
Normal file
22
doc/release-notes-24098.md
Normal file
@ -0,0 +1,22 @@
|
||||
Notable changes
|
||||
===============
|
||||
|
||||
Updated REST APIs
|
||||
-----------------
|
||||
|
||||
- The `/headers/` and `/blockfilterheaders/` endpoints have been updated to use
|
||||
a query parameter instead of path parameter to specify the result count. The
|
||||
count parameter is now optional, and defaults to 5 for both endpoints. The old
|
||||
endpoints are still functional, and have no documented behaviour change.
|
||||
|
||||
For `/headers`, use
|
||||
`GET /rest/headers/<BLOCK-HASH>.<bin|hex|json>?count=<COUNT=5>`
|
||||
instead of
|
||||
`GET /rest/headers/<COUNT>/<BLOCK-HASH>.<bin|hex|json>` (deprecated)
|
||||
|
||||
For `/blockfilterheaders/`, use
|
||||
`GET /rest/blockfilterheaders/<FILTERTYPE>/<BLOCK-HASH>.<bin|hex|json>?count=<COUNT=5>`
|
||||
instead of
|
||||
`GET /rest/blockfilterheaders/<FILTERTYPE>/<COUNT>/<BLOCK-HASH>.<bin|hex|json>` (deprecated)
|
||||
|
||||
(#24098)
|
Loading…
x
Reference in New Issue
Block a user