mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: Move consensus trait to standalone crate (#7757)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -18,9 +18,9 @@ reth-network-api.workspace = true
|
||||
reth-stages.workspace = true
|
||||
reth-prune.workspace = true
|
||||
reth-static-file.workspace = true
|
||||
reth-interfaces.workspace = true
|
||||
reth-db.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
reth-rpc-types.workspace = true
|
||||
|
||||
# async
|
||||
tokio.workspace = true
|
||||
|
||||
@ -6,7 +6,6 @@ use reth_beacon_consensus::{
|
||||
BeaconConsensusEngineEvent, ConsensusEngineLiveSyncProgress, ForkchoiceStatus,
|
||||
};
|
||||
use reth_db::{database::Database, database_metrics::DatabaseMetadata};
|
||||
use reth_interfaces::consensus::ForkchoiceState;
|
||||
use reth_network::{NetworkEvent, NetworkHandle};
|
||||
use reth_network_api::PeersInfo;
|
||||
use reth_primitives::{
|
||||
@ -15,6 +14,7 @@ use reth_primitives::{
|
||||
BlockNumber, B256,
|
||||
};
|
||||
use reth_prune::PrunerEvent;
|
||||
use reth_rpc_types::engine::ForkchoiceState;
|
||||
use reth_stages::{ExecOutput, PipelineEvent};
|
||||
use reth_static_file::StaticFileProducerEvent;
|
||||
use std::{
|
||||
|
||||
Reference in New Issue
Block a user