Skip to content

Commit a4df123

Browse files
Sjorstdb3
andcommitted
doc: add release notes
Co-Authored-By: tdb3 <106488469+tdb3@users.noreply.github.com>
1 parent c75872f commit a4df123

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

doc/release-notes-31583.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Updated RPCs
2+
---
3+
- `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.
4+
- `getblock` and `getblockheader` now return the current target in the `target` field
5+
- `getblockchaininfo` and `getchainstates` now return `nBits` and the current target in the `target` field
6+
7+
REST interface
8+
---
9+
- `GET /rest/block/<BLOCK-HASH>.json` and `GET /rest/headers/<BLOCK-HASH>.json` now return the current target in the `target` field

test/functional/data/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## mainnet_alt.json
44

55
For easier testing the difficulty is maximally increased in the first (and only)
6-
regarget period, by producing blocks approximately 2 minutes apart.
6+
retarget period, by producing blocks approximately 2 minutes apart.
77

88
The alternate mainnet chain was generated as follows:
99
- use faketime to set node clock to 2 minutes after genesis block

0 commit comments

Comments
 (0)