drk: use merkle tree checkpoints instead of sled-overlay diffs to manage them

This commit is contained in:
skoupidi
2025-07-08 16:31:04 +03:00
parent 9cf112f1e0
commit 0d6045ad87
7 changed files with 98 additions and 102 deletions

View File

@@ -2019,7 +2019,7 @@ async fn realmain(args: Args, ex: ExecutorPtr) -> Result<()> {
if let Some(height) = reset {
let mut buf = vec![];
if let Err(e) = drk.reset_to_height(height, &mut buf) {
if let Err(e) = drk.reset_to_height(height, &mut buf).await {
print_output(&buf);
eprintln!("Failed during wallet reset: {e}");
exit(2);