Skip to content
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

Updated light client sync for newer committees #1316

Merged
merged 16 commits into from
Aug 20, 2019
Merged

Conversation

vbuterin
Copy link
Contributor

No description provided.

Copy link
Contributor

@djrtwo djrtwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Some minor things. Can probably merge relatively soon and clean up/add tests over time.

specs/light_client/sync_protocol.md Outdated Show resolved Hide resolved
specs/light_client/sync_protocol.md Outdated Show resolved Hide resolved
specs/light_client/sync_protocol.md Outdated Show resolved Hide resolved
specs/light_client/sync_protocol.md Outdated Show resolved Hide resolved
specs/light_client/sync_protocol.md Outdated Show resolved Hide resolved
specs/light_client/sync_protocol.md Outdated Show resolved Hide resolved
specs/light_client/sync_protocol.md Outdated Show resolved Hide resolved
specs/light_client/sync_protocol.md Outdated Show resolved Hide resolved
vbuterin and others added 6 commits July 27, 2019 07:01
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
@JustinDrake
Copy link
Contributor

JustinDrake commented Aug 14, 2019

Heads up: I've started revamping this document and will push a new version tomorrow.

Edit: Done :)

* Lots of cosmetic changes
* A few substantive changes including:
    * Use a more conservative threshold of 2/3 (as opposed to 1/2)
    * Implement optimisation to use `shard_block_root` (as opposed to `shard_block`)
    * Add `fork_version` as part of data to verify aggregate signature
    * Various typos/bugs fixed (a few typos/bugs also likely introduced)
Copy link
Contributor

@djrtwo djrtwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple of small comments

specs/light_client/sync_protocol.md Show resolved Hide resolved
specs/light_client/sync_protocol.md Outdated Show resolved Hide resolved
specs/light_client/sync_protocol.md Outdated Show resolved Hide resolved
@djrtwo
Copy link
Contributor

djrtwo commented Aug 15, 2019

@GregTheGreek brought up the fact that LightClientMemory should actually be an @dataclass (similar to the local memory described in the fork choice) as it is not an object expected to be transfered and/or hash_tree_root'd

Copy link
Contributor

@djrtwo djrtwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

anything else to do before merge @vbuterin @JustinDrake ?

@JustinDrake
Copy link
Contributor

anything else to do before merge @vbuterin @JustinDrake ?

I'm OK merging :)

@JustinDrake JustinDrake merged commit 5fcfcac into dev Aug 20, 2019
@djrtwo djrtwo deleted the vbuterin-patch-7 branch August 21, 2019 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants