Skip to content

Commit

Permalink
use compact ghostdata
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzhhuang committed Dec 27, 2024
1 parent d87a1c1 commit ee7e8ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flexidag/src/blockdag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,8 +537,8 @@ impl BlockDAG {
let dag_state = self.get_dag_state(previous_pruning_point)?;
let next_ghostdata = self.ghostdata(&dag_state.tips)?;
info!(
"start to calculate the mergeset and tips for tips: {:?}, and last pruning point: {:?} and next ghostdata: {:?}",
dag_state.tips, previous_pruning_point, next_ghostdata,
"start to calculate the mergeset and tips for tips: {:?}, and last pruning point: {:?} and next ghostdata: {:?}, red block count: {:?}",
dag_state.tips, previous_pruning_point, next_ghostdata.to_compact(), next_ghostdata.mergeset_reds.len()
);
let next_pruning_point = self.pruning_point_manager().next_pruning_point(
previous_pruning_point,
Expand Down

0 comments on commit ee7e8ba

Please sign in to comment.