Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Patch/ts#63

Open
sternhenri wants to merge 2 commits intomasterfrom
patch/ts
Open

Patch/ts#63
sternhenri wants to merge 2 commits intomasterfrom
patch/ts

Conversation

@sternhenri
Copy link
Contributor

Spot check please:

we had made a mistake in how the sim treated tipsets, whereby null blocks were used as tipsets (breaking the abstraction that they are just more tickets in the array).

The consequence here was this:

take blocks C and D, both mined on top of a null block, themselves both mined on top of a tipset made of blocks A and B. C and D can be assembled into a tipset by a new block E but were not as E was seeing their parents as the null blocks rather than A and B.

The rule is in fact:

  • Tipsets are only composed of live blocks
  • Tipsets are composed of live blocks who share parents AND were mined in the same round

Replaced this.

@sternhenri sternhenri requested a review from whyrusleeping May 10, 2019 03:35
@sternhenri
Copy link
Contributor Author

see part 1 of #60

@sternhenri sternhenri requested a review from ZenGround0 May 10, 2019 03:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant