From 5ab027154a0bb09305903a4bd4ca7cf59fdcc00e Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Tue, 31 Dec 2024 15:07:58 +0100 Subject: [PATCH] doc: add release notes Co-Authored-By: tdb3 <106488469+tdb3@users.noreply.github.com> --- doc/release-notes-31583.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/release-notes-31583.md diff --git a/doc/release-notes-31583.md b/doc/release-notes-31583.md new file mode 100644 index 00000000000000..8cd4010df34810 --- /dev/null +++ b/doc/release-notes-31583.md @@ -0,0 +1,8 @@ +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. + +New RPCs +--- +- `gettarget` can be used to return the current target (for tip) or target for the next block (with the `next` argument)