mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-04-04 15:35:18 +00:00
format code
This commit is contained in:
parent
cb7de7f60e
commit
55fb210da9
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -7303,8 +7303,8 @@ dependencies = [
|
|||||||
"lazy_static",
|
"lazy_static",
|
||||||
"merkle_light",
|
"merkle_light",
|
||||||
"merkle_tree",
|
"merkle_tree",
|
||||||
"once_cell",
|
|
||||||
"metrics",
|
"metrics",
|
||||||
|
"once_cell",
|
||||||
"parking_lot 0.12.3",
|
"parking_lot 0.12.3",
|
||||||
"rand 0.8.5",
|
"rand 0.8.5",
|
||||||
"rayon",
|
"rayon",
|
||||||
|
@ -29,6 +29,10 @@ use std::sync::Arc;
|
|||||||
use std::time::Instant;
|
use std::time::Instant;
|
||||||
use tracing::{debug, error, info, instrument, trace, warn};
|
use tracing::{debug, error, info, instrument, trace, warn};
|
||||||
|
|
||||||
|
use crate::log_store::metrics;
|
||||||
|
use crate::log_store::tx_store::BlockHashAndSubmissionIndex;
|
||||||
|
use crate::log_store::{FlowSeal, MineLoadChunk, SealAnswer, SealTask};
|
||||||
|
|
||||||
/// 256 Bytes
|
/// 256 Bytes
|
||||||
pub const ENTRY_SIZE: usize = 256;
|
pub const ENTRY_SIZE: usize = 256;
|
||||||
/// 1024 Entries.
|
/// 1024 Entries.
|
||||||
|
@ -15,8 +15,8 @@ pub mod config;
|
|||||||
mod flow_store;
|
mod flow_store;
|
||||||
mod load_chunk;
|
mod load_chunk;
|
||||||
pub mod log_manager;
|
pub mod log_manager;
|
||||||
mod seal_task_manager;
|
|
||||||
mod metrics;
|
mod metrics;
|
||||||
|
mod seal_task_manager;
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests;
|
mod tests;
|
||||||
pub mod tx_store;
|
pub mod tx_store;
|
||||||
|
Loading…
Reference in New Issue
Block a user