Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Mining should work ok even if a solution is provided for an old block. #756

Closed
5 tasks
gavofyork opened this issue Mar 17, 2016 · 0 comments
Closed
5 tasks
Assignees
Labels
F7-optimisation 💊 An enhancement to provide better overall performance in terms of time-to-completion for a task. P5-sometimesoon 🌲 Issue is worth doing soon.
Milestone

Comments

@gavofyork
Copy link
Contributor

A copy of ClosedBlock should be kept for all work packages currently being mined in order that an old solution can still be used. Also allows new transactions and uncles to be added frequently without sacrificing mining efficiency.

  • Allow reopening of ClosedBlock
  • Duplication of ClosedBlock
  • Track utilised work packages
  • Keep garbage-collected work package -> ClosedBlock map
  • Avoid keeping work package if has not been used by a miner
@gavofyork gavofyork added F7-optimisation 💊 An enhancement to provide better overall performance in terms of time-to-completion for a task. P5-sometimesoon 🌲 Issue is worth doing soon. labels Mar 17, 2016
@gavofyork gavofyork added this to the 1.1 Civility milestone Mar 17, 2016
@gavofyork gavofyork assigned gavofyork and unassigned gavofyork Mar 17, 2016
@gavofyork gavofyork modified the milestones: 1.2 Civility, 1.1 Apr 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F7-optimisation 💊 An enhancement to provide better overall performance in terms of time-to-completion for a task. P5-sometimesoon 🌲 Issue is worth doing soon.
Projects
None yet
Development

No branches or pull requests

1 participant