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
RFC: Weighted Uniform Random Tip-Selection #8
Conversation
Also I think TSI is not exactly defined:
Shouldn't it be: ......the index of the oldest milestone......? |
@gjeee First thanks for your comments, please use the review feature next time as the way you wrote your comments they don't target specific lines (even though they should/do) Regarding your first comment:
The text from the RFC says:
The green transactions are not Regarding your second comment:
Only ever one milestone does confirm a given transaction, there's no need to say oldest in this context. Of course newer milestone still reference previous transactions but in this context it is clear that we're talking about the milestone which confirms a transaction. |
As per discord discussion the following points should be emphasized clearly:
- A tip is eligible for selection only if it is solid
- An invalid tip (doesn't pass bundle validation) should be given a score 0. As already defined, this score will propagate upwards
Tiny nit but the README says the path should be text/0000-my-feature/0000-my-feature.md
otherwise everything is on the root.
text/0008-weighted-uniform-random-tip-selection/0008-weighted-uniform-random-tip-selection.md
Show resolved
Hide resolved
text/0008-weighted-uniform-random-tip-selection/0008-weighted-uniform-random-tip-selection.md
Outdated
Show resolved
Hide resolved
text/0008-weighted-uniform-random-tip-selection/0008-weighted-uniform-random-tip-selection.md
Show resolved
Hide resolved
text/0008-weighted-uniform-random-tip-selection/0008-weighted-uniform-random-tip-selection.md
Outdated
Show resolved
Hide resolved
text/0008-weighted-uniform-random-tip-selection/0008-weighted-uniform-random-tip-selection.md
Outdated
Show resolved
Hide resolved
text/0008-weighted-uniform-random-tip-selection/0008-weighted-uniform-random-tip-selection.md
Outdated
Show resolved
Hide resolved
A tip should stay in the tip pool for some time, even if it got referenced by other transactions. Maybe have two criteria at the same time? A minimum time after first reference by another tx or a maximum amount of references. If one of the two criteria is reached, the tip is removed from the pool. |
I've added a paragraph for those rules, please verify whether they are ok @muXxer. |
2 points we need to agree on:
|
Rendered