Skip to content

Commit b6d87a3

Browse files
jonatackbitschmidty
authored andcommitted
News147: Bitcoin Core PR 19521
1 parent 17e4ed5 commit b6d87a3

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

_posts/en/newsletters/2021-05-05-newsletter.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,19 @@ BOLTs][bolts repo].*
117117
multiprocess mode with the `bitcoin-core` process spawning separate
118118
`bitcoin-wallet` and `bitcoin-gui` processes.
119119
120+
- [Bitcoin Core #19521][] nearly completes the [coin statistics index project][bitcoin
121+
core coinstats] to dramatically speed up the `gettxoutsetinfo` RPC. Until
122+
now, the RPC defaulted to scanning the full UTXO set every time it was called, making it
123+
difficult for users to continually and quickly verify the coin supply or
124+
compare UTXO set hashes between different nodes.
125+
Users can now start their nodes with the `-coinstatsindex`
126+
configuration option to begin building the coin statistics index in the background. Once
127+
it is synced, `gettxoutsetinfo` runs nearly instantly and users can specify a
128+
height or block hash for the statistics. Being able to get the
129+
statistics for a particular block will be especially useful for
130+
allowing community verification of [assumeUTXO][topic assumeutxo]
131+
chainstate archives.
132+
120133
- [Bitcoin Core #21009][] removes the RewindBlockIndex logic triggered when
121134
updating a pre-segwit node (v0.13.0 or older) to a segwit-enforcing
122135
version. Pre-segwit nodes only processed stripped blocks that lacked the (segregated) witness
@@ -156,7 +169,7 @@ BOLTs][bolts repo].*
156169
your peer doesn't contest an old state.
157170
158171
{% include references.md %}
159-
{% include linkers/issues.md issues="19160,21009,5159,893,1104,10102" %}
172+
{% include linkers/issues.md issues="19160,19521,21009,5159,893,1104,10102" %}
160173
[bitcoin core 0.21.1]: https://bitcoincore.org/bin/bitcoin-core-0.21.1/
161174
[btcpay 1.1.0]: https://github.com/btcpayserver/btcpayserver/releases/tag/v1.1.0
162175
[wincodesign]: https://github.com/bitcoin-core/gui/issues/252#issuecomment-802591628
@@ -171,6 +184,7 @@ BOLTs][bolts repo].*
171184
[lndev deterministic]: https://lightningd.github.io/meetings/ln_spec_meeting/2021/ln_spec_meeting.2021-04-26-20.17.log.html#l-115
172185
[bitcoin core multiprocess]: https://github.com/bitcoin/bitcoin/projects/10
173186
[capn proto]: https://capnproto.org/
187+
[bitcoin core coinstats]: https://github.com/bitcoin/bitcoin/pull/18000
174188
[news53 lightning loop]: /en/newsletters/2019/07/03/#lightning-loop-supports-user-loop-ins
175189
[semantic versioning website]: https://semver.org/
176190
[fido2 website]: https://fidoalliance.org/fido2/fido2-web-authentication-webauthn/

_topics/en/assumeutxo.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ optech_mentions:
3737
- title: MuHash function added in preparation for tracking UTXO state hashes
3838
url: /en/newsletters/2021/01/13/#bitcoin-core-19055
3939

40+
- title: "Bitcoin Core #19521 simplifies generating UTXO set hashes for old blocks"
41+
url: /en/newsletters/2021/05/05/#bitcoin-core-19521
42+
4043
## Optional. Same format as "primary_sources" above
4144
see_also:
4245
- title: "Bitcoin Core issue #15605: AssumeUTXO discussion"

0 commit comments

Comments
 (0)