mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-18 11:57:37 -05:00

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.
195 B
195 B
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.