mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-04 14:08:39 +00:00
This PR implements flat-file storage for finalized block access lists, specifically: * The freezer is extended with the notion of tail groups, allowing different groups within a single freezer instance to maintain independent tails, while all tables within the same group remain tail-aligned. * The freezer can now dynamically attach new tables to an existing freezer instance, with both the table head and tail initialized to the freezer's common head. * A new freezer table, **bals**, has been added to the chain freezer with its own dedicated tail group, preserving the flexibility to deploy a tail-pruning policy different from the main chain data group. Additionally, the BALs in the key-value store will be migrated to the freezer instance once they are finalized or there are at least 90K block confirmations on top acting as a "soft finalization". This freezing policy is same with all chain segment data. |
||
|---|---|---|
| .. | ||
| dbtest | ||
| leveldb | ||
| memorydb | ||
| pebble | ||
| remotedb | ||
| batch.go | ||
| database.go | ||
| iterator.go | ||