Skip to content
This repository has been archived by the owner on Mar 12, 2022. It is now read-only.

Save multiple precache work values #22

Open
guilhermelawless opened this issue Jul 5, 2019 · 0 comments
Open

Save multiple precache work values #22

guilhermelawless opened this issue Jul 5, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@guilhermelawless
Copy link
Owner

Suggested by @zhyatt (thanks!).

Simply discarding work received by clients is wasteful. Even if we don't reward those, we can still compare their work value with the available one and replace if higher.

A more conscious approach is to save multiple work values, and when work is requested, use the one immediately above the current active difficulty. This creates a soft dependency on more node functionality. If broken, we can rely on the service to request what they think is an appropriate difficulty. We can also use always that mode, which puts the burden of tracking active difficulty on the services.

@guilhermelawless guilhermelawless added the enhancement New feature or request label Jul 5, 2019
@guilhermelawless guilhermelawless self-assigned this Jul 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant