Rolling UTXO set hashes



Summary:

The email contains various use cases for a rolling set hash. One of the use cases is as a replacement for Bitcoin Core's gettxoutsetinfo RPC's hash computation, which currently requires minutes of I/O and CPU. The rolling set hash would make this process instant and make the whole RPC more usable for sanity checking. Another use case is assisting in the implementation of fast sync methods with known good blocks/UTXO sets. Furthermore, the rolling set hash can be used for database consistency checking by remembering the UTXO set hash of the past few blocks and recomputing it based on the database. Additionally, the author suggests a potential "chain-flip" hard fork of block header formats where the UTXO hash, instead of merkle tree root of transactions, is in the header. This would allow lite nodes to download a UTXO set from any full node and verify it by verifying only block headers starting from genesis.


Updated on: 2023-06-12T00:49:01.086442+00:00