This commit is contained in:
Boog900 2024-09-08 15:37:01 +01:00
parent b211210fa2
commit 68807e7563
No known key found for this signature in database
GPG key ID: 42AB1287CB0041C2
3 changed files with 7 additions and 5 deletions

View file

@ -8,9 +8,11 @@ use cuprate_types::{AltBlockInformation, VerifiedBlockInformation};
use crate::{ use crate::{
config::Config, config::Config,
service::types::{BlockchainReadHandle, BlockchainWriteHandle}, service::{
init_read_service, init_write_service,
types::{BlockchainReadHandle, BlockchainWriteHandle},
},
}; };
use crate::service::{init_read_service, init_write_service};
//---------------------------------------------------------------------------------------------------- Init //---------------------------------------------------------------------------------------------------- Init
#[cold] #[cold]

View file

@ -14,7 +14,7 @@ use rayon::{
use thread_local::ThreadLocal; use thread_local::ThreadLocal;
use cuprate_database::{ConcreteEnv, DatabaseRo, Env, EnvInner, RuntimeError}; use cuprate_database::{ConcreteEnv, DatabaseRo, Env, EnvInner, RuntimeError};
use cuprate_database_service::{DatabaseReadService, init_thread_pool, ReaderThreads}; use cuprate_database_service::{init_thread_pool, DatabaseReadService, ReaderThreads};
use cuprate_helper::map::combine_low_high_bits_to_u128; use cuprate_helper::map::combine_low_high_bits_to_u128;
use cuprate_types::{ use cuprate_types::{
blockchain::{BlockchainReadRequest, BlockchainResponse}, blockchain::{BlockchainReadRequest, BlockchainResponse},

View file

@ -5,8 +5,8 @@ use std::sync::Arc;
use cuprate_database::{ConcreteEnv, DatabaseRo, DatabaseRw, Env, EnvInner, RuntimeError, TxRw}; use cuprate_database::{ConcreteEnv, DatabaseRo, DatabaseRw, Env, EnvInner, RuntimeError, TxRw};
use cuprate_database_service::DatabaseWriteHandle; use cuprate_database_service::DatabaseWriteHandle;
use cuprate_types::{ use cuprate_types::{
AltBlockInformation, blockchain::{BlockchainResponse, BlockchainWriteRequest},
blockchain::{BlockchainResponse, BlockchainWriteRequest}, Chain, ChainId, VerifiedBlockInformation, AltBlockInformation, Chain, ChainId, VerifiedBlockInformation,
}; };
use crate::{ use crate::{