casper-node icon indicating copy to clipboard operation
casper-node copied to clipboard

Only Put Finality Signatures for Switch Blocks in Storage

Open xcthulhu opened this issue 4 years ago • 2 comments
trafficstars

In order for a client to establish trust in a block given a historic hash, it only needs finality signatures for switch blocks (and the signatures of the block itself if it is in the current era).

To conserve space we should only store finality signatures for switch blocks in storage. Finality signatures for recent blocks may be kept in memory.

xcthulhu avatar Jul 13 '21 19:07 xcthulhu

@Fraser999 -> @xcthulhu - should we work on this in Q3?

piotr-dziubecki avatar Jul 26 '21 14:07 piotr-dziubecki

9.5.2023 no longer necessary as we have reduced the size of the auction on disk in 2.0

RitaMAllenCA avatar Sep 05 '23 21:09 RitaMAllenCA

This should have been closed a very long time ago. The version of fast sync we shipped with 1.5 addressed this (though the implementation is very different than what is suggested here).