[Bitcoin-development] Chain pruning

Mike Hearn mike at plan99.net
Thu Apr 10 11:37:58 UTC 2014

Chain pruning is probably a separate thread, changing subject.

> Reason is that the actual blocks available are likely to change frequently
> (if
> you keep the last week of blocks

I doubt anyone would specify blocks to keep in terms of time. More likely
it'd be in terms of megabytes, as that's the actual resource constraint on
nodes. Given a block size average it's easy to go from megabytes to
num_blocks, so I had imagined it'd be a new addr field that specifies how
many blocks from the chain head are stored. Then you'd connect to some
nodes and if they indicate their chain head - num_blocks_stored is higher
than your current chain height, you'd do a getaddr and go looking for nodes
that are storing far enough back.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20140410/97cd4703/attachment.html>

More information about the bitcoin-dev mailing list