IntersectMBO / ouroboros-consensus

Implementation of a Consensus Layer for the Ouroboros family of protocols
https://ouroboros-consensus.cardano.intersectmbo.org
Apache License 2.0
36 stars 23 forks source link

Mempool: Don't re-read tables from disk if state hash didn't change #1303

Open jasagredo opened 2 weeks ago

jasagredo commented 2 weeks ago

The mempool could carry a cache of the latest ledger tables and when revalidating transactions (such as when getting a snapshot from the forging loop), if the hash didn't change do not re-read from the disk.