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

Merkleise SSZ container elements #595

Merged
merged 1 commit into from
Feb 12, 2019
Merged

Merkleise SSZ container elements #595

merged 1 commit into from
Feb 12, 2019

Commits on Feb 10, 2019

  1. Merkleise SSZ container elements

    Reasons to use `merkle_hash` instead of  `hash` for containers:
    
    1) **Smaller witnesses**: `BeaconState` is a somewhat wide container (26 fields as of now, likely 30+ in phase 2). With concatenation and plain concatenation the size of the Merkle witnesses for the top level are ~32 bytes per field element.
    2) **Faster incremental hashing**
    3) **Consistency**: Consistent with `merkle_hash` for lists/vectors.
    JustinDrake committed Feb 10, 2019
    Configuration menu
    Copy the full SHA
    c89b17c View commit details
    Browse the repository at this point in the history