-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Region and Prime blocks using Prime and Region Entropy Threshold #1031
Merged
gameofpointers
merged 5 commits into
dominant-strategies:main
from
gameofpointers:deter-variance
Aug 22, 2023
Merged
Region and Prime blocks using Prime and Region Entropy Threshold #1031
gameofpointers
merged 5 commits into
dominant-strategies:main
from
gameofpointers:deter-variance
Aug 22, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gameofpointers
force-pushed
the
deter-variance
branch
3 times, most recently
from
August 9, 2023 15:18
58654da
to
32a9ea1
Compare
gameofpointers
force-pushed
the
deter-variance
branch
from
August 15, 2023 20:39
32a9ea1
to
eda89f5
Compare
@gameofpointers is this PR still in dev, or is this obsolete and need to be closed? |
gameofpointers
force-pushed
the
deter-variance
branch
13 times, most recently
from
August 18, 2023 16:47
d51aa4f
to
5fd4678
Compare
gameofpointers
changed the title
Deterministic variance using Prime and Region Entropy Threshold
Region and Prime blocks using Prime and Region Entropy Threshold
Aug 18, 2023
gameofpointers
force-pushed
the
deter-variance
branch
from
August 18, 2023 16:53
5fd4678
to
4e2c400
Compare
wizeguyy
reviewed
Aug 18, 2023
wizeguyy
reviewed
Aug 18, 2023
wizeguyy
reviewed
Aug 18, 2023
wizeguyy
previously approved these changes
Aug 18, 2023
gameofpointers
force-pushed
the
deter-variance
branch
from
August 21, 2023 14:27
4e2c400
to
763e8c4
Compare
gameofpointers
force-pushed
the
deter-variance
branch
8 times, most recently
from
August 22, 2023 17:00
309080b
to
78f8351
Compare
wizeguyy
reviewed
Aug 22, 2023
wizeguyy
previously approved these changes
Aug 22, 2023
jdowning100
reviewed
Aug 22, 2023
jdowning100
reviewed
Aug 22, 2023
gameofpointers
force-pushed
the
deter-variance
branch
from
August 22, 2023 20:32
78f8351
to
4cc39ac
Compare
…ccess and encode/decode Made Termini a struct as well, previously termini was a array of common.Hash
gameofpointers
force-pushed
the
deter-variance
branch
from
August 22, 2023 20:37
4cc39ac
to
1f81f6f
Compare
jdowning100
approved these changes
Aug 22, 2023
wizeguyy
approved these changes
Aug 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@dominant-strategies/core-dev
CalcPrimeDifficultyThreshold calculates the difficulty that a block must meet to become a region block. This function needs to have a controller so that the liveliness of the slices can balance even if the hash rate of the slice varies. This will also cause the production of the prime blocks to naturally diverge with time reducing the uncle rate. The controller is built to adjust the number of zone blocks it takes to produce a prime block. This is done based on the prior number of blocks to reach threshold which is than multiplied by the current difficulty to establish the threshold. The controller adjust the block threshold value and is a simple form of a bang-bang controller which is all that is needed to ensure liveliness of the slices in prime overtime. If the slice is not sufficiently lively 20 zone blocks are subtracted from the
threshold. If it is too lively 20 blocks are added to the threshold.