Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Repeated Dag creation process canceled #1395

@yq0810

Description

@yq0810

Describe the bug

var dag = await ethash.GetDagAsync(BlockTemplate.Height, logger, ct);

If the Dag is being creating in this line, and the miner keeps disconnecting for some reasons , CancellationToken will cancel the creating progress of Dag, if there is a gap in the Dag generation, pool will be stuck

Should the creating progress of dag not be cancelled by disconnecting worker ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions