refactor(trie): move database implementations of trie cursors to reth-trie-db crate (#10004)

This commit is contained in:
Roman Hodulák
2024-08-01 22:36:36 +02:00
committed by GitHub
parent d5d46a8611
commit f73a919a4a
19 changed files with 663 additions and 701 deletions

View File

@ -10,10 +10,9 @@ use reth_provider::{
};
use reth_tasks::pool::BlockingTaskPool;
use reth_trie::{
hashed_cursor::{DatabaseHashedCursorFactory, HashedPostStateCursorFactory},
HashedPostState, HashedStorage, StateRoot,
hashed_cursor::HashedPostStateCursorFactory, HashedPostState, HashedStorage, StateRoot,
};
use reth_trie_db::DatabaseStateRoot;
use reth_trie_db::{DatabaseHashedCursorFactory, DatabaseStateRoot};
use reth_trie_parallel::{async_root::AsyncStateRoot, parallel_root::ParallelStateRoot};
use std::collections::HashMap;