-
Notifications
You must be signed in to change notification settings - Fork 170
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
Patch/ticket in nulls #453
Conversation
…tickets in tipsets with multiple losing tix
@@ -352,7 +433,7 @@ potentially long chain scans would be required to compute a given block's weight | |||
|
|||
### Selecting between TipSets with equal weight | |||
|
|||
When selecting between TipSets of equal weight, a miner chooses the one with the smallest min ticket (by bytewise comparison). | |||
When selecting between TipSets of equal weight, a miner chooses the one with the smallest min ticket. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My reading of the above discussion is that tickets are comparable against tickets but I don't know how to compare ticket arrays with each other. Comparing ticket arrays is the thing we really want for 1) tie breaking, 2) consistent message application order. It is the thing we should include in the spec.
Right now I'm imagining we just take the first ticket of the array and compare.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reading above I'm actually guessing its the final ticket, not the first. But let's make sure to make that clear.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Understood. Yes! Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
outdated |
Three big changes: