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

Add snappy compression support #866

Merged
merged 127 commits into from
Apr 16, 2020

Commits on Oct 29, 2019

  1. notes from call

    g-r-a-n-t committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    1d40a72 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2019

  1. should_forward function

    g-r-a-n-t committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    410c8aa View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2019

  1. Configuration menu
    Copy the full SHA
    912dbf6 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2019

  1. some cleanup and notes

    g-r-a-n-t committed Nov 8, 2019
    Configuration menu
    Copy the full SHA
    10fe0e5 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2019

  1. complete draft

    g-r-a-n-t committed Nov 19, 2019
    Configuration menu
    Copy the full SHA
    c492657 View commit details
    Browse the repository at this point in the history
  2. corrections

    g-r-a-n-t committed Nov 19, 2019
    Configuration menu
    Copy the full SHA
    f95eccf View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2019

  1. some cleanup

    g-r-a-n-t committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    a17be85 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2019

  1. Configuration menu
    Copy the full SHA
    8f9a9c2 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2019

  1. Configuration menu
    Copy the full SHA
    ee761a6 View commit details
    Browse the repository at this point in the history
  2. ran cargo fmt

    g-r-a-n-t committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    464a5c4 View commit details
    Browse the repository at this point in the history
  3. Revert "ran cargo fmt"

    This reverts commit 464a5c4.
    g-r-a-n-t committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    3afb00f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e64e7e0 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2019

  1. proposer index mods

    g-r-a-n-t committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    ea0a451 View commit details
    Browse the repository at this point in the history
  2. fmt

    g-r-a-n-t committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    57eb2b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7dfbe9a View commit details
    Browse the repository at this point in the history
  4. new way of reading state

    g-r-a-n-t committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    f51c4c9 View commit details
    Browse the repository at this point in the history
  5. fmt

    g-r-a-n-t committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    1560dba View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2019

  1. Configuration menu
    Copy the full SHA
    8417b46 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2019

  1. Configuration menu
    Copy the full SHA
    77ee7b6 View commit details
    Browse the repository at this point in the history
  2. fmt

    g-r-a-n-t committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    ea0ad97 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2020

  1. Configuration menu
    Copy the full SHA
    941793a View commit details
    Browse the repository at this point in the history
  2. compiles again

    g-r-a-n-t committed Jan 7, 2020
    Configuration menu
    Copy the full SHA
    0a3fb82 View commit details
    Browse the repository at this point in the history
  3. fmt

    g-r-a-n-t committed Jan 7, 2020
    Configuration menu
    Copy the full SHA
    bb78f26 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2020

  1. Configuration menu
    Copy the full SHA
    cd678eb View commit details
    Browse the repository at this point in the history
  2. Correct small typo

    AgeManning committed Jan 13, 2020
    Configuration menu
    Copy the full SHA
    9c1d146 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2020

  1. Merge latest master

    AgeManning committed Jan 15, 2020
    Configuration menu
    Copy the full SHA
    e66dec4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea50fe7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    133e6ef View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4907e26 View commit details
    Browse the repository at this point in the history
  5. Remove ping protocol

    AgeManning committed Jan 15, 2020
    Configuration menu
    Copy the full SHA
    dd4aae3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    63bdd20 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9c86bd7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ff5f32f View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2020

  1. Configuration menu
    Copy the full SHA
    b8a56fb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    656d424 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    48f8d5c View commit details
    Browse the repository at this point in the history
  4. Removes build artefacts

    AgeManning committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    78c02a5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b60e0a2 View commit details
    Browse the repository at this point in the history
  6. Temporarily remove gossip validation

    This is to be updated to match current optimisation efforts.
    AgeManning committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    c10c5bc View commit details
    Browse the repository at this point in the history
  7. Adds AggregateAndProof

    AgeManning committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    d1db15d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    460ec9b View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2020

  1. Temp commit

    AgeManning committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    11dff74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6678f74 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cec95de View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2020

  1. Merge in latest master

    AgeManning committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    9905c63 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2020

  1. Configuration menu
    Copy the full SHA
    7ed35e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6059c97 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fe604a8 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2020

  1. Configuration menu
    Copy the full SHA
    9425ab7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    952d247 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f2e31a6 View commit details
    Browse the repository at this point in the history
  4. Scaffold

    michaelsproul committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    747eacd View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2020

  1. Progress on attestation validation

    Also, consolidate prod+testing slot clocks so that they share much
    of the same implementation and can both handle sub-slot time changes.
    michaelsproul committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    3a452fa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    88bbec1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    33fb3b0 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2020

  1. Configuration menu
    Copy the full SHA
    81cea1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    13ca328 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ea068ea View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    19cda2c View commit details
    Browse the repository at this point in the history
  5. Correct fmt issues

    AgeManning committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    f2c0eff View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b064604 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2020

  1. Configuration menu
    Copy the full SHA
    5ba3ac2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bcb6c75 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d1950de View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1cedf5b View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2020

  1. Configuration menu
    Copy the full SHA
    e12ddf3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7da9233 View commit details
    Browse the repository at this point in the history
  3. Register SSZ snappy protocol messages

    b-m-f authored and pawanjay176 committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    501ae50 View commit details
    Browse the repository at this point in the history
  4. Add initial idea of snappy compressed Codec by replacing the UVI code…

    …c with the snap library
    b-m-f authored and pawanjay176 committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    7fb83bc View commit details
    Browse the repository at this point in the history
  5. Fix matching against protocol string

    b-m-f authored and pawanjay176 committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    f19fa84 View commit details
    Browse the repository at this point in the history
  6. Adds TODOs for implementation work

    b-m-f authored and pawanjay176 committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    350d818 View commit details
    Browse the repository at this point in the history
  7. Implements check against max packet size before attempting to decode …

    …snappy compressed packages
    b-m-f authored and pawanjay176 committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    8abc04e View commit details
    Browse the repository at this point in the history
  8. Add ssz_snappy codec

    pawanjay176 committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    e61afc5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    91fdd7f View commit details
    Browse the repository at this point in the history
  10. Progress on snappy codec

    pawanjay176 committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    a7dd7d6 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2020

  1. Configuration menu
    Copy the full SHA
    e084685 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ecf1d6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6b1b00f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    87d5a6e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    40f97a0 View commit details
    Browse the repository at this point in the history
  6. Fix minor errors

    AgeManning committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    e4c5104 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2020

  1. Configuration menu
    Copy the full SHA
    80d24d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d84218c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9b53e6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cc6a6e2 View commit details
    Browse the repository at this point in the history
  5. Trying something

    pawanjay176 committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    d2dff48 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2020

  1. Configuration menu
    Copy the full SHA
    fb2227e View commit details
    Browse the repository at this point in the history
  2. Fix gossipsub tests

    pawanjay176 committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    21e17f3 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2020

  1. Configuration menu
    Copy the full SHA
    576a9b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    219da51 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bd09217 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6586cfb View commit details
    Browse the repository at this point in the history
  5. Cleanup

    pawanjay176 committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    8ac2adf View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'origin/naive-attestation-aggregation' i…

    …nto naive-attestation-aggregation
    pawanjay176 committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    2e94312 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2020

  1. Configuration menu
    Copy the full SHA
    354d463 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c3a306f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f5b3920 View commit details
    Browse the repository at this point in the history
  4. Add length checks

    pawanjay176 committed Feb 20, 2020
    Configuration menu
    Copy the full SHA
    7147042 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b7f2ff2 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2020

  1. Configuration menu
    Copy the full SHA
    03ed683 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    55fb814 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2020

  1. Configuration menu
    Copy the full SHA
    734de94 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2020

  1. Configuration menu
    Copy the full SHA
    c7771e5 View commit details
    Browse the repository at this point in the history
  2. Account for genesis time

    paulhauner committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    5ad6574 View commit details
    Browse the repository at this point in the history
  3. Use checked mul

    paulhauner committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    b813950 View commit details
    Browse the repository at this point in the history
  4. Account for genesis slot

    paulhauner committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    4d69d9b View commit details
    Browse the repository at this point in the history
  5. Change API

    paulhauner committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    287c392 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2020

  1. Configuration menu
    Copy the full SHA
    6ee07d5 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2020

  1. Configuration menu
    Copy the full SHA
    e172a4b View commit details
    Browse the repository at this point in the history
  2. Re-merge updated block processing to v0.2.0 (sigp#962)

    * Start updating types
    
    * WIP
    
    * Signature hacking
    
    * Existing EF tests passing with fake_crypto
    
    * Updates
    
    * Delete outdated API spec
    
    * The refactor continues
    
    * It compiles
    
    * WIP test fixes
    
    * All release tests passing bar genesis state parsing
    
    * Update and test YamlConfig
    
    * Update to spec v0.10 compatible BLS
    
    * Updates to BLS EF tests
    
    * Add EF test for AggregateVerify
    
    And delete unused hash2curve tests for uncompressed points
    
    * Update EF tests to v0.10.1
    
    * Use optional block root correctly in block proc
    
    * Use genesis fork in deposit domain. All tests pass
    
    * Cargo fmt
    
    * Fast aggregate verify test
    
    * Update REST API docs
    
    * Cargo fmt
    
    * Fix unused import
    
    * Bump spec tags to v0.10.1
    
    * Add `seconds_per_eth1_block` to chainspec
    
    * Update to timestamp based eth1 voting scheme
    
    * Return None from `get_votes_to_consider` if block cache is empty
    
    * Handle overflows in `is_candidate_block`
    
    * Revert to failing tests
    
    * Fix eth1 data sets test
    
    * Choose default vote according to spec
    
    * Fix collect_valid_votes tests
    
    * Fix `get_votes_to_consider` to choose all eligible blocks
    
    * Uncomment winning_vote tests
    
    * Add comments; remove unused code
    
    * Reduce seconds_per_eth1_block for simulation
    
    * Addressed review comments
    
    * Add test for default vote case
    
    * Fix logs
    
    * Remove unused functions
    
    * Meter default eth1 votes
    
    * Fix comments
    
    * Address review comments; remove unused dependency
    
    * Add first attempt at attestation proc. re-write
    
    * Add version 2 of attestation processing
    
    * Minor fixes
    
    * Add validator pubkey cache
    
    * Make get_indexed_attestation take a committee
    
    * Link signature processing into new attn verification
    
    * First working version
    
    * Ensure pubkey cache is updated
    
    * Add more metrics, slight optimizations
    
    * Clone committee cache during attestation processing
    
    * Update shuffling cache during block processing
    
    * Remove old commented-out code
    
    * Fix shuffling cache insert bug
    
    * Used indexed attestation in fork choice
    
    * Restructure attn processing, add metrics
    
    * Add more detailed metrics
    
    * Tidy, fix failing tests
    
    * Fix failing tests, tidy
    
    * Disable/delete two outdated tests
    
    * Add new Pubkeys struct to signature_sets
    
    * Refactor with functional approach
    
    * Update beacon chain
    
    * Remove decompressed member from pubkey bytes
    
    * Add hashmap for indices lookup
    
    * Add state cache, remove store cache
    
    * Only build the head committee cache
    
    * Change `get_attesting_indices` to use Vec
    
    * Fix failing test
    
    * Tidy
    
    * Add pubkey cache persistence file
    
    * Add more comments
    
    * Integrate persistence file into builder
    
    * Add pubkey cache tests
    
    * Add data_dir to beacon chain builder
    
    * Remove Option in pubkey cache persistence file
    
    * Ensure consistency between datadir/data_dir
    
    * Fix failing network test
    
    * Tidy
    
    * Fix todos
    
    * Improve tests
    
    * Fix compile error
    
    * Fix compile error from merge
    
    * Split up block processing metrics
    
    * Tidy
    
    * Refactor get_pubkey_from_state
    
    * Remove commented-out code
    
    * Rename state_cache -> checkpoint_cache
    
    * Rename Checkpoint -> Snapshot
    
    * Tidy, add comments
    
    * Tidy up find_head function
    
    * Change some checkpoint -> snapshot
    
    * Add tests
    
    * Expose max_len
    
    * Remove dead code
    
    * Tidy
    
    * Fix bug
    
    * Add sync-speed metric
    
    * Add first attempt at VerifiableBlock
    
    * Start integrating into beacon chain
    
    * Integrate VerifiableBlock
    
    * Rename VerifableBlock -> PartialBlockVerification
    
    * Add start of typed methods
    
    * Add progress
    
    * Add further progress
    
    * Rename structs
    
    * Add full block verification to block_processing.rs
    
    * Further beacon chain integration
    
    * Update checks for gossip
    
    * Add todo
    
    * Start adding segement verification
    
    * Add passing chain segement test
    
    * Initial integration with batch sync
    
    * Minor changes
    
    * Tidy, add more error checking
    
    * Start adding chain_segment tests
    
    * Finish invalid signature tests
    
    * Include single and gossip verified blocks in tests
    
    * Add gossip verification tests
    
    * Start adding docs
    
    * Finish adding comments to block_processing.rs
    
    * Rename block_processing.rs -> block_verification
    
    * Start removing old block processing code
    
    * Fixes beacon_chain compilation
    
    * Fix project-wide compile errors
    
    * Remove old code
    
    * Fix bug with beacon proposer index
    
    * Fix shim for BlockProcessingError
    
    * Only process one epoch at a time
    
    * Fix loop in chain segment processing
    
    * Add caching for state.eth1_data_votes
    
    * Add BeaconChain::validator_pubkey
    
    * Revert "Add caching for state.eth1_data_votes"
    
    This reverts commit cd73dcd.
    
    * Add sync-speed metric (sigp#898)
    
    * Add PH & MS slot clock changes
    
    * Account for genesis time
    
    * Use checked mul
    
    * Account for genesis slot
    
    * Change API
    
    * Allow for clock disparity
    
    * Refactor "duration to..." functions
    
    * Ensure errors are returned during batch processing
    
    Co-authored-by: Michael Sproul <michael@sigmaprime.io>
    Co-authored-by: Michael Sproul <micsproul@gmail.com>
    Co-authored-by: pawan <pawandhananjay@gmail.com>
    Co-authored-by: Paul Hauner <paul@paulhauner.com>
    5 people committed Mar 26, 2020
    Configuration menu
    Copy the full SHA
    30fb9b7 View commit details
    Browse the repository at this point in the history
  3. Enr fork (sigp#967)

    * Start fixing enr-fork-id
    
    * Fix time-until-next-fork logic
    
    * Remove fork crate
    paulhauner committed Mar 26, 2020
    Configuration menu
    Copy the full SHA
    58e5167 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2020

  1. Update any references to beacon_chain.spec.milliseconds_per_slot to b…

    …eacon_chain.slot_clock.slot_diration().as_nillis() in the attestation service. (sigp#968)
    realbigsean committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    4406b51 View commit details
    Browse the repository at this point in the history
  2. Process network attestations (sigp#966)

    * Start updating types
    
    * WIP
    
    * Signature hacking
    
    * Existing EF tests passing with fake_crypto
    
    * Updates
    
    * Delete outdated API spec
    
    * The refactor continues
    
    * It compiles
    
    * WIP test fixes
    
    * All release tests passing bar genesis state parsing
    
    * Update and test YamlConfig
    
    * Update to spec v0.10 compatible BLS
    
    * Updates to BLS EF tests
    
    * Add EF test for AggregateVerify
    
    And delete unused hash2curve tests for uncompressed points
    
    * Update EF tests to v0.10.1
    
    * Use optional block root correctly in block proc
    
    * Use genesis fork in deposit domain. All tests pass
    
    * Cargo fmt
    
    * Fast aggregate verify test
    
    * Update REST API docs
    
    * Cargo fmt
    
    * Fix unused import
    
    * Bump spec tags to v0.10.1
    
    * Add `seconds_per_eth1_block` to chainspec
    
    * Update to timestamp based eth1 voting scheme
    
    * Return None from `get_votes_to_consider` if block cache is empty
    
    * Handle overflows in `is_candidate_block`
    
    * Revert to failing tests
    
    * Fix eth1 data sets test
    
    * Choose default vote according to spec
    
    * Fix collect_valid_votes tests
    
    * Fix `get_votes_to_consider` to choose all eligible blocks
    
    * Uncomment winning_vote tests
    
    * Add comments; remove unused code
    
    * Reduce seconds_per_eth1_block for simulation
    
    * Addressed review comments
    
    * Add test for default vote case
    
    * Fix logs
    
    * Remove unused functions
    
    * Meter default eth1 votes
    
    * Fix comments
    
    * Address review comments; remove unused dependency
    
    * Add first attempt at attestation proc. re-write
    
    * Add version 2 of attestation processing
    
    * Minor fixes
    
    * Add validator pubkey cache
    
    * Make get_indexed_attestation take a committee
    
    * Link signature processing into new attn verification
    
    * First working version
    
    * Ensure pubkey cache is updated
    
    * Add more metrics, slight optimizations
    
    * Clone committee cache during attestation processing
    
    * Update shuffling cache during block processing
    
    * Remove old commented-out code
    
    * Fix shuffling cache insert bug
    
    * Used indexed attestation in fork choice
    
    * Restructure attn processing, add metrics
    
    * Add more detailed metrics
    
    * Tidy, fix failing tests
    
    * Fix failing tests, tidy
    
    * Disable/delete two outdated tests
    
    * Add new Pubkeys struct to signature_sets
    
    * Refactor with functional approach
    
    * Update beacon chain
    
    * Remove decompressed member from pubkey bytes
    
    * Add hashmap for indices lookup
    
    * Add state cache, remove store cache
    
    * Only build the head committee cache
    
    * Change `get_attesting_indices` to use Vec
    
    * Fix failing test
    
    * Tidy
    
    * Add pubkey cache persistence file
    
    * Add more comments
    
    * Integrate persistence file into builder
    
    * Add pubkey cache tests
    
    * Add data_dir to beacon chain builder
    
    * Remove Option in pubkey cache persistence file
    
    * Ensure consistency between datadir/data_dir
    
    * Fix failing network test
    
    * Tidy
    
    * Fix todos
    
    * Improve tests
    
    * Fix compile error
    
    * Fix compile error from merge
    
    * Split up block processing metrics
    
    * Tidy
    
    * Refactor get_pubkey_from_state
    
    * Remove commented-out code
    
    * Rename state_cache -> checkpoint_cache
    
    * Rename Checkpoint -> Snapshot
    
    * Tidy, add comments
    
    * Tidy up find_head function
    
    * Change some checkpoint -> snapshot
    
    * Add tests
    
    * Expose max_len
    
    * Remove dead code
    
    * Tidy
    
    * Fix bug
    
    * Add sync-speed metric
    
    * Add first attempt at VerifiableBlock
    
    * Start integrating into beacon chain
    
    * Integrate VerifiableBlock
    
    * Rename VerifableBlock -> PartialBlockVerification
    
    * Add start of typed methods
    
    * Add progress
    
    * Add further progress
    
    * Rename structs
    
    * Add full block verification to block_processing.rs
    
    * Further beacon chain integration
    
    * Update checks for gossip
    
    * Add todo
    
    * Start adding segement verification
    
    * Add passing chain segement test
    
    * Initial integration with batch sync
    
    * Minor changes
    
    * Tidy, add more error checking
    
    * Start adding chain_segment tests
    
    * Finish invalid signature tests
    
    * Include single and gossip verified blocks in tests
    
    * Add gossip verification tests
    
    * Start adding docs
    
    * Finish adding comments to block_processing.rs
    
    * Rename block_processing.rs -> block_verification
    
    * Start removing old block processing code
    
    * Fixes beacon_chain compilation
    
    * Fix project-wide compile errors
    
    * Remove old code
    
    * Fix bug with beacon proposer index
    
    * Fix shim for BlockProcessingError
    
    * Only process one epoch at a time
    
    * Fix loop in chain segment processing
    
    * Add caching for state.eth1_data_votes
    
    * Add BeaconChain::validator_pubkey
    
    * Revert "Add caching for state.eth1_data_votes"
    
    This reverts commit cd73dcd.
    
    * Allow for clock disparity
    
    * Ensure errors are returned during batch processing
    
    * Add block gossip verification
    
    * Connect attestation processing to beacon chain
    
    * Optimistically subscribe to subnets on the same slot
    
    Co-authored-by: Michael Sproul <michael@sigmaprime.io>
    Co-authored-by: Michael Sproul <micsproul@gmail.com>
    Co-authored-by: pawan <pawandhananjay@gmail.com>
    Co-authored-by: Paul Hauner <paul@paulhauner.com>
    5 people committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    710b85e View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2020

  1. Update /validator/subscribe (sigp#969)

    * Add progress on duties refactor
    
    * Add simple is_aggregator bool to val subscription
    
    * Remove unused function
    paulhauner committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    cca5d8b View commit details
    Browse the repository at this point in the history
  2. Upgrade sim (sigp#972)

    * Add progress on duties refactor
    
    * Add simple is_aggregator bool to val subscription
    
    * Add the no-eth1-sim, refactor sim
    paulhauner committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    a42e097 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2020

  1. Configuration menu
    Copy the full SHA
    d822599 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    03a8c8c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    67a935a View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2020

  1. Add test script

    pawanjay176 committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    0ebff5d View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2020

  1. Configuration menu
    Copy the full SHA
    3c45d72 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2020

  1. Configuration menu
    Copy the full SHA
    c411afc View commit details
    Browse the repository at this point in the history
  2. Fix errors

    pawanjay176 committed Apr 8, 2020
    Configuration menu
    Copy the full SHA
    0cd335c View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2020

  1. Configuration menu
    Copy the full SHA
    113ceca View commit details
    Browse the repository at this point in the history
  2. Add more comments

    pawanjay176 committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    bdd15a7 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2020

  1. Configuration menu
    Copy the full SHA
    0e6b38b View commit details
    Browse the repository at this point in the history
  2. Run fmt

    pawanjay176 committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    95aa51c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd20354 View commit details
    Browse the repository at this point in the history