mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 11:27:28 -03:00
doc: add release notes
Co-Authored-By: tdb3 <106488469+tdb3@users.noreply.github.com>
This commit is contained in:
parent
7dc2f06990
commit
d925a9bd7a
1 changed files with 14 additions and 0 deletions
14
doc/release-notes-31583.md
Normal file
14
doc/release-notes-31583.md
Normal 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
|
Loading…
Reference in a new issue