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 c75872ffdd
commit a4df12323c
No known key found for this signature in database
GPG key ID: 57FF9BDBCC301009
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,9 @@
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.
- `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
REST interface
---
- `GET /rest/block/<BLOCK-HASH>.json` and `GET /rest/headers/<BLOCK-HASH>.json` now return the current target in the `target` field

View file

@ -3,7 +3,7 @@
## mainnet_alt.json
For easier testing the difficulty is maximally increased in the first (and only)
regarget period, by producing blocks approximately 2 minutes apart.
retarget period, by producing blocks approximately 2 minutes apart.
The alternate mainnet chain was generated as follows:
- use faketime to set node clock to 2 minutes after genesis block