Skip to content

Commit

Permalink
Add some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
someone235 committed Jan 6, 2024
1 parent d5bab35 commit d9f82e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions consensus/src/pipeline/pruning_processor/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ impl PruningProcessor {

// Advance the pruning point utxoset to the state of the new pruning point using chain-block UTXO diffs
self.advance_pruning_utxoset(current_pruning_info.pruning_point, new_pruning_point);
info!("Updated the pruning point UTXO set");

// Finally, prune data in the new pruning point past
self.prune(new_pruning_point);
Expand All @@ -211,6 +212,7 @@ impl PruningProcessor {
drop(pruning_utxoset_write);

if self.config.enable_sanity_checks {
info!("Doing a sanity check that the new UTXO set has the expected UTXO commitment");
self.assert_utxo_commitment(new_pruning_point);
}
}
Expand Down

0 comments on commit d9f82e6

Please sign in to comment.