Skip to content

Updated light client sync for newer committees#1316

Merged
JustinDrake merged 16 commits into
devfrom
vbuterin-patch-7
Aug 20, 2019
Merged

Updated light client sync for newer committees#1316
JustinDrake merged 16 commits into
devfrom
vbuterin-patch-7

Conversation

@vbuterin

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread specs/light_client/sync_protocol.md Outdated

@djrtwo djrtwo left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread specs/light_client/sync_protocol.md Outdated
Comment thread specs/light_client/sync_protocol.md Outdated
Comment thread specs/light_client/sync_protocol.md Outdated
Comment thread specs/light_client/sync_protocol.md Outdated
Comment thread specs/light_client/sync_protocol.md Outdated
Comment thread specs/light_client/sync_protocol.md Outdated
Comment thread specs/light_client/sync_protocol.md Outdated
Comment thread specs/light_client/sync_protocol.md Outdated
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>
Comment thread specs/light_client/sync_protocol.md Outdated
@JustinDrake

JustinDrake commented Aug 14, 2019

Copy link
Copy Markdown
Contributor

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)

@djrtwo djrtwo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

couple of small comments

Comment thread specs/light_client/sync_protocol.md
Comment thread specs/light_client/sync_protocol.md Outdated
Comment thread specs/light_client/sync_protocol.md Outdated
@djrtwo

djrtwo commented Aug 15, 2019

Copy link
Copy Markdown
Contributor

@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

@djrtwo djrtwo left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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