Skip to content

Feature: Enrich debug log with block tracing events #3903

@kid-alan

Description

@kid-alan

Description

@danield9tqh
As we work to debug the orphan issue, our goal is to create a chronological log of key blockchain events with accurate timestamps. This will help us identify and fix the bottleneck precisely instead of resorting to guesswork.

Here is a list of the events:

  • Node discovers a new block (new height);
  • Node begins generating a new block template;
  • Node completes generating new block template;
    - Pool receives block template;
    - Pool broadcasts block template as miner's work;
    - Pool receives block PoW solution;
  • Node receives block PoW solution;
  • Node broadcasts block solution to other nodes;
    (Back to one: "Node discovers a new block")

Italicized Pool events are on our end, while the remaining events are those for which we want to insert debug log entries in the node's codebase. This comprehensive chronology will help us pinpoint the issue or confirm that there isn't a problem.

Metadata

Metadata

Assignees

Labels

feature requestNew functionality added to Iron FishverifiedVerified by Iron Fish core team

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions