doc: add release notes

Co-Authored-By: tdb3 <106488469+tdb3@users.noreply.github.com>
This commit is contained in:
Sjors Provoost 2025-01-03 10:59:39 +01:00
parent 7dc2f06990
commit d925a9bd7a
No known key found for this signature in database
GPG key ID: 57FF9BDBCC301009

View file

@ -0,0 +1,14 @@
Updated RPCs
---
- `getmininginfo` now returns `nBits` and the current target in the `target` field. It also returns a `next` object which specifies the `height`, `nBits`, `difficulty`, and `target` for the next block.
- `getdifficulty` can now return the difficulty for the next block (rather than the current tip) when calling with the boolean `next` argument set to true.
- `getblock` and `getblockheader` now return the current target in the `target` field
- `getblockchaininfo` and `getchainstates` now return `nBits` and the current target in the `target` field
New RPCs
---
- `gettarget` can be used to return the current target (for tip) or target for the next block (with the `next` argument)
REST interface
---
- `GET /rest/block/<BLOCK-HASH>.json` and `GET /rest/headers/<BLOCK-HASH>.json` now return the current target in the `target` field