This repository was archived by the owner on Aug 23, 2020. It is now read-only.
tip selection: set default alpha value to 0.001#817
Merged
GalRogozinski merged 1 commit intoiotaledger-archive:devfrom Jun 18, 2018
Merged
tip selection: set default alpha value to 0.001#817GalRogozinski merged 1 commit intoiotaledger-archive:devfrom
GalRogozinski merged 1 commit intoiotaledger-archive:devfrom
Conversation
GalRogozinski
approved these changes
Jun 18, 2018
GalRogozinski
pushed a commit
to GalRogozinski/iri
that referenced
this pull request
Jun 21, 2018
GalRogozinski
pushed a commit
to GalRogozinski/iri
that referenced
this pull request
Jun 24, 2018
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description
This PR sets the default alpha value for the random walk to
0.001,in order for slower but honest users to still have a good chance of getting their transactions confirmed.
This value is based on both:
an analytical calculation of the probability of a transaction with slower PoW time
H ~= 5minsto still get confirmed (assuming a constantlambda = 10 TPSandH >> h).validation (of calculation) by running a private testnet (w/ 12TPS spam) where slower transactions were issued and confirmation rates were measured.
Fixes #801
Type of change
How Has This Been Tested?
see Description
Checklist:
Please delete items that are not relevant.