Fynn

Results 7 issues of Fynn

This pr adds a tool names `inpsect-trie`, aimed to analyze the mpt and its node storage more efficiently. ## Example ./geth db inspect-trie --datadir server/data-seed/ latest 4000 ## Result -...

This PR implements the LoadOrSet API like sync.Map.LoadOrStore semantic. LoadOrStore returns the existing value for the key if present. Otherwise, it stores and returns the given value. The loaded result...

BEP: 365 Title: Support multi-database based on data pattern Status: Draft Type: Standards Created: 2024-03-15 # BEP-365: Support multi-database based on data pattern - [BEP-365: Support multi-database based on data...

### Description This PR separates the logic of maintaining contract code from the state.cachingDB, defining another struct called state.CodeDB. ### Rationale It will bring following benefits: - Separate contract code...

### Description integrate snapshot into pathdb #### target - Delete snapshot database & only keep trie node database - Keep nearly the same or better performance - Read account&storage from...

This PR implements a way to fetch account/storage directly from pathdb as an alternative to snapshot for better robustness and simplicity, then reducing data storage space. Major changes: - add...

# Rationale Why should this feature exist? In the existing implementation, pathdb's difflayer stores 128 layers by default, which can facilitate fast memory rollback. However, the more diff layers, the...

type:feature