Pruning in the reference client: ultraprune mode



Summary:

Pieter Wuille's performance numbers are considered conservative due to the reference client wasting time in redundant serialization and hashing operations. This information is supported by profiles on ultraprune, which shows that this is the major time sink. Once this issue is resolved, the system should perform significantly faster. It is important to note that this issue is not directly related to recent proposals for pruning that involve an alt chain with an index of unspent coins and addresses merged mined with the main chain. However, it could be a step towards such a system. Replacing the BDB indexing in ultraprune with a hash committed tree structure, whose root is committed in the blockchain, would result in a txout commitment scheme. Ultraprune handles most of the structural work for such a scheme. The remaining differences are mostly related to storage.


Updated on: 2023-05-19T03:55:21.685560+00:00