Question about how to find specific logs for mining a block

What exact journalctl log line appears when a miner solves a block in v1.0.2?

Is it “found block”, “solved”, “accepted”, “mined”, “broadcast”, or something else?

Also, is there a different log line for:

  1. local candidate block found
  2. block broadcast
  3. block accepted/canonical
  4. orphan/stale block

Added explicit mining lifecycle logging.

New standardized miner events now include:

  • candidate_created
  • pow_search_started
  • pow_solution_found
  • block_stored
  • block_indexed
  • block_accepted_canonical
  • block_orphaned
  • candidate_stale_before_solution

Useful commands:

journalctl -u csd -f | grep ‘[mine-event]’

Solved/orphaned/canonical blocks:

journalctl -u csd --since “24 hours ago” | grep ‘pow_solution_found|block_accepted_canonical|block_orphaned’

This should make it much easier to distinguish:

  1. local candidate found
  2. local storage/indexing
  3. canonical acceptance
  4. orphan/stale outcomes
  5. stale templates before solve