mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-12-26 00:05:17 +00:00
parent
4b48d25fb4
commit
4566eadb3e
@ -128,6 +128,12 @@ impl DataRange for Subtree {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for EntryBatchData {
|
||||||
|
fn default() -> Self {
|
||||||
|
Self::new()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl EntryBatchData {
|
impl EntryBatchData {
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
EntryBatchData::Incomplete(IncompleteData {
|
EntryBatchData::Incomplete(IncompleteData {
|
||||||
|
@ -20,7 +20,7 @@ use zgs_spec::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
use super::SealAnswer;
|
use super::SealAnswer;
|
||||||
use chunk_data::EntryBatchData;
|
pub use chunk_data::EntryBatchData;
|
||||||
use seal::SealInfo;
|
use seal::SealInfo;
|
||||||
|
|
||||||
#[derive(Debug, Encode, Decode, Deserialize, Serialize)]
|
#[derive(Debug, Encode, Decode, Deserialize, Serialize)]
|
||||||
|
@ -14,7 +14,7 @@ use self::tx_store::{BlockHashAndSubmissionIndex, TxStatus};
|
|||||||
|
|
||||||
pub mod config;
|
pub mod config;
|
||||||
mod flow_store;
|
mod flow_store;
|
||||||
mod load_chunk;
|
pub mod load_chunk;
|
||||||
pub mod log_manager;
|
pub mod log_manager;
|
||||||
mod metrics;
|
mod metrics;
|
||||||
mod seal_task_manager;
|
mod seal_task_manager;
|
||||||
|
Loading…
Reference in New Issue
Block a user