Skip to content

Commit

Permalink
feat(genesis_verify): add reverse verification and refactor export (#…
Browse files Browse the repository at this point in the history
…2521)

* feat(genesis_verify): add reverse verification and refactor export

Introduce a reverse verification option to check UTXO source data using the state database. Refactor export functionality with preprocessor support for customizable data handling.
  • Loading branch information
popcnt1 authored Aug 27, 2024
1 parent 349e4fb commit 98367ad
Show file tree
Hide file tree
Showing 3 changed files with 322 additions and 129 deletions.
4 changes: 2 additions & 2 deletions crates/rooch/src/commands/statedb/commands/export.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ impl ExportCommand {
init_job(self.base_data_dir.clone(), self.chain_id.clone());

let output = self.output.clone();
let mut writer = ExportWriter::new(Some(output));
let mut writer = ExportWriter::new(Some(output), None);
let root_state_root = self.state_root.unwrap_or(root.state_root());

let mode = self.mode.unwrap_or_default();
Expand Down Expand Up @@ -453,7 +453,7 @@ impl ExportCommand {
Ok(())
}

fn export_object(
pub(crate) fn export_object(
moveos_store: &MoveOSStore,
root_state_root: H256,
object_id: ObjectID,
Expand Down
Loading

0 comments on commit 98367ad

Please sign in to comment.