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

Repeated Dag creation process canceled #1395

Closed
yq0810 opened this issue Sep 8, 2022 · 1 comment · Fixed by #1425
Closed

Repeated Dag creation process canceled #1395

yq0810 opened this issue Sep 8, 2022 · 1 comment · Fixed by #1425
Labels

Comments

@yq0810
Copy link

yq0810 commented Sep 8, 2022

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 ?

@oliverw
Copy link
Owner

oliverw commented Sep 9, 2022

Thanks for reporting.

@oliverw oliverw mentioned this issue Sep 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants