mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 18:58:59 +03:00
Add some logging. (#10556)
This commit is contained in:
parent
058eb33abb
commit
4c345e2fa5
@ -118,7 +118,10 @@ async def show_async(
|
||||
elif peak is not None and sync_mode:
|
||||
sync_max_block = blockchain_state["sync"]["sync_tip_height"]
|
||||
sync_current_block = blockchain_state["sync"]["sync_progress_height"]
|
||||
print(f"Current Blockchain Status: Syncing {sync_current_block}/{sync_max_block}.")
|
||||
print(
|
||||
f"Current Blockchain Status: Syncing {sync_current_block}/{sync_max_block} "
|
||||
f"({sync_max_block - sync_current_block} behind)."
|
||||
)
|
||||
print("Peak: Hash:", peak.header_hash if peak is not None else "")
|
||||
elif peak is not None:
|
||||
print(f"Current Blockchain Status: Not Synced. Peak height: {peak.height}")
|
||||
|
Loading…
Reference in New Issue
Block a user