From 6b3f19efadfed39807d44700b84639481fca0255 Mon Sep 17 00:00:00 2001 From: Jan Xie Date: Tue, 25 Feb 2025 19:15:44 +0800 Subject: [PATCH] improve assume-valid-target info logs --- shared/src/shared_builder.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/src/shared_builder.rs b/shared/src/shared_builder.rs index 4c671d63d2..8f97def62e 100644 --- a/shared/src/shared_builder.rs +++ b/shared/src/shared_builder.rs @@ -437,7 +437,7 @@ impl SharedBuilder { .filter(|&target_hash| { let exists = snapshot.block_exists(&target_hash.pack()); if exists { - info!("assume valid target 0x{} already exists in db", target_hash); + info!("assume-valid target 0x{} exists in local db", target_hash); } !exists }) @@ -449,7 +449,7 @@ impl SharedBuilder { .as_ref() .is_some_and(|targets| targets.is_empty()) { - info!("all assume valid targets is already in db, CKB will do full verification from now on"); + info!("all assume-valid targets synchronized, enter full verification mode"); None } else { not_exists_targets