archethic-foundation / archethic-foundation/archethic-node

Mining should not timeout if cross stamp is not received

Open
#1,536 0 comments 0 reactions 0 assignees View on GitHub
bug mining
Dominant language
Elixir
Stars
82
Forks
24
PR merge metrics
No merged PRs in 30d

Description

### Describe the problem you discovered

Currently when the mining starts, the coordinator retrieve the context from the other validation nodes.
Once the context of a node is received, all other nodes assume this node will be part of the full validation.

But for some reason the node could stop working and will never do the cross validation. So the other nodes wait for it's cross validation stamp and fall in mining timeout as they never received it.

### Describe the solution you'd like

We should find a behavior to avoid this mining timeout.

### Epic

_No response_

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified in the issue. Start by tracing the mining coordinator's context retrieval, cross-validation stamps, and timeout handling, then define completion as preventing a missing stamp from causing an avoidable mining timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
blockchain, distributed-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.