aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFelix Weis <mail@felixweis.com>2019-05-10 08:21:52 -0400
committerFelix Weis <mail@felixweis.com>2019-05-10 08:33:14 -0400
commitd20d7567528e216badb8475df298bb3cec008985 (patch)
tree30be8c3046d254111e6122727db663600d306a8a /doc
parent08bd21a3bda9f621948c535e951880d7e318caa5 (diff)
downloadbitcoin-d20d7567528e216badb8475df298bb3cec008985.tar.xz
rpc: faster getblockstats using BlockUndo data
Using undo data for a block (rev?????.dat) we can retrieve value information about prevouts and calculate the final transaction fee (rate). This approach is about 80x faster, drops the requirement for -txindex, and works for all non-pruned blocks.
Diffstat (limited to 'doc')
-rw-r--r--doc/release-notes-14802.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/release-notes-14802.md b/doc/release-notes-14802.md
new file mode 100644
index 0000000000..1fcc38866a
--- /dev/null
+++ b/doc/release-notes-14802.md
@@ -0,0 +1,3 @@
+RPC changes
+-----------
+The `getblockstats` RPC is faster for fee calculation by using BlockUndo data. Also, `-txindex` is no longer required and `getblockstats` works for all non-pruned blocks.