namada icon indicating copy to clipboard operation
namada copied to clipboard

Add a cached storage type

Open sug0 opened this issue 3 years ago • 0 comments

Add a Cached<S> type that replaces Storage in the shell. This new type would just be a wrapper for S = Storage, that would cache some frequently read fields. This would significantly reduce disk I/O operations during e.g. validation of vote extensions, which we currently perform sequentially based on the order of protocol txs in a proposed block.

sug0 avatar Aug 29 '22 08:08 sug0