Future Feature Proposal - getgist



Summary:

Richard Moore, the founder of Genetic Mistakes Software Inc., reached out to the Bitcoin development team with an idea for implementing a getgist() command that would be fully backward compatible. The inputs to getgist() would be similar to getheaders(); version, hash_count, block_locator_hash, stop_hash and an additional field, segment_count. The response would be a normal headers() message, except, not sequential block headers. Rather they would be spaced out, preferably 2000-block-hash-aligned from the first block hash. The correct approach here is header hash-tree commitments which enable compact (logarithmic) SPV proofs that elide nearly all intervening headers since the last checkpoint. Existing methods could be to use checkpoint-ish nodes or bootstrap data files, but these begin relying on semi-cetralizenesses. The proposed method by Richard Moore could vastly increase the speed at which the whole blockchain can have all headers synced.This proposal aligns with BIP 001, which requires emailing the Bitcoin development team to make sure the idea is original and that there aren't other existing means to accomplish what he was thinking. Richard still needs to perform some tests to see what type of speed gains there are, but he suspects it should be segment_count times faster.


Updated on: 2023-06-08T23:41:23.204243+00:00