2019-12-09 11:39:44 +00:00
|
|
|
# This file is automatically @generated by Cargo.
|
|
|
|
# It is not intended for manual editing.
|
2021-03-02 05:59:49 +00:00
|
|
|
version = 3
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "account_manager"
|
2020-11-18 00:44:28 +00:00
|
|
|
version = "0.3.5"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-07-22 09:34:55 +00:00
|
|
|
"account_utils",
|
2020-05-10 09:56:31 +00:00
|
|
|
"bls",
|
|
|
|
"clap",
|
|
|
|
"clap_utils",
|
|
|
|
"deposit_contract",
|
2020-09-29 00:02:44 +00:00
|
|
|
"directory",
|
2020-10-05 08:22:19 +00:00
|
|
|
"dirs 3.0.1",
|
2020-05-10 09:56:31 +00:00
|
|
|
"environment",
|
2020-10-29 23:25:19 +00:00
|
|
|
"eth2",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"eth2_keystore",
|
2020-12-08 05:41:10 +00:00
|
|
|
"eth2_network_config",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_ssz",
|
|
|
|
"eth2_ssz_derive",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"eth2_wallet",
|
|
|
|
"eth2_wallet_manager",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-05-10 09:56:31 +00:00
|
|
|
"libc",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"rand 0.7.3",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rayon",
|
2020-10-29 23:25:19 +00:00
|
|
|
"safe_arith",
|
2020-10-02 01:42:27 +00:00
|
|
|
"slashing_protection",
|
2020-05-10 09:56:31 +00:00
|
|
|
"slog",
|
|
|
|
"slog-async",
|
|
|
|
"slog-term",
|
2020-10-29 23:25:19 +00:00
|
|
|
"slot_clock",
|
|
|
|
"tempfile",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"types",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"validator_dir",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-07-22 09:34:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "account_utils"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-10-08 21:01:32 +00:00
|
|
|
"directory",
|
2020-07-22 09:34:55 +00:00
|
|
|
"eth2_keystore",
|
|
|
|
"eth2_wallet",
|
|
|
|
"rand 0.7.3",
|
2020-07-29 04:32:50 +00:00
|
|
|
"regex",
|
|
|
|
"rpassword",
|
2020-07-22 09:34:55 +00:00
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
2020-07-29 04:32:50 +00:00
|
|
|
"serde_yaml",
|
|
|
|
"slog",
|
|
|
|
"types",
|
|
|
|
"validator_dir",
|
2020-07-22 09:34:55 +00:00
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2020-05-26 20:34:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "addr2line"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.14.1"
|
2020-05-26 20:34:15 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "a55f82cfe485775d02112886f4169bde0c5894d75e79ead7eafe7e40a25e45f7"
|
2020-05-26 20:34:15 +00:00
|
|
|
dependencies = [
|
|
|
|
"gimli",
|
|
|
|
]
|
|
|
|
|
2020-07-06 01:55:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "adler"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.0.2"
|
2020-07-06 01:55:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
|
2020-07-06 01:55:56 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "adler32"
|
2020-08-03 09:35:53 +00:00
|
|
|
version = "1.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-03 09:35:53 +00:00
|
|
|
checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-06-29 10:25:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aead"
|
2020-07-11 02:35:59 +00:00
|
|
|
version = "0.3.2"
|
2020-06-29 10:25:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-11 02:35:59 +00:00
|
|
|
checksum = "7fc95d1bdb8e6666b2b217308eeeb09f2d6728d104be3e31916cc74d15420331"
|
2020-06-29 10:25:42 +00:00
|
|
|
dependencies = [
|
2020-08-18 11:23:08 +00:00
|
|
|
"generic-array 0.14.4",
|
2020-06-29 10:25:42 +00:00
|
|
|
]
|
|
|
|
|
2020-10-05 07:45:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aes"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dd2bc6d3f370b5666245ff421e231cba4353df936e26986d2918e61a8fd6aef6"
|
|
|
|
dependencies = [
|
2020-11-28 05:30:57 +00:00
|
|
|
"aes-soft 0.5.0",
|
2020-10-05 07:45:54 +00:00
|
|
|
"aesni 0.8.0",
|
2020-10-23 04:16:33 +00:00
|
|
|
"block-cipher",
|
2020-06-29 10:25:42 +00:00
|
|
|
]
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aes"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "884391ef1066acaa41e766ba8f596341b96e93ce34f9a43e7d24bf0a0eaf0561"
|
|
|
|
dependencies = [
|
|
|
|
"aes-soft 0.6.4",
|
|
|
|
"aesni 0.10.0",
|
|
|
|
"cipher",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "aes-ctr"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7729c3cde54d67063be556aeac75a81330d802f0259500ca40cb52967f975763"
|
|
|
|
dependencies = [
|
|
|
|
"aes-soft 0.6.4",
|
|
|
|
"aesni 0.10.0",
|
|
|
|
"cipher",
|
2020-12-07 08:20:33 +00:00
|
|
|
"ctr",
|
2020-11-28 05:30:57 +00:00
|
|
|
]
|
|
|
|
|
2020-10-05 07:45:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aes-gcm"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0301c9e9c443494d970a07885e8cf3e587bae8356a1d5abd0999068413f7205f"
|
|
|
|
dependencies = [
|
|
|
|
"aead",
|
2020-11-28 05:30:57 +00:00
|
|
|
"aes 0.5.0",
|
2020-10-23 04:16:33 +00:00
|
|
|
"block-cipher",
|
2020-06-29 10:25:42 +00:00
|
|
|
"ghash",
|
2020-12-23 07:53:36 +00:00
|
|
|
"subtle 2.4.0",
|
2020-06-29 10:25:42 +00:00
|
|
|
]
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aes-gcm"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5278b5fabbb9bd46e24aa69b2fdea62c99088e0a950a9be40e3e0101298f88da"
|
|
|
|
dependencies = [
|
|
|
|
"aead",
|
|
|
|
"aes 0.6.0",
|
|
|
|
"cipher",
|
2020-12-07 08:20:33 +00:00
|
|
|
"ctr",
|
2020-11-28 05:30:57 +00:00
|
|
|
"ghash",
|
2020-12-23 07:53:36 +00:00
|
|
|
"subtle 2.4.0",
|
2020-11-28 05:30:57 +00:00
|
|
|
]
|
|
|
|
|
2020-10-05 07:45:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aes-soft"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "63dd91889c49327ad7ef3b500fd1109dbd3c509a03db0d4a9ce413b79f575cb6"
|
|
|
|
dependencies = [
|
2020-10-23 04:16:33 +00:00
|
|
|
"block-cipher",
|
2020-10-05 07:45:54 +00:00
|
|
|
"byteorder",
|
|
|
|
"opaque-debug 0.3.0",
|
|
|
|
]
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aes-soft"
|
|
|
|
version = "0.6.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "be14c7498ea50828a38d0e24a765ed2effe92a705885b57d029cd67d45744072"
|
|
|
|
dependencies = [
|
|
|
|
"cipher",
|
|
|
|
"opaque-debug 0.3.0",
|
|
|
|
]
|
|
|
|
|
2019-12-20 05:26:30 +00:00
|
|
|
[[package]]
|
2020-10-05 07:45:54 +00:00
|
|
|
name = "aesni"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0a6fe808308bb07d393e2ea47780043ec47683fcf19cf5efc8ca51c50cc8c68a"
|
|
|
|
dependencies = [
|
2020-10-23 04:16:33 +00:00
|
|
|
"block-cipher",
|
2020-10-05 07:45:54 +00:00
|
|
|
"opaque-debug 0.3.0",
|
2020-06-29 10:25:42 +00:00
|
|
|
]
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aesni"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ea2e11f5e94c2f7d386164cc2aa1f97823fed6f259e486940a71c174dd01b0ce"
|
|
|
|
dependencies = [
|
|
|
|
"cipher",
|
|
|
|
"opaque-debug 0.3.0",
|
|
|
|
]
|
|
|
|
|
2020-10-09 02:05:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ahash"
|
2020-12-14 02:28:19 +00:00
|
|
|
version = "0.4.7"
|
2020-10-09 02:05:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-14 02:28:19 +00:00
|
|
|
checksum = "739f4a8db6605981345c5654f3a85b056ce52f37a39d34da03f25bf2151ea16e"
|
2020-10-09 02:05:30 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aho-corasick"
|
2020-11-06 04:14:14 +00:00
|
|
|
version = "0.7.15"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-06 04:14:14 +00:00
|
|
|
checksum = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"memchr",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "amcl"
|
2020-10-28 22:19:38 +00:00
|
|
|
version = "0.3.0"
|
2021-03-16 03:11:51 +00:00
|
|
|
source = "git+https://github.com/sigp/milagro_bls?tag=v1.4.2#16655aa033175a90c10ef02aa144e2835de23aec"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ansi_term"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-10-23 04:16:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ansi_term"
|
|
|
|
version = "0.12.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
|
|
|
|
dependencies = [
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "anyhow"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "1.0.38"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "afddf7f520a80dbf76e6f50a35bca42a2331ef227a28b3b6dc5c2e2338d114b1"
|
2020-05-17 11:16:48 +00:00
|
|
|
|
2020-05-05 23:12:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "arbitrary"
|
2020-10-23 04:16:33 +00:00
|
|
|
version = "0.4.7"
|
2020-05-05 23:12:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 04:16:33 +00:00
|
|
|
checksum = "db55d72333851e17d572bec876e390cd3b11eb1ef53ae821dd9f3b653d2b4569"
|
2020-05-05 23:12:28 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"derive_arbitrary",
|
2020-05-05 23:12:28 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "arc-swap"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "1.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "d4d7d63395147b81a9e570bcc6243aaf71c017bd666d4909cfef0085bdda8d73"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "arrayref"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.3.6"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "arrayvec"
|
2020-10-28 22:19:38 +00:00
|
|
|
version = "0.5.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-28 22:19:38 +00:00
|
|
|
checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ascii-canvas"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ff8eb72df928aafb99fe5d37b383f2fe25bd2a765e3e5f7c365916b6f2463a29"
|
|
|
|
dependencies = [
|
|
|
|
"term 0.5.2",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "asn1_der"
|
|
|
|
version = "0.6.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "6fce6b6a0ffdafebd82c87e79e3f40e8d2c523e5fea5566ff6b90509bf98d638"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"asn1_der_derive",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "asn1_der_derive"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "0d0864d84b8e07b145449be9a8537db86bf9de5ce03b913214694643b4743502"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "assert-json-diff"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4259cbe96513d2f1073027a259fc2ca917feb3026a5a8d984e3628e490255cc0"
|
|
|
|
dependencies = [
|
|
|
|
"extend",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-channel"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.6.1"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "2114d64672151c0c5eaa5e131ec84a74f06e1e559830dabba01ca30605d66319"
|
2020-11-19 04:04:52 +00:00
|
|
|
dependencies = [
|
|
|
|
"concurrent-queue",
|
|
|
|
"event-listener",
|
|
|
|
"futures-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-executor"
|
2020-11-24 00:44:40 +00:00
|
|
|
version = "1.4.0"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-24 00:44:40 +00:00
|
|
|
checksum = "eb877970c7b440ead138f6321a3b5395d6061183af779340b65e20c0fede9146"
|
2020-11-19 04:04:52 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-task",
|
|
|
|
"concurrent-queue",
|
|
|
|
"fastrand",
|
|
|
|
"futures-lite",
|
|
|
|
"once_cell",
|
|
|
|
"vec-arena",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-global-executor"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "2.0.2"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "9586ec52317f36de58453159d48351bc244bc24ced3effc1fce22f3d48664af6"
|
2020-11-19 04:04:52 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"async-channel",
|
2020-11-19 04:04:52 +00:00
|
|
|
"async-executor",
|
|
|
|
"async-io",
|
2021-02-10 23:29:49 +00:00
|
|
|
"async-mutex",
|
|
|
|
"blocking",
|
2020-11-19 04:04:52 +00:00
|
|
|
"futures-lite",
|
|
|
|
"num_cpus",
|
|
|
|
"once_cell",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-io"
|
2020-11-30 22:55:10 +00:00
|
|
|
version = "1.3.1"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-30 22:55:10 +00:00
|
|
|
checksum = "9315f8f07556761c3e48fec2e6b276004acf426e6dc068b2c2251854d65ee0fd"
|
2020-11-19 04:04:52 +00:00
|
|
|
dependencies = [
|
|
|
|
"concurrent-queue",
|
|
|
|
"fastrand",
|
|
|
|
"futures-lite",
|
|
|
|
"libc",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-11-19 04:04:52 +00:00
|
|
|
"nb-connect",
|
|
|
|
"once_cell",
|
|
|
|
"parking",
|
|
|
|
"polling",
|
|
|
|
"vec-arena",
|
|
|
|
"waker-fn",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2021-02-10 23:29:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "async-lock"
|
|
|
|
version = "2.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1996609732bde4a9988bc42125f55f2af5f3c36370e27c778d5191a4a1b63bfb"
|
|
|
|
dependencies = [
|
|
|
|
"event-listener",
|
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "async-mutex"
|
|
|
|
version = "1.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "479db852db25d9dbf6204e6cb6253698f175c15726470f78af0d918e99d6156e"
|
|
|
|
dependencies = [
|
|
|
|
"event-listener",
|
|
|
|
]
|
|
|
|
|
2020-12-09 01:34:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "async-native-tls"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9e9e7a929bd34c68a82d58a4de7f86fffdaf97fb2af850162a7bb19dd7269b33"
|
|
|
|
dependencies = [
|
|
|
|
"native-tls",
|
|
|
|
"thiserror",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 0.2.25",
|
2020-12-09 01:34:58 +00:00
|
|
|
"url",
|
|
|
|
]
|
|
|
|
|
2021-02-10 23:29:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "async-object-pool"
|
|
|
|
version = "0.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "aeb901c30ebc2fc4ab46395bbfbdba9542c16559d853645d75190c3056caf3bc"
|
|
|
|
dependencies = [
|
|
|
|
"async-std",
|
|
|
|
]
|
|
|
|
|
2020-12-28 23:38:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "async-process"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.0.2"
|
2020-12-28 23:38:02 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "ef37b86e2fa961bae5a4d212708ea0154f904ce31d1a4a7f47e1bbc33a0c040b"
|
2020-12-28 23:38:02 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-io",
|
|
|
|
"blocking",
|
2021-03-02 05:59:49 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-12-28 23:38:02 +00:00
|
|
|
"event-listener",
|
|
|
|
"futures-lite",
|
|
|
|
"once_cell",
|
|
|
|
"signal-hook",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "async-std"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "1.9.0"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "d9f06685bad74e0570f5213741bea82158279a4103d988e57bfada11ad230341"
|
2020-11-19 04:04:52 +00:00
|
|
|
dependencies = [
|
2020-12-28 23:38:02 +00:00
|
|
|
"async-channel",
|
2020-11-19 04:04:52 +00:00
|
|
|
"async-global-executor",
|
|
|
|
"async-io",
|
2021-02-10 23:29:49 +00:00
|
|
|
"async-lock",
|
2020-12-28 23:38:02 +00:00
|
|
|
"async-process",
|
2021-02-10 23:29:49 +00:00
|
|
|
"crossbeam-utils",
|
2020-11-19 04:04:52 +00:00
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"futures-lite",
|
|
|
|
"gloo-timers",
|
|
|
|
"kv-log-macro",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-11-19 04:04:52 +00:00
|
|
|
"memchr",
|
|
|
|
"num_cpus",
|
|
|
|
"once_cell",
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.2.6",
|
2020-11-19 04:04:52 +00:00
|
|
|
"pin-utils",
|
2020-12-09 01:34:58 +00:00
|
|
|
"slab",
|
2020-11-19 04:04:52 +00:00
|
|
|
"wasm-bindgen-futures",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-task"
|
|
|
|
version = "4.0.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-trait"
|
2021-03-10 01:28:32 +00:00
|
|
|
version = "0.1.48"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-10 01:28:32 +00:00
|
|
|
checksum = "36ea56748e10732c49404c153638a15ec3d6211ec5ff35d9bb20e13b93576adf"
|
2020-11-19 04:04:52 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2021-02-10 23:29:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "asynchronous-codec"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.6.0"
|
2021-02-10 23:29:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "f0de5164e5edbf51c45fb8c2d9664ae1c095cce1b265ecf7569093c0d66ef690"
|
2021-02-10 23:29:49 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes 1.0.1",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-util",
|
|
|
|
"memchr",
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.2.6",
|
2021-02-10 23:29:49 +00:00
|
|
|
]
|
|
|
|
|
2020-07-29 03:40:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "atomic"
|
2020-10-05 05:16:27 +00:00
|
|
|
version = "0.5.0"
|
2020-07-29 03:40:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 05:16:27 +00:00
|
|
|
checksum = "c3410529e8288c463bedb5930f82833bc0c90e5d2fe639a56582a4d09220b281"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg 1.0.1",
|
|
|
|
]
|
2020-07-29 03:40:22 +00:00
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "atomic-waker"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "065374052e7df7ee4047b1160cca5e1467a12351a40b3da123c870ba0b8eda2a"
|
|
|
|
|
2020-10-02 08:47:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "attohttpc"
|
|
|
|
version = "0.10.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "baf13118df3e3dce4b5ac930641343b91b656e4e72c8f8325838b01a4b1c9d45"
|
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"http",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
|
|
|
"url",
|
2020-10-02 08:47:00 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "atty"
|
2020-01-08 03:18:06 +00:00
|
|
|
version = "0.2.14"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"hermit-abi",
|
|
|
|
"libc",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "autocfg"
|
|
|
|
version = "0.1.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-01-15 03:48:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "autocfg"
|
2020-08-21 12:00:01 +00:00
|
|
|
version = "1.0.1"
|
2020-01-15 03:48:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-21 12:00:01 +00:00
|
|
|
checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
|
2020-01-15 03:48:09 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "backtrace"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.56"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "9d117600f438b1707d4e4ae15d3595657288f8235a0eb593e80ecc98ab34e1bc"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-26 20:34:15 +00:00
|
|
|
"addr2line",
|
2020-10-23 04:16:33 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"libc",
|
2021-03-02 05:59:49 +00:00
|
|
|
"miniz_oxide 0.4.4",
|
2020-05-26 20:34:15 +00:00
|
|
|
"object",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rustc-demangle",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-26 03:25:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "base-x"
|
2020-11-13 06:06:35 +00:00
|
|
|
version = "0.2.8"
|
2020-05-26 03:25:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-13 06:06:35 +00:00
|
|
|
checksum = "a4521f3e3d031370679b3b140beb36dfe4801b09ac77e30c61941f97df3ef28b"
|
2020-05-26 03:25:52 +00:00
|
|
|
|
2020-12-14 02:28:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7"
|
|
|
|
|
2020-03-19 04:11:08 +00:00
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
2020-07-06 01:55:56 +00:00
|
|
|
version = "0.12.3"
|
2020-03-19 04:11:08 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-06 01:55:56 +00:00
|
|
|
checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff"
|
2020-03-19 04:11:08 +00:00
|
|
|
|
2020-10-05 08:22:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
|
|
|
version = "0.13.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "basic-cookies"
|
|
|
|
version = "0.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cb53b6b315f924c7f113b162e53b3901c05fc9966baf84d201dfcc7432a4bb38"
|
|
|
|
dependencies = [
|
|
|
|
"lalrpop",
|
|
|
|
"lalrpop-util",
|
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "beacon_chain"
|
2020-08-06 03:43:05 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-03-08 06:27:49 +00:00
|
|
|
"bitvec 0.19.5",
|
2020-05-10 09:56:31 +00:00
|
|
|
"bls",
|
2020-06-18 11:06:34 +00:00
|
|
|
"derivative",
|
2020-05-10 09:56:31 +00:00
|
|
|
"environment",
|
|
|
|
"eth1",
|
2020-11-02 00:37:30 +00:00
|
|
|
"eth2",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_config",
|
|
|
|
"eth2_hashing",
|
|
|
|
"eth2_ssz",
|
|
|
|
"eth2_ssz_derive",
|
|
|
|
"eth2_ssz_types",
|
2020-10-01 01:41:58 +00:00
|
|
|
"exit-future",
|
v0.12 fork choice update (#1229)
* Incomplete scraps
* Add progress on new fork choice impl
* Further progress
* First complete compiling version
* Remove chain reference
* Add new lmd_ghost crate
* Start integrating into beacon chain
* Update `milagro_bls` to new release (#1183)
* Update milagro_bls to new release
Signed-off-by: Kirk Baird <baird.k@outlook.com>
* Tidy up fake cryptos
Signed-off-by: Kirk Baird <baird.k@outlook.com>
* move SecretHash to bls and put plaintext back
Signed-off-by: Kirk Baird <baird.k@outlook.com>
* Update state processing for v0.12
* Fix EF test runners for v0.12
* Fix some tests
* Fix broken attestation verification test
* More test fixes
* Rough beacon chain impl working
* Remove fork_choice_2
* Remove checkpoint manager
* Half finished ssz impl
* Add missed file
* Add persistence
* Tidy, fix some compile errors
* Remove RwLock from ProtoArrayForkChoice
* Fix store-based compile errors
* Add comments, tidy
* Move function out of ForkChoice struct
* Start testing
* More testing
* Fix compile error
* Tidy beacon_chain::fork_choice
* Queue attestations from the current slot
* Allow fork choice to handle prior-to-genesis start
* Improve error granularity
* Test attestation dequeuing
* Process attestations during block
* Store target root in fork choice
* Move fork choice verification into new crate
* Update tests
* Consensus updates for v0.12 (#1228)
* Update state processing for v0.12
* Fix EF test runners for v0.12
* Fix some tests
* Fix broken attestation verification test
* More test fixes
* Fix typo found in review
* Add `Block` struct to ProtoArray
* Start fixing get_ancestor
* Add rough progress on testing
* Get fork choice tests working
* Progress with testing
* Fix partialeq impl
* Move slot clock from fc_store
* Improve testing
* Add testing for best justified
* Add clone back to SystemTimeSlotClock
* Add balances test
* Start adding balances cache again
* Wire-in balances cache
* Improve tests
* Remove commented-out tests
* Remove beacon_chain::ForkChoice
* Rename crates
* Update wider codebase to new fork_choice layout
* Move advance_slot in test harness
* Tidy ForkChoice::update_time
* Fix verification tests
* Fix compile error with iter::once
* Fix fork choice tests
* Ensure block attestations are processed
* Fix failing beacon_chain tests
* Add first invalid block check
* Add finalized block check
* Progress with testing, new store builder
* Add fixes to get_ancestor
* Fix old genesis justification test
* Fix remaining fork choice tests
* Change root iteration method
* Move on_verified_block
* Remove unused method
* Start adding attestation verification tests
* Add invalid ffg target test
* Add target epoch test
* Add queued attestation test
* Remove old fork choice verification tests
* Tidy, add test
* Move fork choice lock drop
* Rename BeaconForkChoiceStore
* Add comments, tidy BeaconForkChoiceStore
* Update metrics, rename fork_choice_store.rs
* Remove genesis_block_root from ForkChoice
* Tidy
* Update fork_choice comments
* Tidy, add comments
* Tidy, simplify ForkChoice, fix compile issue
* Tidy, removed dead file
* Increase http request timeout
* Fix failing rest_api test
* Set HTTP timeout back to 5s
* Apply fix to get_ancestor
* Address Michael's comments
* Fix typo
* Revert "Fix broken attestation verification test"
This reverts commit 722cdc903b12611de27916a57eeecfa3224f2279.
Co-authored-by: Kirk Baird <baird.k@outlook.com>
Co-authored-by: Michael Sproul <michael@sigmaprime.io>
2020-06-17 01:10:22 +00:00
|
|
|
"fork_choice",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-05-10 09:56:31 +00:00
|
|
|
"genesis",
|
2020-07-25 02:03:18 +00:00
|
|
|
"int_to_bytes",
|
2020-05-10 09:56:31 +00:00
|
|
|
"integer-sqrt",
|
2021-03-02 05:59:49 +00:00
|
|
|
"itertools 0.9.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
|
|
|
"lighthouse_metrics",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-07-29 03:40:22 +00:00
|
|
|
"lru",
|
2020-08-26 09:24:55 +00:00
|
|
|
"maplit",
|
2020-05-10 09:56:31 +00:00
|
|
|
"merkle_proof",
|
|
|
|
"operation_pool",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
v0.12 fork choice update (#1229)
* Incomplete scraps
* Add progress on new fork choice impl
* Further progress
* First complete compiling version
* Remove chain reference
* Add new lmd_ghost crate
* Start integrating into beacon chain
* Update `milagro_bls` to new release (#1183)
* Update milagro_bls to new release
Signed-off-by: Kirk Baird <baird.k@outlook.com>
* Tidy up fake cryptos
Signed-off-by: Kirk Baird <baird.k@outlook.com>
* move SecretHash to bls and put plaintext back
Signed-off-by: Kirk Baird <baird.k@outlook.com>
* Update state processing for v0.12
* Fix EF test runners for v0.12
* Fix some tests
* Fix broken attestation verification test
* More test fixes
* Rough beacon chain impl working
* Remove fork_choice_2
* Remove checkpoint manager
* Half finished ssz impl
* Add missed file
* Add persistence
* Tidy, fix some compile errors
* Remove RwLock from ProtoArrayForkChoice
* Fix store-based compile errors
* Add comments, tidy
* Move function out of ForkChoice struct
* Start testing
* More testing
* Fix compile error
* Tidy beacon_chain::fork_choice
* Queue attestations from the current slot
* Allow fork choice to handle prior-to-genesis start
* Improve error granularity
* Test attestation dequeuing
* Process attestations during block
* Store target root in fork choice
* Move fork choice verification into new crate
* Update tests
* Consensus updates for v0.12 (#1228)
* Update state processing for v0.12
* Fix EF test runners for v0.12
* Fix some tests
* Fix broken attestation verification test
* More test fixes
* Fix typo found in review
* Add `Block` struct to ProtoArray
* Start fixing get_ancestor
* Add rough progress on testing
* Get fork choice tests working
* Progress with testing
* Fix partialeq impl
* Move slot clock from fc_store
* Improve testing
* Add testing for best justified
* Add clone back to SystemTimeSlotClock
* Add balances test
* Start adding balances cache again
* Wire-in balances cache
* Improve tests
* Remove commented-out tests
* Remove beacon_chain::ForkChoice
* Rename crates
* Update wider codebase to new fork_choice layout
* Move advance_slot in test harness
* Tidy ForkChoice::update_time
* Fix verification tests
* Fix compile error with iter::once
* Fix fork choice tests
* Ensure block attestations are processed
* Fix failing beacon_chain tests
* Add first invalid block check
* Add finalized block check
* Progress with testing, new store builder
* Add fixes to get_ancestor
* Fix old genesis justification test
* Fix remaining fork choice tests
* Change root iteration method
* Move on_verified_block
* Remove unused method
* Start adding attestation verification tests
* Add invalid ffg target test
* Add target epoch test
* Add queued attestation test
* Remove old fork choice verification tests
* Tidy, add test
* Move fork choice lock drop
* Rename BeaconForkChoiceStore
* Add comments, tidy BeaconForkChoiceStore
* Update metrics, rename fork_choice_store.rs
* Remove genesis_block_root from ForkChoice
* Tidy
* Update fork_choice comments
* Tidy, add comments
* Tidy, simplify ForkChoice, fix compile issue
* Tidy, removed dead file
* Increase http request timeout
* Fix failing rest_api test
* Set HTTP timeout back to 5s
* Apply fix to get_ancestor
* Address Michael's comments
* Fix typo
* Revert "Fix broken attestation verification test"
This reverts commit 722cdc903b12611de27916a57eeecfa3224f2279.
Co-authored-by: Kirk Baird <baird.k@outlook.com>
Co-authored-by: Michael Sproul <michael@sigmaprime.io>
2020-06-17 01:10:22 +00:00
|
|
|
"proto_array",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rand 0.7.3",
|
2021-02-15 20:34:49 +00:00
|
|
|
"rand_core 0.6.2",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rayon",
|
2020-09-05 05:46:25 +00:00
|
|
|
"regex",
|
2020-05-10 09:56:31 +00:00
|
|
|
"safe_arith",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"serde_yaml",
|
2020-11-23 03:43:22 +00:00
|
|
|
"slasher",
|
2020-05-10 09:56:31 +00:00
|
|
|
"slog",
|
|
|
|
"sloggers",
|
|
|
|
"slot_clock",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2020-05-10 09:56:31 +00:00
|
|
|
"state_processing",
|
|
|
|
"store",
|
2021-01-19 06:33:58 +00:00
|
|
|
"strum",
|
2020-10-05 07:45:54 +00:00
|
|
|
"task_executor",
|
2020-05-10 09:56:31 +00:00
|
|
|
"tempfile",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"tree_hash",
|
|
|
|
"types",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "beacon_node"
|
2021-03-30 04:07:03 +00:00
|
|
|
version = "1.2.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"beacon_chain",
|
|
|
|
"clap",
|
|
|
|
"clap_utils",
|
|
|
|
"client",
|
|
|
|
"ctrlc",
|
2020-09-29 00:02:44 +00:00
|
|
|
"directory",
|
2020-10-05 08:22:19 +00:00
|
|
|
"dirs 3.0.1",
|
2020-05-10 09:56:31 +00:00
|
|
|
"environment",
|
|
|
|
"eth2_config",
|
2020-06-19 04:13:23 +00:00
|
|
|
"eth2_libp2p",
|
2020-12-08 05:41:10 +00:00
|
|
|
"eth2_network_config",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_ssz",
|
|
|
|
"exit-future",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-05-10 09:56:31 +00:00
|
|
|
"genesis",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2021-02-10 23:29:49 +00:00
|
|
|
"hyper 0.14.4",
|
2020-08-04 07:44:53 +00:00
|
|
|
"lighthouse_version",
|
2020-05-10 09:56:31 +00:00
|
|
|
"logging",
|
|
|
|
"node_test_rig",
|
|
|
|
"rand 0.7.3",
|
|
|
|
"serde",
|
2020-11-23 03:43:22 +00:00
|
|
|
"slasher",
|
2020-05-10 09:56:31 +00:00
|
|
|
"slog",
|
|
|
|
"slog-async",
|
|
|
|
"slog-term",
|
|
|
|
"store",
|
2020-10-05 07:45:54 +00:00
|
|
|
"task_executor",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"types",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-10-05 10:50:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bincode"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.3.2"
|
2020-10-05 10:50:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "d175dfa69e619905c4c3cdb7c3c203fa3bdd5d51184e3afdb2742c0280493772"
|
2020-10-05 10:50:43 +00:00
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bit-set"
|
|
|
|
version = "0.5.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6e11e16035ea35e4e5997b393eacbf6f63983188f7a2ad25bfb13465f5ad59de"
|
|
|
|
dependencies = [
|
|
|
|
"bit-vec",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bit-vec"
|
2020-12-07 08:20:33 +00:00
|
|
|
version = "0.6.3"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-07 08:20:33 +00:00
|
|
|
checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
|
2020-11-19 04:04:52 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bitflags"
|
|
|
|
version = "1.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bitvec"
|
2020-04-08 06:46:37 +00:00
|
|
|
version = "0.17.4"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "41262f11d771fd4a61aa3ce019fca363b4b6c282fca9da2a31186d3965a47a5c"
|
2020-04-08 06:46:37 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"either",
|
2020-10-05 08:22:19 +00:00
|
|
|
"radium 0.3.0",
|
|
|
|
]
|
|
|
|
|
2020-10-23 04:16:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bitvec"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "0.18.5"
|
2020-10-23 04:16:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "98fcd36dda4e17b7d7abc64cb549bf0201f4ab71e00700c798ca7e62ed3761fa"
|
2020-10-23 04:16:33 +00:00
|
|
|
dependencies = [
|
|
|
|
"funty",
|
2021-03-08 06:27:49 +00:00
|
|
|
"radium 0.3.0",
|
2020-10-23 04:16:33 +00:00
|
|
|
"wyz",
|
|
|
|
]
|
|
|
|
|
2020-10-05 08:22:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bitvec"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "0.19.5"
|
2020-10-05 08:22:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "8942c8d352ae1838c9dda0b0ca2ab657696ef2232a20147cf1b30ae1a9cb4321"
|
2020-10-05 08:22:19 +00:00
|
|
|
dependencies = [
|
|
|
|
"funty",
|
2020-10-09 02:05:30 +00:00
|
|
|
"radium 0.5.3",
|
2020-10-05 08:22:19 +00:00
|
|
|
"tap",
|
|
|
|
"wyz",
|
2020-04-08 06:46:37 +00:00
|
|
|
]
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
2020-06-29 10:25:42 +00:00
|
|
|
name = "blake2"
|
2020-10-28 22:19:38 +00:00
|
|
|
version = "0.9.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-28 22:19:38 +00:00
|
|
|
checksum = "10a5720225ef5daecf08657f23791354e1685a8c91a4c60c7f3d3b2892f978f4"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-07-11 02:35:59 +00:00
|
|
|
"crypto-mac 0.8.0",
|
|
|
|
"digest 0.9.0",
|
2020-10-28 22:19:38 +00:00
|
|
|
"opaque-debug 0.3.0",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "blake2b_simd"
|
2020-11-02 23:55:15 +00:00
|
|
|
version = "0.5.11"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-02 23:55:15 +00:00
|
|
|
checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"arrayref",
|
2020-06-29 10:25:42 +00:00
|
|
|
"arrayvec",
|
2020-05-10 09:56:31 +00:00
|
|
|
"constant_time_eq",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "block-buffer"
|
|
|
|
version = "0.7.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-08-27 07:04:12 +00:00
|
|
|
"block-padding 0.1.5",
|
2020-05-10 09:56:31 +00:00
|
|
|
"byte-tools",
|
2020-05-17 11:16:48 +00:00
|
|
|
"byteorder",
|
2021-03-04 00:00:51 +00:00
|
|
|
"generic-array 0.12.4",
|
2020-07-01 08:01:03 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "block-buffer"
|
2020-07-06 01:55:56 +00:00
|
|
|
version = "0.9.0"
|
2020-07-01 08:01:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-06 01:55:56 +00:00
|
|
|
checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4"
|
2020-07-01 08:01:03 +00:00
|
|
|
dependencies = [
|
2020-08-27 07:04:12 +00:00
|
|
|
"block-padding 0.2.1",
|
2020-08-18 11:23:08 +00:00
|
|
|
"generic-array 0.14.4",
|
2020-07-01 08:01:03 +00:00
|
|
|
]
|
|
|
|
|
2020-10-05 07:45:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "block-cipher"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f337a3e6da609650eb74e02bc9fac7b735049f7623ab12f2e4c719316fcc7e80"
|
|
|
|
dependencies = [
|
|
|
|
"generic-array 0.14.4",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "block-padding"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"byte-tools",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-08-27 07:04:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "block-padding"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae"
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "blocking"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c5e170dbede1f740736619b776d7251cb1b9095c435c34d8ca9f57fcd2f335e9"
|
|
|
|
dependencies = [
|
|
|
|
"async-channel",
|
|
|
|
"async-task",
|
|
|
|
"atomic-waker",
|
|
|
|
"fastrand",
|
|
|
|
"futures-lite",
|
|
|
|
"once_cell",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bls"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"arbitrary",
|
2020-07-25 02:03:18 +00:00
|
|
|
"blst",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_hashing",
|
|
|
|
"eth2_ssz",
|
2020-07-25 02:03:18 +00:00
|
|
|
"ethereum-types",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-05-10 09:56:31 +00:00
|
|
|
"milagro_bls",
|
|
|
|
"rand 0.7.3",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
2020-09-29 03:46:54 +00:00
|
|
|
"serde_utils",
|
2020-05-10 09:56:31 +00:00
|
|
|
"tree_hash",
|
2020-05-19 01:23:08 +00:00
|
|
|
"zeroize",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-07-25 02:03:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "blst"
|
2021-03-08 05:19:30 +00:00
|
|
|
version = "0.3.3"
|
2020-11-28 06:41:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 05:19:30 +00:00
|
|
|
checksum = "dd7cb1b48c09ac759808ad27811ca44e27c037d309f837651fc80506bc19819f"
|
2020-07-25 02:03:18 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"glob",
|
|
|
|
"threadpool",
|
2020-11-28 06:41:32 +00:00
|
|
|
"zeroize",
|
2020-07-25 02:03:18 +00:00
|
|
|
]
|
|
|
|
|
2020-06-19 06:30:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "boot_node"
|
2021-03-30 04:07:03 +00:00
|
|
|
version = "1.2.2"
|
2020-06-19 06:30:07 +00:00
|
|
|
dependencies = [
|
2020-08-21 12:00:01 +00:00
|
|
|
"beacon_node",
|
2020-06-19 06:30:07 +00:00
|
|
|
"clap",
|
|
|
|
"eth2_libp2p",
|
2020-12-08 05:41:10 +00:00
|
|
|
"eth2_network_config",
|
2020-09-29 08:28:29 +00:00
|
|
|
"eth2_ssz",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-06-19 06:30:07 +00:00
|
|
|
"logging",
|
|
|
|
"slog",
|
|
|
|
"slog-async",
|
|
|
|
"slog-scope",
|
|
|
|
"slog-stdlog",
|
|
|
|
"slog-term",
|
|
|
|
"sloggers",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-09-29 08:28:29 +00:00
|
|
|
"types",
|
2020-06-19 06:30:07 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bs58"
|
2020-04-21 15:05:46 +00:00
|
|
|
version = "0.3.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "476e9cd489f9e121e02ffa6014a8ef220ecb15c05ed23fc34cca13925dc283fb"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-11-13 06:06:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bs58"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bstr"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.2.15"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "a40b47ad93e1a5404e6c18dec46b628214fee441c70f4ab5d6942142cc268a3d"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
|
|
|
"memchr",
|
|
|
|
"regex-automata",
|
|
|
|
"serde",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-09-29 03:46:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "buf_redux"
|
|
|
|
version = "0.8.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b953a6887648bb07a535631f2bc00fbdb2a2216f135552cb3f534ed136b9c07f"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
"safemem",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bumpalo"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "3.6.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "63396b8a4b9de3f4fdfb320ab6080762242f66a8ef174c49d8e19b674db4cdbe"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "byte-slice-cast"
|
2020-01-03 06:56:03 +00:00
|
|
|
version = "0.3.5"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "b0a5e3906bcbf133e33c1d4d95afc664ad37fbdb9f6568d8043e7ea8c27d93d3"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "byte-tools"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "byteorder"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.3.4"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bytes"
|
2020-07-21 00:54:47 +00:00
|
|
|
version = "0.5.6"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-21 00:54:47 +00:00
|
|
|
checksum = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38"
|
2020-05-17 11:16:48 +00:00
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bytes"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e0dcbc35f504eb6fc275a6d20e4ebcda18cf50d40ba6fabff8c711fa16cb3b16"
|
|
|
|
|
2021-02-10 23:29:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bytes"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040"
|
|
|
|
|
2020-09-11 01:43:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bzip2"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "42b7c3cbf0fa9c1b82308d57191728ca0256cb821220f4e2fd410a72ade26e3b"
|
|
|
|
dependencies = [
|
|
|
|
"bzip2-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bzip2-sys"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.1.10+1.0.8"
|
2020-09-11 01:43:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "17fa3d1ac1ca21c5c4e36a97f3c3eb25084576f6fc47bf0139c1123434216c6c"
|
2020-09-11 01:43:13 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"pkg-config",
|
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cache-padded"
|
|
|
|
version = "1.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cached_tree_hash"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_hashing",
|
|
|
|
"eth2_ssz",
|
|
|
|
"eth2_ssz_derive",
|
|
|
|
"eth2_ssz_types",
|
|
|
|
"ethereum-types",
|
|
|
|
"quickcheck",
|
|
|
|
"quickcheck_macros",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2020-05-10 09:56:31 +00:00
|
|
|
"tree_hash",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cast"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "4b9434b9a5aa1450faa3f9cb14ea0e8c53bb5d2b3c1bfd1ab4fc03e9f33fbfb0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"rustc_version",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cc"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.0.67"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "e3c69b077ad434294d3ce9f1f6143a2a4b89a8a2d54ef813d85003a4fd1137fd"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
|
|
|
version = "0.1.10"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-10-23 04:16:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
2020-06-29 10:25:42 +00:00
|
|
|
name = "chacha20"
|
2020-10-05 07:45:54 +00:00
|
|
|
version = "0.5.0"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 07:45:54 +00:00
|
|
|
checksum = "244fbce0d47e97e8ef2f63b81d5e05882cb518c68531eb33194990d7b7e85845"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
2020-08-08 02:17:32 +00:00
|
|
|
"stream-cipher",
|
2020-06-29 10:25:42 +00:00
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "chacha20poly1305"
|
2020-10-05 07:45:54 +00:00
|
|
|
version = "0.6.0"
|
2020-06-29 10:25:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 07:45:54 +00:00
|
|
|
checksum = "9bf18d374d66df0c05cdddd528a7db98f78c28e2519b120855c4f84c5027b1f5"
|
2020-06-29 10:25:42 +00:00
|
|
|
dependencies = [
|
|
|
|
"aead",
|
|
|
|
"chacha20",
|
|
|
|
"poly1305",
|
2020-08-08 02:17:32 +00:00
|
|
|
"stream-cipher",
|
2020-06-29 10:25:42 +00:00
|
|
|
"zeroize",
|
2020-05-17 11:16:48 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "chrono"
|
2020-10-05 07:45:54 +00:00
|
|
|
version = "0.4.19"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 07:45:54 +00:00
|
|
|
checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-09-26 06:35:45 +00:00
|
|
|
"libc",
|
2020-05-10 09:56:31 +00:00
|
|
|
"num-integer",
|
|
|
|
"num-traits",
|
2021-02-10 23:29:49 +00:00
|
|
|
"time 0.1.43",
|
2020-09-26 06:35:45 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cipher"
|
|
|
|
version = "0.2.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801"
|
|
|
|
dependencies = [
|
|
|
|
"generic-array 0.14.4",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clap"
|
2020-08-18 11:23:08 +00:00
|
|
|
version = "2.33.3"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-18 11:23:08 +00:00
|
|
|
checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-10-23 04:16:33 +00:00
|
|
|
"ansi_term 0.11.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"atty",
|
2020-12-09 01:34:58 +00:00
|
|
|
"bitflags",
|
2020-12-28 23:38:02 +00:00
|
|
|
"strsim",
|
2020-05-10 09:56:31 +00:00
|
|
|
"textwrap",
|
|
|
|
"unicode-width",
|
|
|
|
"vec_map",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-04-19 02:20:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clap_utils"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"clap",
|
2020-10-05 08:22:19 +00:00
|
|
|
"dirs 3.0.1",
|
2020-12-08 05:41:10 +00:00
|
|
|
"eth2_network_config",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_ssz",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-05-10 09:56:31 +00:00
|
|
|
"types",
|
2020-04-19 02:20:43 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "client"
|
2020-08-06 03:43:05 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"beacon_chain",
|
2020-09-29 00:02:44 +00:00
|
|
|
"directory",
|
2020-10-05 08:22:19 +00:00
|
|
|
"dirs 3.0.1",
|
2020-05-10 09:56:31 +00:00
|
|
|
"environment",
|
|
|
|
"error-chain",
|
|
|
|
"eth1",
|
|
|
|
"eth2_config",
|
2020-06-19 04:13:23 +00:00
|
|
|
"eth2_libp2p",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_ssz",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-05-10 09:56:31 +00:00
|
|
|
"genesis",
|
2020-09-29 03:46:54 +00:00
|
|
|
"http_api",
|
|
|
|
"http_metrics",
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
|
|
|
"lighthouse_metrics",
|
|
|
|
"network",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-05-10 09:56:31 +00:00
|
|
|
"prometheus",
|
|
|
|
"reqwest",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_yaml",
|
2020-11-23 03:43:22 +00:00
|
|
|
"slasher",
|
2020-12-16 03:44:01 +00:00
|
|
|
"slasher_service",
|
2020-05-10 09:56:31 +00:00
|
|
|
"slog",
|
|
|
|
"slog-async",
|
|
|
|
"sloggers",
|
|
|
|
"slot_clock",
|
|
|
|
"store",
|
2020-10-05 07:45:54 +00:00
|
|
|
"task_executor",
|
2021-03-02 05:59:49 +00:00
|
|
|
"time 0.2.25",
|
2020-05-10 09:56:31 +00:00
|
|
|
"timer",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"toml",
|
|
|
|
"tree_hash",
|
|
|
|
"types",
|
2020-12-09 01:34:58 +00:00
|
|
|
"url",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-06-06 06:39:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cmake"
|
2020-11-18 00:44:28 +00:00
|
|
|
version = "0.1.45"
|
2020-06-06 06:39:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-18 00:44:28 +00:00
|
|
|
checksum = "eb6210b637171dfba4cda12e579ac6dc73f5165ad56133e5d72ef3131f320855"
|
2020-06-06 06:39:42 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "colored"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "1.9.3"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "f4ffc801dacf156c5854b9df4f425a626539c3a6ef7893cc0c5084a23f0b6c59"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"atty",
|
|
|
|
"lazy_static",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "compare_fields"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"compare_fields_derive",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "compare_fields_derive"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "concurrent-queue"
|
|
|
|
version = "1.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "30ed07550be01594c6026cff2a1d7fe9c8f683caa798e12b68694ac9e88286a3"
|
|
|
|
dependencies = [
|
|
|
|
"cache-padded",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "console_error_panic_hook"
|
|
|
|
version = "0.1.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "b8d976903543e0c48546a91908f21588a680a8c8f984df9a5d69feccb2b2a211"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-10-23 04:16:33 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-05-10 09:56:31 +00:00
|
|
|
"wasm-bindgen",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-10-23 04:16:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "const-oid"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "0.4.5"
|
2020-10-23 04:16:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "9f6b64db6932c7e49332728e3a6bd82c6b7e16016607d20923b537c3bc4c0d5f"
|
2020-10-23 04:16:33 +00:00
|
|
|
|
2020-09-07 06:47:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "const_fn"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.4.5"
|
2020-09-07 06:47:05 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "28b9d6de7f49e22cf97ad17fc4036ece69300032f45f78f30b4a4482cdc3f4a6"
|
2020-09-07 06:47:05 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "constant_time_eq"
|
2020-01-15 04:50:01 +00:00
|
|
|
version = "0.1.5"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "core-foundation"
|
2020-11-06 04:14:14 +00:00
|
|
|
version = "0.9.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-06 04:14:14 +00:00
|
|
|
checksum = "0a89e2ae426ea83155dccf10c0fa6b1463ef6d5fcb44cee0b224a408fa640a62"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "core-foundation-sys"
|
2020-11-06 04:14:14 +00:00
|
|
|
version = "0.8.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-06 04:14:14 +00:00
|
|
|
checksum = "ea221b5284a47e40033bf9b66f35f984ec0ea2931eb03505246cd27a963f981b"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-07-06 01:55:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cpuid-bool"
|
2020-07-23 12:30:43 +00:00
|
|
|
version = "0.1.2"
|
2020-07-06 01:55:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-23 12:30:43 +00:00
|
|
|
checksum = "8aebca1129a03dc6dc2b127edd729435bbc4a37e1d5f4d7513165089ceb02634"
|
2020-07-06 01:55:56 +00:00
|
|
|
|
2020-12-10 04:01:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cpuid-bool"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dcb25d077389e53838a8158c8e99174c5a9d902dee4904320db714f3c653ffba"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crc32fast"
|
2020-10-23 04:16:33 +00:00
|
|
|
version = "1.2.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 04:16:33 +00:00
|
|
|
checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-10-23 04:16:33 +00:00
|
|
|
"cfg-if 1.0.0",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "criterion"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.4"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "ab327ed7354547cc2ef43cbe20ef68b988e70b4b593cbd66a2a61733123a3d23"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"atty",
|
|
|
|
"cast",
|
|
|
|
"clap",
|
|
|
|
"criterion-plot",
|
|
|
|
"csv",
|
2021-03-02 05:59:49 +00:00
|
|
|
"itertools 0.10.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
|
|
|
"num-traits",
|
|
|
|
"oorandom",
|
|
|
|
"plotters",
|
|
|
|
"rayon",
|
|
|
|
"regex",
|
|
|
|
"serde",
|
2020-07-06 01:55:56 +00:00
|
|
|
"serde_cbor",
|
2020-05-10 09:56:31 +00:00
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"tinytemplate",
|
|
|
|
"walkdir",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "criterion-plot"
|
2020-07-06 01:55:56 +00:00
|
|
|
version = "0.4.3"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-06 01:55:56 +00:00
|
|
|
checksum = "e022feadec601fba1649cfa83586381a4ad31c6bf3a9ab7d408118b05dd9889d"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"cast",
|
2021-03-02 05:59:49 +00:00
|
|
|
"itertools 0.9.0",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
name = "crossbeam-channel"
|
2020-10-23 04:16:33 +00:00
|
|
|
version = "0.5.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 04:16:33 +00:00
|
|
|
checksum = "dca26ee1f8d361640700bde38b2c37d8c22b3ce2d360e1fc1c74ea4b0aa7d775"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-10-23 04:16:33 +00:00
|
|
|
"cfg-if 1.0.0",
|
2021-02-10 23:29:49 +00:00
|
|
|
"crossbeam-utils",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-10-23 04:16:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-deque"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
2020-12-09 01:34:58 +00:00
|
|
|
"crossbeam-epoch",
|
2021-02-10 23:29:49 +00:00
|
|
|
"crossbeam-utils",
|
2020-10-23 04:16:33 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-epoch"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.9.3"
|
2020-10-23 04:16:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "2584f639eb95fea8c798496315b297cf81b9b58b6d30ab066a75455333cf4b12"
|
2020-10-23 04:16:33 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
2021-02-10 23:29:49 +00:00
|
|
|
"crossbeam-utils",
|
2020-10-23 04:16:33 +00:00
|
|
|
"lazy_static",
|
2020-12-09 01:34:58 +00:00
|
|
|
"memoffset",
|
2020-10-23 04:16:33 +00:00
|
|
|
"scopeguard",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-utils"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.8.3"
|
2020-10-23 04:16:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "e7e9d99fa91428effe99c5c6d4634cdeba32b8cf784fc428a2a687f61a952c49"
|
2020-10-23 04:16:33 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg 1.0.1",
|
|
|
|
"cfg-if 1.0.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crunchy"
|
|
|
|
version = "0.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crypto-mac"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "4434400df11d95d556bac068ddfedd482915eb18fe8bea89bc80b6e4b1c179e5"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-03-04 00:00:51 +00:00
|
|
|
"generic-array 0.12.4",
|
2020-05-10 09:56:31 +00:00
|
|
|
"subtle 1.0.0",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-07-01 08:01:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crypto-mac"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab"
|
|
|
|
dependencies = [
|
2020-08-18 11:23:08 +00:00
|
|
|
"generic-array 0.14.4",
|
2020-12-23 07:53:36 +00:00
|
|
|
"subtle 2.4.0",
|
2020-07-01 08:01:03 +00:00
|
|
|
]
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crypto-mac"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4857fd85a0c34b3c3297875b747c1e02e06b6a0ea32dd892d8192b9ce0813ea6"
|
|
|
|
dependencies = [
|
|
|
|
"generic-array 0.14.4",
|
2020-12-23 07:53:36 +00:00
|
|
|
"subtle 2.4.0",
|
2020-11-28 05:30:57 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "csv"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "1.1.6"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"bstr",
|
|
|
|
"csv-core",
|
|
|
|
"itoa",
|
|
|
|
"ryu",
|
|
|
|
"serde",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "csv-core"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.1.10"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"memchr",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2021-03-02 05:59:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ctor"
|
|
|
|
version = "0.1.19"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e8f45d9ad417bcef4817d614a501ab55cdd96a6fdb24f49aab89a54acfd66b19"
|
|
|
|
dependencies = [
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ctr"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fb4a30d54f7443bf3d6191dcd486aca19e67cb3c49fa7a06a319966346707e7f"
|
|
|
|
dependencies = [
|
|
|
|
"cipher",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ctrlc"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "3.1.8"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "c15b8ec3b5755a188c141c1f6a98e76de31b936209bf066b647979e2a84764a9"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"nix 0.20.0",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "curl"
|
|
|
|
version = "0.4.34"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e268162af1a5fe89917ae25ba3b0a77c8da752bdc58e7dbb4f15b91fbd33756e"
|
|
|
|
dependencies = [
|
|
|
|
"curl-sys",
|
|
|
|
"libc",
|
|
|
|
"openssl-probe",
|
|
|
|
"openssl-sys",
|
|
|
|
"schannel",
|
|
|
|
"socket2",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "curl-sys"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.4.40+curl-7.75.0"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "2ffafc1c35958318bd7fdd0582995ce4c72f4f461a8e70499ccee83a619fd562"
|
2020-11-19 04:04:52 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"libnghttp2-sys",
|
|
|
|
"libz-sys",
|
|
|
|
"openssl-sys",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2020-08-21 12:00:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "curve25519-dalek"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "3.0.2"
|
2020-08-21 12:00:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "f627126b946c25a4638eec0ea634fc52506dea98db118aae985118ce7c3d723f"
|
2020-08-21 12:00:01 +00:00
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"digest 0.9.0",
|
|
|
|
"rand_core 0.5.1",
|
2020-12-23 07:53:36 +00:00
|
|
|
"subtle 2.4.0",
|
2020-08-21 12:00:01 +00:00
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2020-05-29 02:03:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "darwin-libproc"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9fb90051930c9a0f09e585762152048e23ac74d20c10590ef7cf01c0343c3046"
|
|
|
|
dependencies = [
|
|
|
|
"darwin-libproc-sys",
|
|
|
|
"libc",
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "darwin-libproc-sys"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "57cebb5bde66eecdd30ddc4b9cd208238b15db4982ccc72db59d699ea10867c1"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "data-encoding"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "2.3.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "db-key"
|
|
|
|
version = "0.0.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "b72465f46d518f6015d9cf07f7f3013a95dd6b9c2747c3d65ae0cce43929d14f"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "deposit_contract"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_ssz",
|
|
|
|
"ethabi",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-05-10 09:56:31 +00:00
|
|
|
"reqwest",
|
|
|
|
"serde_json",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
2020-05-10 09:56:31 +00:00
|
|
|
"tree_hash",
|
|
|
|
"types",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2021-02-10 23:29:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "der"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "51f59c66c30bb7445c8320a5f9233e437e3572368099f25532a59054328899b4"
|
|
|
|
dependencies = [
|
|
|
|
"const-oid",
|
|
|
|
]
|
|
|
|
|
2020-06-18 11:06:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "derivative"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "2.2.0"
|
2020-06-18 11:06:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b"
|
2020-06-18 11:06:34 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
2020-05-05 23:12:28 +00:00
|
|
|
name = "derive_arbitrary"
|
2020-10-23 04:16:33 +00:00
|
|
|
version = "0.4.7"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 04:16:33 +00:00
|
|
|
checksum = "b1a012b5e473dc912f0db0546a1c9c6a194ce8494feb66fa0237160926f9e0e6"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-04-19 02:20:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "derive_more"
|
2020-10-05 07:45:54 +00:00
|
|
|
version = "0.99.11"
|
2020-04-19 02:20:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 07:45:54 +00:00
|
|
|
checksum = "41cb0e6161ad61ed084a36ba71fbba9e3ac5aee3606fb607fe08da6acbcf3d8c"
|
2020-04-19 02:20:43 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-04-19 02:20:43 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "diff"
|
|
|
|
version = "0.1.12"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "difference"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "digest"
|
|
|
|
version = "0.8.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-03-04 00:00:51 +00:00
|
|
|
"generic-array 0.12.4",
|
2020-07-01 08:01:03 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "digest"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"
|
|
|
|
dependencies = [
|
2020-08-18 11:23:08 +00:00
|
|
|
"generic-array 0.14.4",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-09-29 00:02:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "directory"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"clap",
|
|
|
|
"clap_utils",
|
2020-10-05 08:22:19 +00:00
|
|
|
"dirs 3.0.1",
|
2020-12-08 05:41:10 +00:00
|
|
|
"eth2_network_config",
|
2020-09-29 00:02:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dirs"
|
|
|
|
version = "1.0.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3fd78930633bd1c6e35c4b42b1df7b0cbc6bc191146e512bb3bedf243fcc3901"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2021-03-02 05:59:49 +00:00
|
|
|
"redox_users 0.3.5",
|
2020-11-19 04:04:52 +00:00
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dirs"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "3.0.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "142995ed02755914747cc6ca76fc7e4583cd18578746716d0508ea6ed558b9ff"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"dirs-sys",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-10-05 08:22:19 +00:00
|
|
|
[[package]]
|
2021-03-02 05:59:49 +00:00
|
|
|
name = "dirs-next"
|
|
|
|
version = "2.0.0"
|
2020-10-05 08:22:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
|
2020-10-05 08:22:19 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"dirs-sys-next",
|
2020-10-05 08:22:19 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dirs-sys"
|
2020-07-06 01:55:56 +00:00
|
|
|
version = "0.3.5"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-06 01:55:56 +00:00
|
|
|
checksum = "8e93d7f5705de3e49895a2b5e0b8855a1c27f080192ae9c32a6432d50741a57a"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"libc",
|
2021-03-02 05:59:49 +00:00
|
|
|
"redox_users 0.3.5",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "dirs-sys-next"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"redox_users 0.4.0",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-26 03:25:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "discard"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0"
|
|
|
|
|
Handle early blocks (#2155)
## Issue Addressed
NA
## Problem this PR addresses
There's an issue where Lighthouse is banning a lot of peers due to the following sequence of events:
1. Gossip block 0xabc arrives ~200ms early
- It is propagated across the network, with respect to [`MAXIMUM_GOSSIP_CLOCK_DISPARITY`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/p2p-interface.md#why-is-there-maximum_gossip_clock_disparity-when-validating-slot-ranges-of-messages-in-gossip-subnets).
- However, it is not imported to our database since the block is early.
2. Attestations for 0xabc arrive, but the block was not imported.
- The peer that sent the attestation is down-voted.
- Each unknown-block attestation causes a score loss of 1, the peer is banned at -100.
- When the peer is on an attestation subnet there can be hundreds of attestations, so the peer is banned quickly (before the missed block can be obtained via rpc).
## Potential solutions
I can think of three solutions to this:
1. Wait for attestation-queuing (#635) to arrive and solve this.
- Easy
- Not immediate fix.
- Whilst this would work, I don't think it's a perfect solution for this particular issue, rather (3) is better.
1. Allow importing blocks with a tolerance of `MAXIMUM_GOSSIP_CLOCK_DISPARITY`.
- Easy
- ~~I have implemented this, for now.~~
1. If a block is verified for gossip propagation (i.e., signature verified) and it's within `MAXIMUM_GOSSIP_CLOCK_DISPARITY`, then queue it to be processed at the start of the appropriate slot.
- More difficult
- Feels like the best solution, I will try to implement this.
**This PR takes approach (3).**
## Changes included
- Implement the `block_delay_queue`, based upon a [`DelayQueue`](https://docs.rs/tokio-util/0.6.3/tokio_util/time/delay_queue/struct.DelayQueue.html) which can store blocks until it's time to import them.
- Add a new `DelayedImportBlock` variant to the `beacon_processor::WorkEvent` enum to handle this new event.
- In the `BeaconProcessor`, refactor a `tokio::select!` to a struct with an explicit `Stream` implementation. I experienced some issues with `tokio::select!` in the block delay queue and I also found it hard to debug. I think this explicit implementation is nicer and functionally equivalent (apart from the fact that `tokio::select!` randomly chooses futures to poll, whereas now we're deterministic).
- Add a testing framework to the `beacon_processor` module that tests this new block delay logic. I also tested a handful of other operations in the beacon processor (attns, slashings, exits) since it was super easy to copy-pasta the code from the `http_api` tester.
- To implement these tests I added the concept of an optional `work_journal_tx` to the `BeaconProcessor` which will spit out a log of events. I used this in the tests to ensure that things were happening as I expect.
- The tests are a little racey, but it's hard to avoid that when testing timing-based code. If we see CI failures I can revise. I haven't observed *any* failures due to races on my machine or on CI yet.
- To assist with testing I allowed for directly setting the time on the `ManualSlotClock`.
- I gave the `beacon_processor::Worker` a `Toolbox` for two reasons; (a) it avoids changing tons of function sigs when you want to pass a new object to the worker and (b) it seemed cute.
2021-02-24 03:08:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "discv5"
|
|
|
|
version = "0.1.0-beta.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f6f52d2228d51e8f868a37d5b5b25b82c13552b635d5b47c3a5d53855a6fc4f0"
|
|
|
|
dependencies = [
|
|
|
|
"aes-ctr",
|
|
|
|
"aes-gcm 0.8.0",
|
|
|
|
"arrayvec",
|
|
|
|
"digest 0.9.0",
|
|
|
|
"enr",
|
|
|
|
"fnv",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
Handle early blocks (#2155)
## Issue Addressed
NA
## Problem this PR addresses
There's an issue where Lighthouse is banning a lot of peers due to the following sequence of events:
1. Gossip block 0xabc arrives ~200ms early
- It is propagated across the network, with respect to [`MAXIMUM_GOSSIP_CLOCK_DISPARITY`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/p2p-interface.md#why-is-there-maximum_gossip_clock_disparity-when-validating-slot-ranges-of-messages-in-gossip-subnets).
- However, it is not imported to our database since the block is early.
2. Attestations for 0xabc arrive, but the block was not imported.
- The peer that sent the attestation is down-voted.
- Each unknown-block attestation causes a score loss of 1, the peer is banned at -100.
- When the peer is on an attestation subnet there can be hundreds of attestations, so the peer is banned quickly (before the missed block can be obtained via rpc).
## Potential solutions
I can think of three solutions to this:
1. Wait for attestation-queuing (#635) to arrive and solve this.
- Easy
- Not immediate fix.
- Whilst this would work, I don't think it's a perfect solution for this particular issue, rather (3) is better.
1. Allow importing blocks with a tolerance of `MAXIMUM_GOSSIP_CLOCK_DISPARITY`.
- Easy
- ~~I have implemented this, for now.~~
1. If a block is verified for gossip propagation (i.e., signature verified) and it's within `MAXIMUM_GOSSIP_CLOCK_DISPARITY`, then queue it to be processed at the start of the appropriate slot.
- More difficult
- Feels like the best solution, I will try to implement this.
**This PR takes approach (3).**
## Changes included
- Implement the `block_delay_queue`, based upon a [`DelayQueue`](https://docs.rs/tokio-util/0.6.3/tokio_util/time/delay_queue/struct.DelayQueue.html) which can store blocks until it's time to import them.
- Add a new `DelayedImportBlock` variant to the `beacon_processor::WorkEvent` enum to handle this new event.
- In the `BeaconProcessor`, refactor a `tokio::select!` to a struct with an explicit `Stream` implementation. I experienced some issues with `tokio::select!` in the block delay queue and I also found it hard to debug. I think this explicit implementation is nicer and functionally equivalent (apart from the fact that `tokio::select!` randomly chooses futures to poll, whereas now we're deterministic).
- Add a testing framework to the `beacon_processor` module that tests this new block delay logic. I also tested a handful of other operations in the beacon processor (attns, slashings, exits) since it was super easy to copy-pasta the code from the `http_api` tester.
- To implement these tests I added the concept of an optional `work_journal_tx` to the `BeaconProcessor` which will spit out a log of events. I used this in the tests to ensure that things were happening as I expect.
- The tests are a little racey, but it's hard to avoid that when testing timing-based code. If we see CI failures I can revise. I haven't observed *any* failures due to races on my machine or on CI yet.
- To assist with testing I allowed for directly setting the time on the `ManualSlotClock`.
- I gave the `beacon_processor::Worker` a `Toolbox` for two reasons; (a) it avoids changing tons of function sigs when you want to pass a new object to the worker and (b) it seemed cute.
2021-02-24 03:08:52 +00:00
|
|
|
"hex",
|
|
|
|
"hkdf",
|
|
|
|
"k256",
|
|
|
|
"lazy_static",
|
|
|
|
"lru_time_cache",
|
|
|
|
"parking_lot",
|
|
|
|
"rand 0.7.3",
|
|
|
|
"rlp 0.5.0",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
Handle early blocks (#2155)
## Issue Addressed
NA
## Problem this PR addresses
There's an issue where Lighthouse is banning a lot of peers due to the following sequence of events:
1. Gossip block 0xabc arrives ~200ms early
- It is propagated across the network, with respect to [`MAXIMUM_GOSSIP_CLOCK_DISPARITY`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/p2p-interface.md#why-is-there-maximum_gossip_clock_disparity-when-validating-slot-ranges-of-messages-in-gossip-subnets).
- However, it is not imported to our database since the block is early.
2. Attestations for 0xabc arrive, but the block was not imported.
- The peer that sent the attestation is down-voted.
- Each unknown-block attestation causes a score loss of 1, the peer is banned at -100.
- When the peer is on an attestation subnet there can be hundreds of attestations, so the peer is banned quickly (before the missed block can be obtained via rpc).
## Potential solutions
I can think of three solutions to this:
1. Wait for attestation-queuing (#635) to arrive and solve this.
- Easy
- Not immediate fix.
- Whilst this would work, I don't think it's a perfect solution for this particular issue, rather (3) is better.
1. Allow importing blocks with a tolerance of `MAXIMUM_GOSSIP_CLOCK_DISPARITY`.
- Easy
- ~~I have implemented this, for now.~~
1. If a block is verified for gossip propagation (i.e., signature verified) and it's within `MAXIMUM_GOSSIP_CLOCK_DISPARITY`, then queue it to be processed at the start of the appropriate slot.
- More difficult
- Feels like the best solution, I will try to implement this.
**This PR takes approach (3).**
## Changes included
- Implement the `block_delay_queue`, based upon a [`DelayQueue`](https://docs.rs/tokio-util/0.6.3/tokio_util/time/delay_queue/struct.DelayQueue.html) which can store blocks until it's time to import them.
- Add a new `DelayedImportBlock` variant to the `beacon_processor::WorkEvent` enum to handle this new event.
- In the `BeaconProcessor`, refactor a `tokio::select!` to a struct with an explicit `Stream` implementation. I experienced some issues with `tokio::select!` in the block delay queue and I also found it hard to debug. I think this explicit implementation is nicer and functionally equivalent (apart from the fact that `tokio::select!` randomly chooses futures to poll, whereas now we're deterministic).
- Add a testing framework to the `beacon_processor` module that tests this new block delay logic. I also tested a handful of other operations in the beacon processor (attns, slashings, exits) since it was super easy to copy-pasta the code from the `http_api` tester.
- To implement these tests I added the concept of an optional `work_journal_tx` to the `BeaconProcessor` which will spit out a log of events. I used this in the tests to ensure that things were happening as I expect.
- The tests are a little racey, but it's hard to avoid that when testing timing-based code. If we see CI failures I can revise. I haven't observed *any* failures due to races on my machine or on CI yet.
- To assist with testing I allowed for directly setting the time on the `ManualSlotClock`.
- I gave the `beacon_processor::Worker` a `Toolbox` for two reasons; (a) it avoids changing tons of function sigs when you want to pass a new object to the worker and (b) it seemed cute.
2021-02-24 03:08:52 +00:00
|
|
|
"smallvec",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
Handle early blocks (#2155)
## Issue Addressed
NA
## Problem this PR addresses
There's an issue where Lighthouse is banning a lot of peers due to the following sequence of events:
1. Gossip block 0xabc arrives ~200ms early
- It is propagated across the network, with respect to [`MAXIMUM_GOSSIP_CLOCK_DISPARITY`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/p2p-interface.md#why-is-there-maximum_gossip_clock_disparity-when-validating-slot-ranges-of-messages-in-gossip-subnets).
- However, it is not imported to our database since the block is early.
2. Attestations for 0xabc arrive, but the block was not imported.
- The peer that sent the attestation is down-voted.
- Each unknown-block attestation causes a score loss of 1, the peer is banned at -100.
- When the peer is on an attestation subnet there can be hundreds of attestations, so the peer is banned quickly (before the missed block can be obtained via rpc).
## Potential solutions
I can think of three solutions to this:
1. Wait for attestation-queuing (#635) to arrive and solve this.
- Easy
- Not immediate fix.
- Whilst this would work, I don't think it's a perfect solution for this particular issue, rather (3) is better.
1. Allow importing blocks with a tolerance of `MAXIMUM_GOSSIP_CLOCK_DISPARITY`.
- Easy
- ~~I have implemented this, for now.~~
1. If a block is verified for gossip propagation (i.e., signature verified) and it's within `MAXIMUM_GOSSIP_CLOCK_DISPARITY`, then queue it to be processed at the start of the appropriate slot.
- More difficult
- Feels like the best solution, I will try to implement this.
**This PR takes approach (3).**
## Changes included
- Implement the `block_delay_queue`, based upon a [`DelayQueue`](https://docs.rs/tokio-util/0.6.3/tokio_util/time/delay_queue/struct.DelayQueue.html) which can store blocks until it's time to import them.
- Add a new `DelayedImportBlock` variant to the `beacon_processor::WorkEvent` enum to handle this new event.
- In the `BeaconProcessor`, refactor a `tokio::select!` to a struct with an explicit `Stream` implementation. I experienced some issues with `tokio::select!` in the block delay queue and I also found it hard to debug. I think this explicit implementation is nicer and functionally equivalent (apart from the fact that `tokio::select!` randomly chooses futures to poll, whereas now we're deterministic).
- Add a testing framework to the `beacon_processor` module that tests this new block delay logic. I also tested a handful of other operations in the beacon processor (attns, slashings, exits) since it was super easy to copy-pasta the code from the `http_api` tester.
- To implement these tests I added the concept of an optional `work_journal_tx` to the `BeaconProcessor` which will spit out a log of events. I used this in the tests to ensure that things were happening as I expect.
- The tests are a little racey, but it's hard to avoid that when testing timing-based code. If we see CI failures I can revise. I haven't observed *any* failures due to races on my machine or on CI yet.
- To assist with testing I allowed for directly setting the time on the `ManualSlotClock`.
- I gave the `beacon_processor::Worker` a `Toolbox` for two reasons; (a) it avoids changing tons of function sigs when you want to pass a new object to the worker and (b) it seemed cute.
2021-02-24 03:08:52 +00:00
|
|
|
"tokio-stream",
|
|
|
|
"tokio-util 0.6.3",
|
|
|
|
"tracing",
|
|
|
|
"tracing-subscriber",
|
|
|
|
"uint",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2020-10-23 04:16:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "discv5"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.1.0-beta.3"
|
2021-02-21 23:47:52 +00:00
|
|
|
source = "git+https://github.com/sigp/discv5?rev=02d2c896c66f8dc2b848c3996fedcd98e1dfec69#02d2c896c66f8dc2b848c3996fedcd98e1dfec69"
|
2020-10-23 04:16:33 +00:00
|
|
|
dependencies = [
|
2020-12-07 08:20:33 +00:00
|
|
|
"aes-ctr",
|
2020-11-28 05:30:57 +00:00
|
|
|
"aes-gcm 0.8.0",
|
|
|
|
"arrayvec",
|
|
|
|
"digest 0.9.0",
|
|
|
|
"enr",
|
|
|
|
"fnv",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-11-28 05:30:57 +00:00
|
|
|
"hex",
|
2020-12-07 08:20:33 +00:00
|
|
|
"hkdf",
|
2020-11-28 05:30:57 +00:00
|
|
|
"k256",
|
|
|
|
"lazy_static",
|
2021-02-10 23:29:49 +00:00
|
|
|
"libp2p-core",
|
2020-11-28 05:30:57 +00:00
|
|
|
"lru_time_cache",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-11-28 05:30:57 +00:00
|
|
|
"rand 0.7.3",
|
2021-02-10 23:29:49 +00:00
|
|
|
"rlp 0.5.0",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2021-02-10 23:29:49 +00:00
|
|
|
"tokio-stream",
|
|
|
|
"tokio-util 0.6.3",
|
2020-10-23 04:16:33 +00:00
|
|
|
"tracing",
|
|
|
|
"tracing-subscriber",
|
2020-05-17 11:16:48 +00:00
|
|
|
"uint",
|
|
|
|
"zeroize",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "dtoa"
|
2020-12-28 23:38:02 +00:00
|
|
|
version = "0.4.7"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-28 23:38:02 +00:00
|
|
|
checksum = "88d7ed2934d741c6b37e33e3832298e8850b53fd2d2bea03873375596c7cea4e"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-10-23 04:16:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ecdsa"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.10.2"
|
2020-10-23 04:16:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "41fbdb4ff710acb4db8ca29f93b897529ea6d6a45626d5183b47e012aa6ae7e4"
|
2020-10-23 04:16:33 +00:00
|
|
|
dependencies = [
|
|
|
|
"elliptic-curve",
|
2021-02-10 23:29:49 +00:00
|
|
|
"hmac 0.10.1",
|
2020-10-23 04:16:33 +00:00
|
|
|
"signature",
|
|
|
|
]
|
|
|
|
|
2020-07-21 00:54:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ed25519"
|
2020-10-23 04:16:33 +00:00
|
|
|
version = "1.0.3"
|
2020-07-21 00:54:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 04:16:33 +00:00
|
|
|
checksum = "37c66a534cbb46ab4ea03477eae19d5c22c01da8258030280b7bd9d8433fb6ef"
|
2020-07-21 00:54:47 +00:00
|
|
|
dependencies = [
|
|
|
|
"signature",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ed25519-dalek"
|
2020-09-22 04:45:15 +00:00
|
|
|
version = "1.0.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-22 04:45:15 +00:00
|
|
|
checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-10-05 07:45:54 +00:00
|
|
|
"curve25519-dalek",
|
2020-07-21 00:54:47 +00:00
|
|
|
"ed25519",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rand 0.7.3",
|
2020-07-21 00:54:47 +00:00
|
|
|
"serde",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
2020-07-21 00:54:47 +00:00
|
|
|
"zeroize",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ef_tests"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"bls",
|
|
|
|
"cached_tree_hash",
|
|
|
|
"compare_fields",
|
|
|
|
"eth2_ssz",
|
|
|
|
"eth2_ssz_derive",
|
|
|
|
"ethereum-types",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rayon",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_repr",
|
|
|
|
"serde_yaml",
|
|
|
|
"state_processing",
|
|
|
|
"swap_or_not_shuffle",
|
|
|
|
"tree_hash",
|
|
|
|
"tree_hash_derive",
|
|
|
|
"types",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "either"
|
2020-09-18 06:41:29 +00:00
|
|
|
version = "1.6.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-18 06:41:29 +00:00
|
|
|
checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-10-23 04:16:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "elliptic-curve"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.8.5"
|
2020-10-23 04:16:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "f2db227e61a43a34915680bdda462ec0e212095518020a88a1f91acd16092c39"
|
2020-10-23 04:16:33 +00:00
|
|
|
dependencies = [
|
2021-03-08 06:27:49 +00:00
|
|
|
"bitvec 0.18.5",
|
2020-10-23 04:16:33 +00:00
|
|
|
"digest 0.9.0",
|
|
|
|
"ff",
|
2021-03-02 05:59:49 +00:00
|
|
|
"funty",
|
2020-10-23 04:16:33 +00:00
|
|
|
"generic-array 0.14.4",
|
|
|
|
"group",
|
2021-02-10 23:29:49 +00:00
|
|
|
"pkcs8",
|
2020-10-23 04:16:33 +00:00
|
|
|
"rand_core 0.5.1",
|
2020-12-23 07:53:36 +00:00
|
|
|
"subtle 2.4.0",
|
2020-10-23 04:16:33 +00:00
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ena"
|
|
|
|
version = "0.14.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d7402b94a93c24e742487327a7cd839dc9d36fec9de9fb25b09f2dae459f36c3"
|
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-11-19 04:04:52 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "encoding_rs"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.8.28"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "80df024fbc5ac80f87dfef0d9f5209a252f2a497f7f42944cff24d8253cac065"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-11-02 23:55:15 +00:00
|
|
|
"cfg-if 1.0.0",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "enr"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.5.0"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "264237bc285638466aef78b954837d8a05371425cb21447d6e31db89d06d7a1b"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-07-06 01:55:56 +00:00
|
|
|
"base64 0.12.3",
|
2020-11-13 06:06:35 +00:00
|
|
|
"bs58 0.3.1",
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2020-05-10 09:56:31 +00:00
|
|
|
"ed25519-dalek",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-10-23 04:16:33 +00:00
|
|
|
"k256",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rand 0.7.3",
|
2021-02-10 23:29:49 +00:00
|
|
|
"rlp 0.5.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"serde",
|
2020-10-05 07:45:54 +00:00
|
|
|
"sha3",
|
2020-05-17 11:16:48 +00:00
|
|
|
"zeroize",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "env_logger"
|
|
|
|
version = "0.7.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36"
|
2020-12-07 08:20:33 +00:00
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-12-07 08:20:33 +00:00
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "env_logger"
|
Handle early blocks (#2155)
## Issue Addressed
NA
## Problem this PR addresses
There's an issue where Lighthouse is banning a lot of peers due to the following sequence of events:
1. Gossip block 0xabc arrives ~200ms early
- It is propagated across the network, with respect to [`MAXIMUM_GOSSIP_CLOCK_DISPARITY`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/p2p-interface.md#why-is-there-maximum_gossip_clock_disparity-when-validating-slot-ranges-of-messages-in-gossip-subnets).
- However, it is not imported to our database since the block is early.
2. Attestations for 0xabc arrive, but the block was not imported.
- The peer that sent the attestation is down-voted.
- Each unknown-block attestation causes a score loss of 1, the peer is banned at -100.
- When the peer is on an attestation subnet there can be hundreds of attestations, so the peer is banned quickly (before the missed block can be obtained via rpc).
## Potential solutions
I can think of three solutions to this:
1. Wait for attestation-queuing (#635) to arrive and solve this.
- Easy
- Not immediate fix.
- Whilst this would work, I don't think it's a perfect solution for this particular issue, rather (3) is better.
1. Allow importing blocks with a tolerance of `MAXIMUM_GOSSIP_CLOCK_DISPARITY`.
- Easy
- ~~I have implemented this, for now.~~
1. If a block is verified for gossip propagation (i.e., signature verified) and it's within `MAXIMUM_GOSSIP_CLOCK_DISPARITY`, then queue it to be processed at the start of the appropriate slot.
- More difficult
- Feels like the best solution, I will try to implement this.
**This PR takes approach (3).**
## Changes included
- Implement the `block_delay_queue`, based upon a [`DelayQueue`](https://docs.rs/tokio-util/0.6.3/tokio_util/time/delay_queue/struct.DelayQueue.html) which can store blocks until it's time to import them.
- Add a new `DelayedImportBlock` variant to the `beacon_processor::WorkEvent` enum to handle this new event.
- In the `BeaconProcessor`, refactor a `tokio::select!` to a struct with an explicit `Stream` implementation. I experienced some issues with `tokio::select!` in the block delay queue and I also found it hard to debug. I think this explicit implementation is nicer and functionally equivalent (apart from the fact that `tokio::select!` randomly chooses futures to poll, whereas now we're deterministic).
- Add a testing framework to the `beacon_processor` module that tests this new block delay logic. I also tested a handful of other operations in the beacon processor (attns, slashings, exits) since it was super easy to copy-pasta the code from the `http_api` tester.
- To implement these tests I added the concept of an optional `work_journal_tx` to the `BeaconProcessor` which will spit out a log of events. I used this in the tests to ensure that things were happening as I expect.
- The tests are a little racey, but it's hard to avoid that when testing timing-based code. If we see CI failures I can revise. I haven't observed *any* failures due to races on my machine or on CI yet.
- To assist with testing I allowed for directly setting the time on the `ManualSlotClock`.
- I gave the `beacon_processor::Worker` a `Toolbox` for two reasons; (a) it avoids changing tons of function sigs when you want to pass a new object to the worker and (b) it seemed cute.
2021-02-24 03:08:52 +00:00
|
|
|
version = "0.8.3"
|
2020-12-07 08:20:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
Handle early blocks (#2155)
## Issue Addressed
NA
## Problem this PR addresses
There's an issue where Lighthouse is banning a lot of peers due to the following sequence of events:
1. Gossip block 0xabc arrives ~200ms early
- It is propagated across the network, with respect to [`MAXIMUM_GOSSIP_CLOCK_DISPARITY`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/p2p-interface.md#why-is-there-maximum_gossip_clock_disparity-when-validating-slot-ranges-of-messages-in-gossip-subnets).
- However, it is not imported to our database since the block is early.
2. Attestations for 0xabc arrive, but the block was not imported.
- The peer that sent the attestation is down-voted.
- Each unknown-block attestation causes a score loss of 1, the peer is banned at -100.
- When the peer is on an attestation subnet there can be hundreds of attestations, so the peer is banned quickly (before the missed block can be obtained via rpc).
## Potential solutions
I can think of three solutions to this:
1. Wait for attestation-queuing (#635) to arrive and solve this.
- Easy
- Not immediate fix.
- Whilst this would work, I don't think it's a perfect solution for this particular issue, rather (3) is better.
1. Allow importing blocks with a tolerance of `MAXIMUM_GOSSIP_CLOCK_DISPARITY`.
- Easy
- ~~I have implemented this, for now.~~
1. If a block is verified for gossip propagation (i.e., signature verified) and it's within `MAXIMUM_GOSSIP_CLOCK_DISPARITY`, then queue it to be processed at the start of the appropriate slot.
- More difficult
- Feels like the best solution, I will try to implement this.
**This PR takes approach (3).**
## Changes included
- Implement the `block_delay_queue`, based upon a [`DelayQueue`](https://docs.rs/tokio-util/0.6.3/tokio_util/time/delay_queue/struct.DelayQueue.html) which can store blocks until it's time to import them.
- Add a new `DelayedImportBlock` variant to the `beacon_processor::WorkEvent` enum to handle this new event.
- In the `BeaconProcessor`, refactor a `tokio::select!` to a struct with an explicit `Stream` implementation. I experienced some issues with `tokio::select!` in the block delay queue and I also found it hard to debug. I think this explicit implementation is nicer and functionally equivalent (apart from the fact that `tokio::select!` randomly chooses futures to poll, whereas now we're deterministic).
- Add a testing framework to the `beacon_processor` module that tests this new block delay logic. I also tested a handful of other operations in the beacon processor (attns, slashings, exits) since it was super easy to copy-pasta the code from the `http_api` tester.
- To implement these tests I added the concept of an optional `work_journal_tx` to the `BeaconProcessor` which will spit out a log of events. I used this in the tests to ensure that things were happening as I expect.
- The tests are a little racey, but it's hard to avoid that when testing timing-based code. If we see CI failures I can revise. I haven't observed *any* failures due to races on my machine or on CI yet.
- To assist with testing I allowed for directly setting the time on the `ManualSlotClock`.
- I gave the `beacon_processor::Worker` a `Toolbox` for two reasons; (a) it avoids changing tons of function sigs when you want to pass a new object to the worker and (b) it seemed cute.
2021-02-24 03:08:52 +00:00
|
|
|
checksum = "17392a012ea30ef05a610aa97dfb49496e71c9f676b27879922ea5bdf60d9d3f"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"atty",
|
|
|
|
"humantime",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-10 09:56:31 +00:00
|
|
|
"regex",
|
|
|
|
"termcolor",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "environment"
|
2020-05-18 05:05:23 +00:00
|
|
|
version = "0.1.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"ctrlc",
|
|
|
|
"eth2_config",
|
2020-12-08 05:41:10 +00:00
|
|
|
"eth2_network_config",
|
2020-06-04 11:48:05 +00:00
|
|
|
"exit-future",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-05-10 09:56:31 +00:00
|
|
|
"logging",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-05-10 09:56:31 +00:00
|
|
|
"slog",
|
|
|
|
"slog-async",
|
|
|
|
"slog-json",
|
|
|
|
"slog-term",
|
|
|
|
"sloggers",
|
2020-10-05 07:45:54 +00:00
|
|
|
"task_executor",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"types",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "error-chain"
|
2020-08-03 09:35:53 +00:00
|
|
|
version = "0.12.4"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-03 09:35:53 +00:00
|
|
|
checksum = "2d2f06b9cac1506ece98fe3231e3cc9c4410ec3d5b1f24ae1c8946f0742cdefc"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"backtrace",
|
2020-12-09 01:34:58 +00:00
|
|
|
"version_check",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "eth1"
|
2020-08-06 03:43:05 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"environment",
|
|
|
|
"eth1_test_rig",
|
2020-11-02 00:37:30 +00:00
|
|
|
"eth2",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_hashing",
|
|
|
|
"eth2_ssz",
|
|
|
|
"eth2_ssz_derive",
|
2020-11-27 08:37:44 +00:00
|
|
|
"fallback",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
|
|
|
"libflate",
|
|
|
|
"lighthouse_metrics",
|
|
|
|
"merkle_proof",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-05-10 09:56:31 +00:00
|
|
|
"reqwest",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"slog",
|
2020-05-17 11:16:48 +00:00
|
|
|
"sloggers",
|
2020-05-10 09:56:31 +00:00
|
|
|
"state_processing",
|
2020-10-05 07:45:54 +00:00
|
|
|
"task_executor",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-11-28 05:30:57 +00:00
|
|
|
"tokio-compat-02",
|
2020-05-10 09:56:31 +00:00
|
|
|
"toml",
|
|
|
|
"tree_hash",
|
|
|
|
"types",
|
|
|
|
"web3",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "eth1_test_rig"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"deposit_contract",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-05-10 09:56:31 +00:00
|
|
|
"serde_json",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-12-09 01:34:58 +00:00
|
|
|
"tokio-compat-02",
|
2020-05-10 09:56:31 +00:00
|
|
|
"types",
|
|
|
|
"web3",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-09-29 03:46:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "eth2"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-10-02 09:42:19 +00:00
|
|
|
"account_utils",
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2020-10-02 09:42:19 +00:00
|
|
|
"eth2_keystore",
|
2020-09-29 03:46:54 +00:00
|
|
|
"eth2_libp2p",
|
2020-10-22 06:05:49 +00:00
|
|
|
"eth2_ssz",
|
2020-11-02 00:37:30 +00:00
|
|
|
"eth2_ssz_derive",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-12-04 00:18:58 +00:00
|
|
|
"futures-util",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-10-02 09:42:19 +00:00
|
|
|
"libsecp256k1",
|
2020-09-29 03:46:54 +00:00
|
|
|
"procinfo",
|
|
|
|
"proto_array",
|
|
|
|
"psutil",
|
|
|
|
"reqwest",
|
2020-10-02 09:42:19 +00:00
|
|
|
"ring",
|
2020-09-29 03:46:54 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"serde_utils",
|
|
|
|
"types",
|
2020-10-02 09:42:19 +00:00
|
|
|
"zeroize",
|
2020-09-29 03:46:54 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "eth2_config"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"types",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "eth2_hashing"
|
|
|
|
version = "0.1.1"
|
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
|
|
|
"ring",
|
|
|
|
"rustc-hex",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
2020-05-10 09:56:31 +00:00
|
|
|
"wasm-bindgen-test",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "eth2_interop_keypairs"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-10-05 08:22:19 +00:00
|
|
|
"base64 0.13.0",
|
2020-07-25 02:03:18 +00:00
|
|
|
"bls",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_hashing",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
|
|
|
"num-bigint",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_yaml",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-11 08:43:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "eth2_key_derivation"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-05-29 04:39:33 +00:00
|
|
|
"bls",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-05-11 08:43:43 +00:00
|
|
|
"num-bigint-dig",
|
2020-05-12 05:48:39 +00:00
|
|
|
"ring",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
2020-05-17 11:16:48 +00:00
|
|
|
"zeroize",
|
2020-05-11 08:43:43 +00:00
|
|
|
]
|
|
|
|
|
2020-05-11 07:45:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "eth2_keystore"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-12-07 08:20:33 +00:00
|
|
|
"aes-ctr",
|
2020-05-11 07:45:06 +00:00
|
|
|
"bls",
|
2020-05-29 04:39:33 +00:00
|
|
|
"eth2_key_derivation",
|
2020-05-11 07:45:06 +00:00
|
|
|
"eth2_ssz",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-12-07 08:20:33 +00:00
|
|
|
"hmac 0.10.1",
|
|
|
|
"pbkdf2 0.6.0",
|
2020-05-11 07:45:06 +00:00
|
|
|
"rand 0.7.3",
|
2020-12-07 08:20:33 +00:00
|
|
|
"scrypt",
|
2020-05-11 07:45:06 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"serde_repr",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
2020-05-11 07:45:06 +00:00
|
|
|
"tempfile",
|
2020-12-03 22:07:09 +00:00
|
|
|
"unicode-normalization",
|
2020-05-17 11:16:48 +00:00
|
|
|
"uuid",
|
|
|
|
"zeroize",
|
2020-05-11 07:45:06 +00:00
|
|
|
]
|
|
|
|
|
2020-06-19 04:13:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "eth2_libp2p"
|
2020-08-06 03:43:05 +00:00
|
|
|
version = "0.2.0"
|
2020-06-19 04:13:23 +00:00
|
|
|
dependencies = [
|
2020-10-05 08:22:19 +00:00
|
|
|
"base64 0.13.0",
|
2020-09-29 00:02:44 +00:00
|
|
|
"directory",
|
2020-10-05 08:22:19 +00:00
|
|
|
"dirs 3.0.1",
|
Handle early blocks (#2155)
## Issue Addressed
NA
## Problem this PR addresses
There's an issue where Lighthouse is banning a lot of peers due to the following sequence of events:
1. Gossip block 0xabc arrives ~200ms early
- It is propagated across the network, with respect to [`MAXIMUM_GOSSIP_CLOCK_DISPARITY`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/p2p-interface.md#why-is-there-maximum_gossip_clock_disparity-when-validating-slot-ranges-of-messages-in-gossip-subnets).
- However, it is not imported to our database since the block is early.
2. Attestations for 0xabc arrive, but the block was not imported.
- The peer that sent the attestation is down-voted.
- Each unknown-block attestation causes a score loss of 1, the peer is banned at -100.
- When the peer is on an attestation subnet there can be hundreds of attestations, so the peer is banned quickly (before the missed block can be obtained via rpc).
## Potential solutions
I can think of three solutions to this:
1. Wait for attestation-queuing (#635) to arrive and solve this.
- Easy
- Not immediate fix.
- Whilst this would work, I don't think it's a perfect solution for this particular issue, rather (3) is better.
1. Allow importing blocks with a tolerance of `MAXIMUM_GOSSIP_CLOCK_DISPARITY`.
- Easy
- ~~I have implemented this, for now.~~
1. If a block is verified for gossip propagation (i.e., signature verified) and it's within `MAXIMUM_GOSSIP_CLOCK_DISPARITY`, then queue it to be processed at the start of the appropriate slot.
- More difficult
- Feels like the best solution, I will try to implement this.
**This PR takes approach (3).**
## Changes included
- Implement the `block_delay_queue`, based upon a [`DelayQueue`](https://docs.rs/tokio-util/0.6.3/tokio_util/time/delay_queue/struct.DelayQueue.html) which can store blocks until it's time to import them.
- Add a new `DelayedImportBlock` variant to the `beacon_processor::WorkEvent` enum to handle this new event.
- In the `BeaconProcessor`, refactor a `tokio::select!` to a struct with an explicit `Stream` implementation. I experienced some issues with `tokio::select!` in the block delay queue and I also found it hard to debug. I think this explicit implementation is nicer and functionally equivalent (apart from the fact that `tokio::select!` randomly chooses futures to poll, whereas now we're deterministic).
- Add a testing framework to the `beacon_processor` module that tests this new block delay logic. I also tested a handful of other operations in the beacon processor (attns, slashings, exits) since it was super easy to copy-pasta the code from the `http_api` tester.
- To implement these tests I added the concept of an optional `work_journal_tx` to the `BeaconProcessor` which will spit out a log of events. I used this in the tests to ensure that things were happening as I expect.
- The tests are a little racey, but it's hard to avoid that when testing timing-based code. If we see CI failures I can revise. I haven't observed *any* failures due to races on my machine or on CI yet.
- To assist with testing I allowed for directly setting the time on the `ManualSlotClock`.
- I gave the `beacon_processor::Worker` a `Toolbox` for two reasons; (a) it avoids changing tons of function sigs when you want to pass a new object to the worker and (b) it seemed cute.
2021-02-24 03:08:52 +00:00
|
|
|
"discv5 0.1.0-beta.3 (git+https://github.com/sigp/discv5?rev=02d2c896c66f8dc2b848c3996fedcd98e1dfec69)",
|
2020-06-19 04:13:23 +00:00
|
|
|
"error-chain",
|
|
|
|
"eth2_ssz",
|
|
|
|
"eth2_ssz_derive",
|
|
|
|
"eth2_ssz_types",
|
|
|
|
"exit-future",
|
|
|
|
"fnv",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2021-02-10 23:29:49 +00:00
|
|
|
"futures-io",
|
2020-06-19 04:13:23 +00:00
|
|
|
"hashset_delay",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-06-19 04:13:23 +00:00
|
|
|
"lazy_static",
|
|
|
|
"libp2p",
|
|
|
|
"lighthouse_metrics",
|
2020-08-04 07:44:53 +00:00
|
|
|
"lighthouse_version",
|
2020-07-29 03:40:22 +00:00
|
|
|
"lru",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-07-23 03:55:36 +00:00
|
|
|
"rand 0.7.3",
|
2020-09-10 04:43:22 +00:00
|
|
|
"regex",
|
2020-06-19 04:13:23 +00:00
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
2020-06-19 04:13:23 +00:00
|
|
|
"slog",
|
|
|
|
"slog-async",
|
|
|
|
"slog-term",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2020-06-19 04:13:23 +00:00
|
|
|
"snap",
|
2021-01-19 06:33:58 +00:00
|
|
|
"strum",
|
2020-10-05 07:45:54 +00:00
|
|
|
"task_executor",
|
2021-01-06 06:36:11 +00:00
|
|
|
"tempfile",
|
2020-06-19 04:13:23 +00:00
|
|
|
"tiny-keccak 2.0.2",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-06-19 04:13:23 +00:00
|
|
|
"tokio-io-timeout",
|
2021-02-10 23:29:49 +00:00
|
|
|
"tokio-util 0.6.3",
|
2020-06-19 04:13:23 +00:00
|
|
|
"types",
|
2021-02-10 23:29:49 +00:00
|
|
|
"unsigned-varint 0.6.0",
|
2020-06-19 04:13:23 +00:00
|
|
|
"void",
|
|
|
|
]
|
|
|
|
|
2020-12-08 05:41:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "eth2_network_config"
|
|
|
|
version = "0.2.0"
|
|
|
|
dependencies = [
|
|
|
|
"enr",
|
|
|
|
"eth2_config",
|
|
|
|
"eth2_ssz",
|
|
|
|
"serde",
|
|
|
|
"serde_yaml",
|
2021-01-06 06:36:11 +00:00
|
|
|
"tempfile",
|
2020-12-08 05:41:10 +00:00
|
|
|
"types",
|
|
|
|
"zip",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "eth2_ssz"
|
|
|
|
version = "0.1.2"
|
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_ssz_derive",
|
|
|
|
"ethereum-types",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "eth2_ssz_derive"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "eth2_ssz_types"
|
|
|
|
version = "0.2.0"
|
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"arbitrary",
|
|
|
|
"eth2_ssz",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
2020-10-29 23:25:21 +00:00
|
|
|
"serde_json",
|
2020-09-29 03:46:54 +00:00
|
|
|
"serde_utils",
|
2020-05-10 09:56:31 +00:00
|
|
|
"tree_hash",
|
|
|
|
"tree_hash_derive",
|
|
|
|
"typenum",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "eth2_wallet"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"eth2_key_derivation",
|
|
|
|
"eth2_keystore",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
"rand 0.7.3",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"serde_repr",
|
|
|
|
"tempfile",
|
|
|
|
"tiny-bip39",
|
2020-05-17 11:16:48 +00:00
|
|
|
"uuid",
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
]
|
|
|
|
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "eth2_wallet_manager"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"eth2_keystore",
|
|
|
|
"eth2_wallet",
|
2020-11-26 11:25:46 +00:00
|
|
|
"lockfile",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"tempfile",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ethabi"
|
2020-05-05 23:12:28 +00:00
|
|
|
version = "12.0.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "052a565e3de82944527d6d10a465697e6bb92476b772ca7141080c901f6a63c6"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"ethereum-types",
|
|
|
|
"rustc-hex",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"tiny-keccak 1.5.0",
|
|
|
|
"uint",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethbloom"
|
2020-05-26 20:34:15 +00:00
|
|
|
version = "0.9.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-26 20:34:15 +00:00
|
|
|
checksum = "71a6567e6fd35589fea0c63b94b4cf2e55573e413901bdbe60ab15cf0e25e5df"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"crunchy",
|
2020-05-10 09:56:31 +00:00
|
|
|
"fixed-hash",
|
|
|
|
"impl-rlp",
|
|
|
|
"impl-serde",
|
|
|
|
"tiny-keccak 2.0.2",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethereum-types"
|
2020-05-26 20:34:15 +00:00
|
|
|
version = "0.9.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-26 20:34:15 +00:00
|
|
|
checksum = "473aecff686bd8e7b9db0165cbbb53562376b39bf35b427f0c60446a9e1634b0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"ethbloom",
|
|
|
|
"fixed-hash",
|
|
|
|
"impl-rlp",
|
|
|
|
"impl-serde",
|
|
|
|
"primitive-types",
|
|
|
|
"uint",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "event-listener"
|
|
|
|
version = "2.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f7531096570974c3a9dcf9e4b8e1cede1ec26cf5046219fb3b9d897503b9be59"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "exit-future"
|
2020-05-17 11:16:48 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-17 11:16:48 +00:00
|
|
|
checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "extend"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f47da3a72ec598d9c8937a7ebca8962a5c7a1f28444e38c2b33c771ba3f55f05"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fake-simd"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-11-27 08:37:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fallback"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"itertools 0.9.0",
|
2020-11-27 08:37:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-18 06:25:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fallible-iterator"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fallible-streaming-iterator"
|
|
|
|
version = "0.1.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fastrand"
|
|
|
|
version = "1.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ca5faf057445ce5c9d4329e382b2ce7ca38550ef3b73a5348362d5f24e0c7fe3"
|
|
|
|
dependencies = [
|
|
|
|
"instant",
|
|
|
|
]
|
|
|
|
|
2020-10-23 04:16:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ff"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "01646e077d4ebda82b73f1bca002ea1e91561a77df2431a9e79729bcc31950ef"
|
|
|
|
dependencies = [
|
2021-03-08 06:27:49 +00:00
|
|
|
"bitvec 0.18.5",
|
2020-10-23 04:16:33 +00:00
|
|
|
"rand_core 0.5.1",
|
2020-12-23 07:53:36 +00:00
|
|
|
"subtle 2.4.0",
|
2020-10-23 04:16:33 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fixed-hash"
|
2020-05-05 23:12:28 +00:00
|
|
|
version = "0.6.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "11498d382790b7a8f2fd211780bec78619bba81cdad3a283997c0c41f836759c"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"arbitrary",
|
2020-05-17 11:16:48 +00:00
|
|
|
"byteorder",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rand 0.7.3",
|
|
|
|
"rustc-hex",
|
|
|
|
"static_assertions",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fixedbitset"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "flate2"
|
2020-10-05 08:22:19 +00:00
|
|
|
version = "1.0.14"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 08:22:19 +00:00
|
|
|
checksum = "2cfff41391129e0a856d6d822600b8d71179d46879e310417eb9c762eb178b42"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-10-23 04:16:33 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-05-10 09:56:31 +00:00
|
|
|
"crc32fast",
|
|
|
|
"libc",
|
|
|
|
"libz-sys",
|
2020-10-05 08:22:19 +00:00
|
|
|
"miniz_oxide 0.3.7",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-24 00:44:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "flume"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.10.2"
|
2020-11-24 00:44:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "531a685ab99b8f60a271b44d5dd1a76e55124a8c9fa0407b7a8e9cd172d5b588"
|
2020-11-24 00:44:40 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
2021-03-02 05:59:49 +00:00
|
|
|
"pin-project 1.0.5",
|
2020-11-24 00:44:40 +00:00
|
|
|
"spinning_top",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fnv"
|
2020-05-26 20:34:15 +00:00
|
|
|
version = "1.0.7"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-26 20:34:15 +00:00
|
|
|
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "foreign-types"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"foreign-types-shared",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "foreign-types-shared"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
v0.12 fork choice update (#1229)
* Incomplete scraps
* Add progress on new fork choice impl
* Further progress
* First complete compiling version
* Remove chain reference
* Add new lmd_ghost crate
* Start integrating into beacon chain
* Update `milagro_bls` to new release (#1183)
* Update milagro_bls to new release
Signed-off-by: Kirk Baird <baird.k@outlook.com>
* Tidy up fake cryptos
Signed-off-by: Kirk Baird <baird.k@outlook.com>
* move SecretHash to bls and put plaintext back
Signed-off-by: Kirk Baird <baird.k@outlook.com>
* Update state processing for v0.12
* Fix EF test runners for v0.12
* Fix some tests
* Fix broken attestation verification test
* More test fixes
* Rough beacon chain impl working
* Remove fork_choice_2
* Remove checkpoint manager
* Half finished ssz impl
* Add missed file
* Add persistence
* Tidy, fix some compile errors
* Remove RwLock from ProtoArrayForkChoice
* Fix store-based compile errors
* Add comments, tidy
* Move function out of ForkChoice struct
* Start testing
* More testing
* Fix compile error
* Tidy beacon_chain::fork_choice
* Queue attestations from the current slot
* Allow fork choice to handle prior-to-genesis start
* Improve error granularity
* Test attestation dequeuing
* Process attestations during block
* Store target root in fork choice
* Move fork choice verification into new crate
* Update tests
* Consensus updates for v0.12 (#1228)
* Update state processing for v0.12
* Fix EF test runners for v0.12
* Fix some tests
* Fix broken attestation verification test
* More test fixes
* Fix typo found in review
* Add `Block` struct to ProtoArray
* Start fixing get_ancestor
* Add rough progress on testing
* Get fork choice tests working
* Progress with testing
* Fix partialeq impl
* Move slot clock from fc_store
* Improve testing
* Add testing for best justified
* Add clone back to SystemTimeSlotClock
* Add balances test
* Start adding balances cache again
* Wire-in balances cache
* Improve tests
* Remove commented-out tests
* Remove beacon_chain::ForkChoice
* Rename crates
* Update wider codebase to new fork_choice layout
* Move advance_slot in test harness
* Tidy ForkChoice::update_time
* Fix verification tests
* Fix compile error with iter::once
* Fix fork choice tests
* Ensure block attestations are processed
* Fix failing beacon_chain tests
* Add first invalid block check
* Add finalized block check
* Progress with testing, new store builder
* Add fixes to get_ancestor
* Fix old genesis justification test
* Fix remaining fork choice tests
* Change root iteration method
* Move on_verified_block
* Remove unused method
* Start adding attestation verification tests
* Add invalid ffg target test
* Add target epoch test
* Add queued attestation test
* Remove old fork choice verification tests
* Tidy, add test
* Move fork choice lock drop
* Rename BeaconForkChoiceStore
* Add comments, tidy BeaconForkChoiceStore
* Update metrics, rename fork_choice_store.rs
* Remove genesis_block_root from ForkChoice
* Tidy
* Update fork_choice comments
* Tidy, add comments
* Tidy, simplify ForkChoice, fix compile issue
* Tidy, removed dead file
* Increase http request timeout
* Fix failing rest_api test
* Set HTTP timeout back to 5s
* Apply fix to get_ancestor
* Address Michael's comments
* Fix typo
* Revert "Fix broken attestation verification test"
This reverts commit 722cdc903b12611de27916a57eeecfa3224f2279.
Co-authored-by: Kirk Baird <baird.k@outlook.com>
Co-authored-by: Michael Sproul <michael@sigmaprime.io>
2020-06-17 01:10:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fork_choice"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"beacon_chain",
|
|
|
|
"eth2_ssz",
|
|
|
|
"eth2_ssz_derive",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
v0.12 fork choice update (#1229)
* Incomplete scraps
* Add progress on new fork choice impl
* Further progress
* First complete compiling version
* Remove chain reference
* Add new lmd_ghost crate
* Start integrating into beacon chain
* Update `milagro_bls` to new release (#1183)
* Update milagro_bls to new release
Signed-off-by: Kirk Baird <baird.k@outlook.com>
* Tidy up fake cryptos
Signed-off-by: Kirk Baird <baird.k@outlook.com>
* move SecretHash to bls and put plaintext back
Signed-off-by: Kirk Baird <baird.k@outlook.com>
* Update state processing for v0.12
* Fix EF test runners for v0.12
* Fix some tests
* Fix broken attestation verification test
* More test fixes
* Rough beacon chain impl working
* Remove fork_choice_2
* Remove checkpoint manager
* Half finished ssz impl
* Add missed file
* Add persistence
* Tidy, fix some compile errors
* Remove RwLock from ProtoArrayForkChoice
* Fix store-based compile errors
* Add comments, tidy
* Move function out of ForkChoice struct
* Start testing
* More testing
* Fix compile error
* Tidy beacon_chain::fork_choice
* Queue attestations from the current slot
* Allow fork choice to handle prior-to-genesis start
* Improve error granularity
* Test attestation dequeuing
* Process attestations during block
* Store target root in fork choice
* Move fork choice verification into new crate
* Update tests
* Consensus updates for v0.12 (#1228)
* Update state processing for v0.12
* Fix EF test runners for v0.12
* Fix some tests
* Fix broken attestation verification test
* More test fixes
* Fix typo found in review
* Add `Block` struct to ProtoArray
* Start fixing get_ancestor
* Add rough progress on testing
* Get fork choice tests working
* Progress with testing
* Fix partialeq impl
* Move slot clock from fc_store
* Improve testing
* Add testing for best justified
* Add clone back to SystemTimeSlotClock
* Add balances test
* Start adding balances cache again
* Wire-in balances cache
* Improve tests
* Remove commented-out tests
* Remove beacon_chain::ForkChoice
* Rename crates
* Update wider codebase to new fork_choice layout
* Move advance_slot in test harness
* Tidy ForkChoice::update_time
* Fix verification tests
* Fix compile error with iter::once
* Fix fork choice tests
* Ensure block attestations are processed
* Fix failing beacon_chain tests
* Add first invalid block check
* Add finalized block check
* Progress with testing, new store builder
* Add fixes to get_ancestor
* Fix old genesis justification test
* Fix remaining fork choice tests
* Change root iteration method
* Move on_verified_block
* Remove unused method
* Start adding attestation verification tests
* Add invalid ffg target test
* Add target epoch test
* Add queued attestation test
* Remove old fork choice verification tests
* Tidy, add test
* Move fork choice lock drop
* Rename BeaconForkChoiceStore
* Add comments, tidy BeaconForkChoiceStore
* Update metrics, rename fork_choice_store.rs
* Remove genesis_block_root from ForkChoice
* Tidy
* Update fork_choice comments
* Tidy, add comments
* Tidy, simplify ForkChoice, fix compile issue
* Tidy, removed dead file
* Increase http request timeout
* Fix failing rest_api test
* Set HTTP timeout back to 5s
* Apply fix to get_ancestor
* Address Michael's comments
* Fix typo
* Revert "Fix broken attestation verification test"
This reverts commit 722cdc903b12611de27916a57eeecfa3224f2279.
Co-authored-by: Kirk Baird <baird.k@outlook.com>
Co-authored-by: Michael Sproul <michael@sigmaprime.io>
2020-06-17 01:10:22 +00:00
|
|
|
"proto_array",
|
|
|
|
"slot_clock",
|
|
|
|
"state_processing",
|
|
|
|
"store",
|
|
|
|
"tree_hash",
|
|
|
|
"types",
|
|
|
|
]
|
|
|
|
|
2020-11-13 06:06:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "form_urlencoded"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.0.1"
|
2020-11-13 06:06:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191"
|
2020-11-13 06:06:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"matches",
|
2020-12-09 01:34:58 +00:00
|
|
|
"percent-encoding",
|
2020-11-13 06:06:35 +00:00
|
|
|
]
|
|
|
|
|
2020-11-26 11:25:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fs2"
|
|
|
|
version = "0.4.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fuchsia-zircon"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"bitflags",
|
2020-05-10 09:56:31 +00:00
|
|
|
"fuchsia-zircon-sys",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fuchsia-zircon-sys"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-10-05 08:22:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "funty"
|
2020-12-28 23:38:02 +00:00
|
|
|
version = "1.1.0"
|
2020-10-05 08:22:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-28 23:38:02 +00:00
|
|
|
checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7"
|
2020-10-05 08:22:19 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.1.31"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.13"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "7f55667319111d593ba876406af7c409c0ebb44dc4be6132a783ccf163ea14c1"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-executor",
|
|
|
|
"futures-io",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-channel"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.13"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "8c2dd2df839b57db9ab69c2c9d8f3e8c81984781937fe2807dc6dcf3b2ad2939"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-core"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.13"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "15496a72fabf0e62bdc3df11a59a3787429221dd0710ba8ef163d6f7a9112c94"
|
2020-05-17 11:16:48 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-executor"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.13"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "891a4b7b96d84d5940084b2a37632dd65deeae662c114ceaa2c879629c9c0ad1"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
|
|
|
"num_cpus",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-io"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.13"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "d71c2c65c57704c32f5241c1223167c2c3294fd34ac020c807ddbe6db287ba59"
|
2020-05-17 11:16:48 +00:00
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures-lite"
|
2020-12-23 18:52:48 +00:00
|
|
|
version = "1.11.3"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-23 18:52:48 +00:00
|
|
|
checksum = "b4481d0cd0de1d204a4fa55e7d45f07b1d958abcb06714b3446438e2eff695fb"
|
2020-11-19 04:04:52 +00:00
|
|
|
dependencies = [
|
|
|
|
"fastrand",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"memchr",
|
|
|
|
"parking",
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.2.6",
|
2020-11-19 04:04:52 +00:00
|
|
|
"waker-fn",
|
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures-macro"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.13"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "ea405816a5139fb39af82c2beb921d52143f556038378d6db21183a5c37fbfb7"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro-hack",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2021-02-10 23:29:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures-rustls"
|
|
|
|
version = "0.21.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3a1387e07917c711fb4ee4f48ea0adb04a3c9739e53ef85bf43ae1edc2937a8b"
|
|
|
|
dependencies = [
|
|
|
|
"futures-io",
|
|
|
|
"rustls",
|
|
|
|
"webpki",
|
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures-sink"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.13"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "85754d98985841b7d4f5e8e6fbfa4a4ac847916893ec511a2917ccd8525b8bb3"
|
2020-05-17 11:16:48 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-task"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.13"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "fa189ef211c15ee602667a6fcfe1c1fd9e07d42250d2156382820fba33c9df80"
|
2020-05-17 11:16:48 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-timer"
|
|
|
|
version = "3.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-util"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.13"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "1812c7ab8aedf8d6f2701a43e1243acdbcc2b36ab26e2ad421eb99ac963d96d1"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"futures-macro",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
|
|
|
"memchr",
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.2.6",
|
2020-05-17 11:16:48 +00:00
|
|
|
"pin-utils",
|
|
|
|
"proc-macro-hack",
|
|
|
|
"proc-macro-nested",
|
2020-12-09 01:34:58 +00:00
|
|
|
"slab",
|
2020-05-17 11:16:48 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "generic-array"
|
2021-03-04 00:00:51 +00:00
|
|
|
version = "0.12.4"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-04 00:00:51 +00:00
|
|
|
checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"typenum",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-07-01 08:01:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "generic-array"
|
2020-08-18 11:23:08 +00:00
|
|
|
version = "0.14.4"
|
2020-07-01 08:01:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-18 11:23:08 +00:00
|
|
|
checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817"
|
2020-07-01 08:01:03 +00:00
|
|
|
dependencies = [
|
|
|
|
"typenum",
|
2020-12-09 01:34:58 +00:00
|
|
|
"version_check",
|
2020-07-01 08:01:03 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "genesis"
|
2020-08-06 03:43:05 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"environment",
|
|
|
|
"eth1",
|
|
|
|
"eth1_test_rig",
|
|
|
|
"eth2_hashing",
|
|
|
|
"eth2_ssz",
|
|
|
|
"exit-future",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-05-10 09:56:31 +00:00
|
|
|
"int_to_bytes",
|
|
|
|
"merkle_proof",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rayon",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"slog",
|
|
|
|
"state_processing",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-11-28 05:30:57 +00:00
|
|
|
"tokio-compat-02",
|
2020-05-10 09:56:31 +00:00
|
|
|
"tree_hash",
|
|
|
|
"types",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.1.16"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"libc",
|
2020-08-27 07:04:12 +00:00
|
|
|
"wasi 0.9.0+wasi-snapshot-preview1",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2021-02-10 23:29:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
|
|
|
version = "0.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c9495705279e7140bf035dde1f6e750c162df8b625267cd52cc44e0b156732c8"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"libc",
|
2021-03-02 05:59:49 +00:00
|
|
|
"wasi 0.10.2+wasi-snapshot-preview1",
|
2021-02-10 23:29:49 +00:00
|
|
|
]
|
|
|
|
|
2020-06-29 10:25:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ghash"
|
2020-12-28 23:38:02 +00:00
|
|
|
version = "0.3.1"
|
2020-06-29 10:25:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-28 23:38:02 +00:00
|
|
|
checksum = "97304e4cd182c3846f7575ced3890c53012ce534ad9114046b0a9e00bb30a375"
|
2020-06-29 10:25:42 +00:00
|
|
|
dependencies = [
|
2020-12-28 23:38:02 +00:00
|
|
|
"opaque-debug 0.3.0",
|
2020-06-29 10:25:42 +00:00
|
|
|
"polyval",
|
|
|
|
]
|
|
|
|
|
2020-05-26 20:34:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "gimli"
|
2020-11-02 23:55:15 +00:00
|
|
|
version = "0.23.0"
|
2020-05-26 20:34:15 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-02 23:55:15 +00:00
|
|
|
checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce"
|
2020-05-26 20:34:15 +00:00
|
|
|
|
2020-07-06 09:08:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "git-version"
|
|
|
|
version = "0.3.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "94918e83f1e01dedc2e361d00ce9487b14c58c7f40bab148026fa39d42cb41e2"
|
|
|
|
dependencies = [
|
|
|
|
"git-version-macro",
|
|
|
|
"proc-macro-hack",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "git-version-macro"
|
|
|
|
version = "0.3.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "34a97a52fdee1870a34fa6e4b77570cba531b27d1838874fef4429a791a3d657"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-hack",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2020-05-29 02:03:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "glob"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "gloo-timers"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "47204a46aaff920a1ea58b11d03dec6f704287d27561724a4631e450654a891f"
|
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
2020-10-23 04:16:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "group"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cc11f9f5fbf1943b48ae7c2bf6846e7d827a512d1be4f23af708f5ca5d01dde1"
|
|
|
|
dependencies = [
|
|
|
|
"ff",
|
|
|
|
"rand_core 0.5.1",
|
2020-12-23 07:53:36 +00:00
|
|
|
"subtle 2.4.0",
|
2020-10-23 04:16:33 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
2020-05-17 11:16:48 +00:00
|
|
|
name = "h2"
|
2020-10-28 22:19:38 +00:00
|
|
|
version = "0.2.7"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-28 22:19:38 +00:00
|
|
|
checksum = "5e4728fd124914ad25e99e3d15a9361a879f6620f63cb56bbb08f95abb97a535"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
2020-07-21 00:54:47 +00:00
|
|
|
"bytes 0.5.6",
|
2020-05-17 11:16:48 +00:00
|
|
|
"fnv",
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-util",
|
2021-02-10 23:29:49 +00:00
|
|
|
"http",
|
2020-05-17 11:16:48 +00:00
|
|
|
"indexmap",
|
2020-12-09 01:34:58 +00:00
|
|
|
"slab",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 0.2.25",
|
2020-11-28 05:30:57 +00:00
|
|
|
"tokio-util 0.3.1",
|
|
|
|
"tracing",
|
|
|
|
"tracing-futures",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "h2"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.1"
|
2021-02-10 23:29:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "d832b01df74254fe364568d6ddc294443f61cbec82816b60904303af87efae78"
|
2020-11-28 05:30:57 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2020-11-28 05:30:57 +00:00
|
|
|
"fnv",
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-util",
|
2021-02-10 23:29:49 +00:00
|
|
|
"http",
|
2020-11-28 05:30:57 +00:00
|
|
|
"indexmap",
|
2020-12-09 01:34:58 +00:00
|
|
|
"slab",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2021-02-10 23:29:49 +00:00
|
|
|
"tokio-util 0.6.3",
|
2020-07-15 05:04:09 +00:00
|
|
|
"tracing",
|
2020-05-17 11:16:48 +00:00
|
|
|
]
|
|
|
|
|
2020-07-06 01:55:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "half"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "1.7.1"
|
2020-07-06 01:55:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "62aca2aba2d62b4a7f5b33f3712cb1b0692779a56fb510499d5c0aa594daeaf3"
|
2020-07-06 01:55:56 +00:00
|
|
|
|
2020-07-21 00:54:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
2020-09-29 08:29:04 +00:00
|
|
|
version = "0.9.1"
|
2020-07-21 00:54:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-29 08:29:04 +00:00
|
|
|
checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"
|
2020-10-09 02:05:30 +00:00
|
|
|
dependencies = [
|
2020-11-02 23:55:15 +00:00
|
|
|
"ahash",
|
2020-10-09 02:05:30 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hashlink"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d99cf782f0dc4372d26846bec3de7804ceb5df083c2d4462c0b8d2330e894fa8"
|
|
|
|
dependencies = [
|
2020-11-02 23:55:15 +00:00
|
|
|
"hashbrown",
|
2020-10-09 02:05:30 +00:00
|
|
|
]
|
2020-07-21 00:54:47 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
2020-05-17 11:16:48 +00:00
|
|
|
name = "hashset_delay"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
|
|
|
"tokio 1.2.0",
|
2021-02-10 23:29:49 +00:00
|
|
|
"tokio-util 0.6.3",
|
2020-05-17 11:16:48 +00:00
|
|
|
]
|
|
|
|
|
2020-09-29 03:46:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "headers"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "0.3.4"
|
2020-09-29 03:46:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "f0b7591fb62902706ae8e7aaff416b1b0fa2c0fd0878b46dc13baa3712d8a855"
|
2020-11-28 05:30:57 +00:00
|
|
|
dependencies = [
|
|
|
|
"base64 0.13.0",
|
2020-12-09 01:34:58 +00:00
|
|
|
"bitflags",
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
|
|
|
"headers-core",
|
|
|
|
"http",
|
2020-12-09 01:34:58 +00:00
|
|
|
"mime",
|
2021-03-08 06:27:49 +00:00
|
|
|
"sha-1",
|
2021-02-10 23:29:49 +00:00
|
|
|
"time 0.1.43",
|
2020-09-29 03:46:54 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "headers-core"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429"
|
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"http",
|
2020-09-29 03:46:54 +00:00
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "heck"
|
2020-12-23 18:52:48 +00:00
|
|
|
version = "0.3.2"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-23 18:52:48 +00:00
|
|
|
checksum = "87cbf45460356b7deeb5e3415b5563308c0a9b057c85e12b06ad551f98d0a6ac"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"unicode-segmentation",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hermit-abi"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.1.18"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "322f4de77956e22ed0e5032c359a0f1273f1f7f0d79bfa3b8ffbc730d7fbcc5c"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"libc",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hex"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "0.4.3"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-07-29 03:40:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hex_fmt"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b07f60793ff0a4d9cef0f18e63b5357e06209987153a64648c972c1e5aff336f"
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hkdf"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "51ab2f639c231793c5f6114bdb9bbe50a7dbbfcd7c7c6bd8475dec2d991e964f"
|
|
|
|
dependencies = [
|
|
|
|
"digest 0.9.0",
|
|
|
|
"hmac 0.10.1",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hmac"
|
|
|
|
version = "0.7.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "5dcb5e64cda4c23119ab41ba960d1e170a774c8e4b9d9e6a9bc18aabf5e59695"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-07-01 08:01:03 +00:00
|
|
|
"crypto-mac 0.7.0",
|
|
|
|
"digest 0.8.1",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hmac"
|
2020-07-06 01:55:56 +00:00
|
|
|
version = "0.8.1"
|
2020-07-01 08:01:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-06 01:55:56 +00:00
|
|
|
checksum = "126888268dcc288495a26bf004b38c5fdbb31682f992c84ceb046a1f0fe38840"
|
2020-07-01 08:01:03 +00:00
|
|
|
dependencies = [
|
|
|
|
"crypto-mac 0.8.0",
|
|
|
|
"digest 0.9.0",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hmac"
|
|
|
|
version = "0.10.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c1441c6b1e930e2817404b5046f1f989899143a12bf92de603b69f4e0aee1e15"
|
|
|
|
dependencies = [
|
|
|
|
"crypto-mac 0.10.0",
|
|
|
|
"digest 0.9.0",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hmac-drbg"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "c6e570451493f10f6581b48cdd530413b63ea9e780f544bfd3bdcaa0d89d1a7b"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-07-01 08:01:03 +00:00
|
|
|
"digest 0.8.1",
|
2021-03-04 00:00:51 +00:00
|
|
|
"generic-array 0.12.4",
|
2020-07-01 08:01:03 +00:00
|
|
|
"hmac 0.7.1",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "http"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.2.3"
|
2020-12-23 07:53:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "7245cd7449cc792608c3c8a9eaf69bd4eabbabf802713748fd739c98b82f0747"
|
2020-11-28 05:30:57 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2020-11-28 05:30:57 +00:00
|
|
|
"fnv",
|
|
|
|
"itoa",
|
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "http-body"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b"
|
|
|
|
dependencies = [
|
2020-07-21 00:54:47 +00:00
|
|
|
"bytes 0.5.6",
|
2021-02-10 23:29:49 +00:00
|
|
|
"http",
|
2020-11-28 05:30:57 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "http-body"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2861bd27ee074e5ee891e8b539837a9430012e249d7f0ca2d795650f579c1994"
|
2020-11-28 05:30:57 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
|
|
|
"http",
|
2020-05-17 11:16:48 +00:00
|
|
|
]
|
|
|
|
|
2020-09-29 03:46:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "http_api"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"beacon_chain",
|
2020-12-07 08:20:33 +00:00
|
|
|
"bs58 0.4.0",
|
Handle early blocks (#2155)
## Issue Addressed
NA
## Problem this PR addresses
There's an issue where Lighthouse is banning a lot of peers due to the following sequence of events:
1. Gossip block 0xabc arrives ~200ms early
- It is propagated across the network, with respect to [`MAXIMUM_GOSSIP_CLOCK_DISPARITY`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/p2p-interface.md#why-is-there-maximum_gossip_clock_disparity-when-validating-slot-ranges-of-messages-in-gossip-subnets).
- However, it is not imported to our database since the block is early.
2. Attestations for 0xabc arrive, but the block was not imported.
- The peer that sent the attestation is down-voted.
- Each unknown-block attestation causes a score loss of 1, the peer is banned at -100.
- When the peer is on an attestation subnet there can be hundreds of attestations, so the peer is banned quickly (before the missed block can be obtained via rpc).
## Potential solutions
I can think of three solutions to this:
1. Wait for attestation-queuing (#635) to arrive and solve this.
- Easy
- Not immediate fix.
- Whilst this would work, I don't think it's a perfect solution for this particular issue, rather (3) is better.
1. Allow importing blocks with a tolerance of `MAXIMUM_GOSSIP_CLOCK_DISPARITY`.
- Easy
- ~~I have implemented this, for now.~~
1. If a block is verified for gossip propagation (i.e., signature verified) and it's within `MAXIMUM_GOSSIP_CLOCK_DISPARITY`, then queue it to be processed at the start of the appropriate slot.
- More difficult
- Feels like the best solution, I will try to implement this.
**This PR takes approach (3).**
## Changes included
- Implement the `block_delay_queue`, based upon a [`DelayQueue`](https://docs.rs/tokio-util/0.6.3/tokio_util/time/delay_queue/struct.DelayQueue.html) which can store blocks until it's time to import them.
- Add a new `DelayedImportBlock` variant to the `beacon_processor::WorkEvent` enum to handle this new event.
- In the `BeaconProcessor`, refactor a `tokio::select!` to a struct with an explicit `Stream` implementation. I experienced some issues with `tokio::select!` in the block delay queue and I also found it hard to debug. I think this explicit implementation is nicer and functionally equivalent (apart from the fact that `tokio::select!` randomly chooses futures to poll, whereas now we're deterministic).
- Add a testing framework to the `beacon_processor` module that tests this new block delay logic. I also tested a handful of other operations in the beacon processor (attns, slashings, exits) since it was super easy to copy-pasta the code from the `http_api` tester.
- To implement these tests I added the concept of an optional `work_journal_tx` to the `BeaconProcessor` which will spit out a log of events. I used this in the tests to ensure that things were happening as I expect.
- The tests are a little racey, but it's hard to avoid that when testing timing-based code. If we see CI failures I can revise. I haven't observed *any* failures due to races on my machine or on CI yet.
- To assist with testing I allowed for directly setting the time on the `ManualSlotClock`.
- I gave the `beacon_processor::Worker` a `Toolbox` for two reasons; (a) it avoids changing tons of function sigs when you want to pass a new object to the worker and (b) it seemed cute.
2021-02-24 03:08:52 +00:00
|
|
|
"discv5 0.1.0-beta.3 (git+https://github.com/sigp/discv5?rev=02d2c896c66f8dc2b848c3996fedcd98e1dfec69)",
|
2020-09-29 03:46:54 +00:00
|
|
|
"environment",
|
|
|
|
"eth1",
|
|
|
|
"eth2",
|
|
|
|
"eth2_libp2p",
|
2020-10-22 06:05:49 +00:00
|
|
|
"eth2_ssz",
|
2020-09-29 03:46:54 +00:00
|
|
|
"fork_choice",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-09-29 03:46:54 +00:00
|
|
|
"lazy_static",
|
|
|
|
"lighthouse_metrics",
|
|
|
|
"lighthouse_version",
|
|
|
|
"network",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-09-29 03:46:54 +00:00
|
|
|
"serde",
|
|
|
|
"slog",
|
|
|
|
"slot_clock",
|
|
|
|
"state_processing",
|
|
|
|
"store",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2021-02-10 23:29:49 +00:00
|
|
|
"tokio-stream",
|
|
|
|
"tokio-util 0.6.3",
|
2020-09-29 03:46:54 +00:00
|
|
|
"tree_hash",
|
|
|
|
"types",
|
|
|
|
"warp",
|
|
|
|
"warp_utils",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "http_metrics"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"beacon_chain",
|
|
|
|
"environment",
|
|
|
|
"eth2",
|
|
|
|
"eth2_libp2p",
|
|
|
|
"lazy_static",
|
|
|
|
"lighthouse_metrics",
|
|
|
|
"lighthouse_version",
|
|
|
|
"prometheus",
|
|
|
|
"reqwest",
|
|
|
|
"serde",
|
|
|
|
"slog",
|
|
|
|
"slot_clock",
|
|
|
|
"store",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-09-29 03:46:54 +00:00
|
|
|
"types",
|
|
|
|
"warp",
|
|
|
|
"warp_utils",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "httparse"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.3.5"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "615caabe2c3160b313d52ccc905335f4ed5f10881dd63dc5699d47e90be85691"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-09-22 04:45:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "httpdate"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47"
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "httpmock"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.5.5"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "93a02d342ce934f890fa39865cf7d2f3485d19a805b7c570ea33819106df1c21"
|
2020-11-19 04:04:52 +00:00
|
|
|
dependencies = [
|
|
|
|
"assert-json-diff",
|
2021-02-10 23:29:49 +00:00
|
|
|
"async-object-pool",
|
2020-11-19 04:04:52 +00:00
|
|
|
"async-trait",
|
|
|
|
"base64 0.13.0",
|
|
|
|
"basic-cookies",
|
2021-02-10 23:29:49 +00:00
|
|
|
"crossbeam-utils",
|
2020-11-19 04:04:52 +00:00
|
|
|
"difference",
|
|
|
|
"futures-util",
|
2021-02-10 23:29:49 +00:00
|
|
|
"hyper 0.14.4",
|
2020-11-19 04:04:52 +00:00
|
|
|
"isahc",
|
|
|
|
"lazy_static",
|
|
|
|
"levenshtein",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-11-19 04:04:52 +00:00
|
|
|
"qstring",
|
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"serde_regex",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-11-19 04:04:52 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "humantime"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "2.1.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hyper"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.13.10"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "8a6f157065790a3ed2f88679250419b5cdd96e714a0d65f7797fd337186e96bb"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
2020-07-21 00:54:47 +00:00
|
|
|
"bytes 0.5.6",
|
2020-05-17 11:16:48 +00:00
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-util",
|
2020-10-28 22:19:38 +00:00
|
|
|
"h2 0.2.7",
|
2021-02-10 23:29:49 +00:00
|
|
|
"http",
|
|
|
|
"http-body 0.3.1",
|
2020-05-17 11:16:48 +00:00
|
|
|
"httparse",
|
2020-09-22 04:45:15 +00:00
|
|
|
"httpdate",
|
2020-05-17 11:16:48 +00:00
|
|
|
"itoa",
|
2021-03-02 05:59:49 +00:00
|
|
|
"pin-project 1.0.5",
|
2020-06-06 06:39:42 +00:00
|
|
|
"socket2",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 0.2.25",
|
2020-05-17 11:16:48 +00:00
|
|
|
"tower-service",
|
2020-07-15 05:04:09 +00:00
|
|
|
"tracing",
|
2020-12-09 01:34:58 +00:00
|
|
|
"want",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hyper"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.14.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e8e946c2b1349055e0b72ae281b238baf1a3ea7307c7e9f9d64673bdd9c26ac7"
|
2020-11-28 05:30:57 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2020-11-28 05:30:57 +00:00
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-util",
|
2021-03-02 05:59:49 +00:00
|
|
|
"h2 0.3.1",
|
2021-02-10 23:29:49 +00:00
|
|
|
"http",
|
|
|
|
"http-body 0.4.0",
|
2020-11-28 05:30:57 +00:00
|
|
|
"httparse",
|
|
|
|
"httpdate",
|
|
|
|
"itoa",
|
2021-03-02 05:59:49 +00:00
|
|
|
"pin-project 1.0.5",
|
2020-11-28 05:30:57 +00:00
|
|
|
"socket2",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-11-28 05:30:57 +00:00
|
|
|
"tower-service",
|
|
|
|
"tracing",
|
2020-12-09 01:34:58 +00:00
|
|
|
"want",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-12-14 02:28:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hyper-proxy"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f93ec5be69758dfc06b9b29efa9d6e9306e387c85eb362c603912eead2ad98c7"
|
|
|
|
dependencies = [
|
|
|
|
"bytes 0.5.6",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2021-02-10 23:29:49 +00:00
|
|
|
"http",
|
2021-03-02 05:59:49 +00:00
|
|
|
"hyper 0.13.10",
|
2021-02-10 23:29:49 +00:00
|
|
|
"hyper-tls 0.4.3",
|
2020-12-14 02:28:19 +00:00
|
|
|
"native-tls",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 0.2.25",
|
2020-12-14 02:28:19 +00:00
|
|
|
"tokio-tls",
|
|
|
|
"tower-service",
|
|
|
|
"typed-headers",
|
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hyper-tls"
|
2020-07-11 02:35:59 +00:00
|
|
|
version = "0.4.3"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-11 02:35:59 +00:00
|
|
|
checksum = "d979acc56dcb5b8dddba3917601745e877576475aa046df3226eabdecef78eed"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
2020-07-21 00:54:47 +00:00
|
|
|
"bytes 0.5.6",
|
2021-03-02 05:59:49 +00:00
|
|
|
"hyper 0.13.10",
|
2020-05-17 11:16:48 +00:00
|
|
|
"native-tls",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 0.2.25",
|
2020-12-09 01:34:58 +00:00
|
|
|
"tokio-tls",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2021-02-10 23:29:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hyper-tls"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"
|
|
|
|
dependencies = [
|
|
|
|
"bytes 1.0.1",
|
|
|
|
"hyper 0.14.4",
|
|
|
|
"native-tls",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2021-02-10 23:29:49 +00:00
|
|
|
"tokio-native-tls",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "idna"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.2.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "89829a5d69c23d348314a7ac337fe39173b61149a9864deabd260983aed48c21"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"matches",
|
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-normalization",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-06 04:14:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "if-addrs"
|
|
|
|
version = "0.6.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "28538916eb3f3976311f5dfbe67b5362d0add1293d0a9cad17debf86f8e3aa48"
|
|
|
|
dependencies = [
|
|
|
|
"if-addrs-sys",
|
|
|
|
"libc",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "if-addrs-sys"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "de74b9dd780476e837e5eb5ab7c88b49ed304126e412030a0adba99c8efe79ea"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2021-02-10 23:29:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "if-watch"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.1.8"
|
2021-02-10 23:29:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "97b8538953a3f0d0d3868f0a706eb4273535e10d72acb5c82c1c23ae48835c85"
|
2021-02-10 23:29:49 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-io",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2021-02-10 23:29:49 +00:00
|
|
|
"futures-lite",
|
|
|
|
"if-addrs",
|
|
|
|
"ipnet",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2020-10-02 08:47:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "igd"
|
|
|
|
version = "0.11.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2fd32c880165b2f776af0b38d206d1cabaebcf46c166ac6ae004a5d45f7d48ef"
|
|
|
|
dependencies = [
|
|
|
|
"attohttpc",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-10-02 08:47:00 +00:00
|
|
|
"rand 0.7.3",
|
2020-12-09 01:34:58 +00:00
|
|
|
"url",
|
2020-10-02 08:47:00 +00:00
|
|
|
"xmltree",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "impl-codec"
|
|
|
|
version = "0.4.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "1be51a921b067b0eaca2fad532d9400041561aa922221cc65f95a85641c6bf53"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"parity-scale-codec",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "impl-rlp"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "8f7a72f11830b52333f36e3b09a288333888bf54380fd0ac0790a3c31ab0f3c5"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"rlp 0.4.6",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-01-08 03:18:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "impl-serde"
|
2020-05-10 09:56:31 +00:00
|
|
|
version = "0.3.1"
|
2020-01-08 03:18:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "b47ca4d2b6931707a55fce5cf66aff80e2178c8b63bbb4ecb5695cbc870ddf6f"
|
2020-01-08 03:18:06 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"serde",
|
2020-01-08 03:18:06 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "indexmap"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "1.6.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "824845a0bf897a9042383849b02c1bc219c2383772efcd5c6f9766fa4b81aef3"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-08-21 12:00:01 +00:00
|
|
|
"autocfg 1.0.1",
|
2020-11-02 23:55:15 +00:00
|
|
|
"hashbrown",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-09-29 03:46:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "input_buffer"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.4.0"
|
2020-09-29 03:46:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "f97967975f448f1a7ddb12b0bc41069d09ed6a1c161a92687e057325db35d413"
|
2020-09-29 03:46:54 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2020-09-29 03:46:54 +00:00
|
|
|
]
|
|
|
|
|
2020-07-06 01:55:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "instant"
|
2020-11-24 00:44:40 +00:00
|
|
|
version = "0.1.9"
|
2020-07-06 01:55:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-24 00:44:40 +00:00
|
|
|
checksum = "61124eeebbd69b8190558df225adf7e4caafce0d743919e5d6b19652314ec5ec"
|
2020-09-22 04:45:15 +00:00
|
|
|
dependencies = [
|
2020-10-28 22:19:38 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-09-22 04:45:15 +00:00
|
|
|
]
|
2020-07-06 01:55:56 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "int_to_bytes"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-05-10 09:56:31 +00:00
|
|
|
"yaml-rust",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "integer-sqrt"
|
2020-09-11 01:43:13 +00:00
|
|
|
version = "0.1.5"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-11 01:43:13 +00:00
|
|
|
checksum = "276ec31bcb4a9ee45f58bec6f9ec700ae4cf4f4f8f2fa7e06cb406bd5ffdd770"
|
2020-09-09 02:28:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"num-traits",
|
|
|
|
]
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "iovec"
|
|
|
|
version = "0.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"libc",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ipnet"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "2.3.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "47be2f14c678be2fdcab04ab1171db51b2762ce6f0a8ee87c8dd4a04ed216135"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "isahc"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.1.0"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "af3d0a62435883f745c825ec06a03a38d24bf5fa65c43e2c083b6a60ce0058ae"
|
2020-11-19 04:04:52 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"crossbeam-utils",
|
2020-11-19 04:04:52 +00:00
|
|
|
"curl",
|
|
|
|
"curl-sys",
|
|
|
|
"encoding_rs",
|
2020-11-24 00:44:40 +00:00
|
|
|
"flume",
|
|
|
|
"futures-lite",
|
2021-02-10 23:29:49 +00:00
|
|
|
"http",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
|
|
|
"mime",
|
2020-11-19 04:04:52 +00:00
|
|
|
"once_cell",
|
2020-12-09 01:34:58 +00:00
|
|
|
"slab",
|
2020-11-19 04:04:52 +00:00
|
|
|
"sluice",
|
|
|
|
"tracing",
|
|
|
|
"tracing-futures",
|
2020-12-09 01:34:58 +00:00
|
|
|
"url",
|
2020-11-24 00:44:40 +00:00
|
|
|
"waker-fn",
|
2020-11-19 04:04:52 +00:00
|
|
|
]
|
|
|
|
|
2020-05-10 09:56:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"either",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2021-03-02 05:59:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "37d572918e350e82412fe766d24b15e6682fb2ed2bbe018280caa810397cb319"
|
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "itoa"
|
2020-12-28 23:38:02 +00:00
|
|
|
version = "0.4.7"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-28 23:38:02 +00:00
|
|
|
checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "js-sys"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.48"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "dc9f84f9b115ce7843d60706df1422a916680bfdfcbdb0447c5614ff9d7e4d78"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"wasm-bindgen",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-04-19 02:20:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-core"
|
2020-12-14 02:28:19 +00:00
|
|
|
version = "15.1.0"
|
2020-04-19 02:20:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-14 02:28:19 +00:00
|
|
|
checksum = "0745a6379e3edc893c84ec203589790774e4247420033e71a76d3ab4687991fa"
|
2020-04-19 02:20:43 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.1.31",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-10 09:56:31 +00:00
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
2020-04-19 02:20:43 +00:00
|
|
|
]
|
|
|
|
|
2020-10-23 04:16:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "k256"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.7.2"
|
2020-10-23 04:16:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "cf02ecc966e1b7e8db1c81ac8f321ba24d1cfab5b634961fab10111f015858e1"
|
2020-10-23 04:16:33 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"ecdsa",
|
|
|
|
"elliptic-curve",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
2020-10-23 04:16:33 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "keccak"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "kernel32-sys"
|
|
|
|
version = "0.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"winapi 0.2.8",
|
|
|
|
"winapi-build",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "kv-log-macro"
|
|
|
|
version = "1.0.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f"
|
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-11-19 04:04:52 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lalrpop"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "0.19.5"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "46962a8c71b91c3524b117dfdd70844d4265a173c4c9109f98171aebdcf1195f"
|
2020-11-19 04:04:52 +00:00
|
|
|
dependencies = [
|
|
|
|
"ascii-canvas",
|
|
|
|
"atty",
|
|
|
|
"bit-set",
|
|
|
|
"diff",
|
|
|
|
"ena",
|
2021-03-08 06:27:49 +00:00
|
|
|
"itertools 0.10.0",
|
2020-11-19 04:04:52 +00:00
|
|
|
"lalrpop-util",
|
|
|
|
"petgraph",
|
2020-12-28 23:38:02 +00:00
|
|
|
"pico-args",
|
2020-11-19 04:04:52 +00:00
|
|
|
"regex",
|
|
|
|
"regex-syntax",
|
|
|
|
"string_cache",
|
|
|
|
"term 0.5.2",
|
2020-12-28 23:38:02 +00:00
|
|
|
"tiny-keccak 2.0.2",
|
2020-11-19 04:04:52 +00:00
|
|
|
"unicode-xid",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lalrpop-util"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "0.19.5"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "7a708007b751af124d09e9c5d97515257902bc6b486a56b40bcafd939e8ff467"
|
2020-12-28 23:38:02 +00:00
|
|
|
dependencies = [
|
|
|
|
"regex",
|
|
|
|
]
|
2020-11-19 04:04:52 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lazy_static"
|
|
|
|
version = "1.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
2020-05-11 08:43:43 +00:00
|
|
|
dependencies = [
|
|
|
|
"spin",
|
|
|
|
]
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lcli"
|
2021-03-30 04:07:03 +00:00
|
|
|
version = "1.2.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-01-19 08:42:30 +00:00
|
|
|
"account_utils",
|
2020-07-31 05:00:39 +00:00
|
|
|
"bls",
|
2020-05-10 09:56:31 +00:00
|
|
|
"clap",
|
|
|
|
"clap_utils",
|
|
|
|
"deposit_contract",
|
2020-09-29 00:02:44 +00:00
|
|
|
"directory",
|
2020-10-05 08:22:19 +00:00
|
|
|
"dirs 3.0.1",
|
2020-05-10 09:56:31 +00:00
|
|
|
"environment",
|
2021-03-30 05:17:58 +00:00
|
|
|
"eth1_test_rig",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"eth2_keystore",
|
2020-06-19 04:13:23 +00:00
|
|
|
"eth2_libp2p",
|
2020-12-08 05:41:10 +00:00
|
|
|
"eth2_network_config",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_ssz",
|
2021-01-19 08:42:30 +00:00
|
|
|
"eth2_wallet",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-05-10 09:56:31 +00:00
|
|
|
"genesis",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-08-04 07:44:53 +00:00
|
|
|
"lighthouse_version",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"rand 0.7.3",
|
2020-05-10 09:56:31 +00:00
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_yaml",
|
|
|
|
"simple_logger",
|
|
|
|
"state_processing",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"tree_hash",
|
|
|
|
"types",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"validator_dir",
|
2021-03-30 05:17:58 +00:00
|
|
|
"web3",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "leveldb"
|
2020-09-21 11:53:53 +00:00
|
|
|
version = "0.8.6"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-21 11:53:53 +00:00
|
|
|
checksum = "32651baaaa5596b3a6e0bee625e73fd0334c167db0ea5ac68750ef9a629a2d6a"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"db-key",
|
|
|
|
"leveldb-sys",
|
|
|
|
"libc",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "leveldb-sys"
|
2020-10-09 02:05:30 +00:00
|
|
|
version = "2.0.8"
|
2020-09-21 11:53:53 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-09 02:05:30 +00:00
|
|
|
checksum = "618aee5ba3d32cb8456420a9a454aa71c1af5b3e9c7a2ec20a0f3cbbe47246cb"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-06-06 06:39:42 +00:00
|
|
|
"cmake",
|
2020-05-10 09:56:31 +00:00
|
|
|
"libc",
|
2020-06-06 06:39:42 +00:00
|
|
|
"num_cpus",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "levenshtein"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.0.5"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "db13adb97ab515a3691f56e4dbab09283d0b86cb45abd991d8634a9d6f501760"
|
2020-11-19 04:04:52 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libc"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "0.2.88"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "03b07a082330a35e43f63177cc01689da34fbffa0105e1246cf0311472cac73a"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libflate"
|
2020-10-28 22:19:38 +00:00
|
|
|
version = "1.0.3"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-28 22:19:38 +00:00
|
|
|
checksum = "389de7875e06476365974da3e7ff85d55f1972188ccd9f6020dd7c8156e17914"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"adler32",
|
|
|
|
"crc32fast",
|
2020-05-17 11:16:48 +00:00
|
|
|
"libflate_lz77",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rle-decode-fast",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libflate_lz77"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3286f09f7d4926fc486334f28d8d2e6ebe4f7f9994494b6dab27ddfad2c9b11b"
|
|
|
|
|
2020-05-11 08:43:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libm"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a"
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libnghttp2-sys"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.1.6+1.43.0"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "0af55541a8827e138d59ec9e5877fb6095ece63fb6f4da45e7491b4fbd262855"
|
2020-11-19 04:04:52 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libp2p"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.35.1"
|
2021-02-10 23:29:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "adc225a49973cf9ab10d0cdd6a4b8f0cda299df9b760824bbb623f15f8f0c95a"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-07-29 03:40:22 +00:00
|
|
|
"atomic",
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
2021-02-10 23:29:49 +00:00
|
|
|
"libp2p-core",
|
2020-05-10 09:56:31 +00:00
|
|
|
"libp2p-dns",
|
|
|
|
"libp2p-gossipsub",
|
|
|
|
"libp2p-identify",
|
|
|
|
"libp2p-mplex",
|
|
|
|
"libp2p-noise",
|
|
|
|
"libp2p-swarm",
|
2021-03-02 05:59:49 +00:00
|
|
|
"libp2p-swarm-derive",
|
2020-06-29 10:25:42 +00:00
|
|
|
"libp2p-tcp",
|
2020-05-10 09:56:31 +00:00
|
|
|
"libp2p-websocket",
|
2020-11-06 04:14:14 +00:00
|
|
|
"libp2p-yamux",
|
2021-02-10 23:29:49 +00:00
|
|
|
"parity-multiaddr",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2021-03-02 05:59:49 +00:00
|
|
|
"pin-project 1.0.5",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2020-05-10 09:56:31 +00:00
|
|
|
"wasm-timer",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-core"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.27.1"
|
2020-10-05 05:16:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "8a2d56aadc2c2bf22cd7797f86e56a65b5b3994a0136b65be3106938acae7a26"
|
2020-06-29 10:25:42 +00:00
|
|
|
dependencies = [
|
|
|
|
"asn1_der",
|
2020-11-28 05:30:57 +00:00
|
|
|
"bs58 0.4.0",
|
2020-06-29 10:25:42 +00:00
|
|
|
"ed25519-dalek",
|
|
|
|
"either",
|
|
|
|
"fnv",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-06-29 10:25:42 +00:00
|
|
|
"futures-timer",
|
|
|
|
"lazy_static",
|
|
|
|
"libsecp256k1",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2021-02-10 23:29:49 +00:00
|
|
|
"multihash",
|
|
|
|
"multistream-select",
|
|
|
|
"parity-multiaddr",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2021-03-02 05:59:49 +00:00
|
|
|
"pin-project 1.0.5",
|
2020-06-29 10:25:42 +00:00
|
|
|
"prost",
|
|
|
|
"prost-build",
|
|
|
|
"rand 0.7.3",
|
|
|
|
"ring",
|
|
|
|
"rw-stream-sink",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2020-06-29 10:25:42 +00:00
|
|
|
"thiserror",
|
2021-03-02 05:59:49 +00:00
|
|
|
"unsigned-varint 0.7.0",
|
2020-06-29 10:25:42 +00:00
|
|
|
"void",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libp2p-dns"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.27.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5153b6db68fd4baa3b304e377db744dd8fea8ff4e4504509ee636abcde88d3e3"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2021-02-10 23:29:49 +00:00
|
|
|
"libp2p-core",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-gossipsub"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.28.0"
|
2021-02-10 23:29:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "502dc5fcbfec4aa1c63ef3f7307ffe20e90c1a1387bf23ed0bec087f2dde58a1"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"asynchronous-codec",
|
2020-11-06 04:14:14 +00:00
|
|
|
"base64 0.13.0",
|
2020-05-17 11:16:48 +00:00
|
|
|
"byteorder",
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2020-05-10 09:56:31 +00:00
|
|
|
"fnv",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-07-29 03:40:22 +00:00
|
|
|
"hex_fmt",
|
2021-02-10 23:29:49 +00:00
|
|
|
"libp2p-core",
|
2020-05-10 09:56:31 +00:00
|
|
|
"libp2p-swarm",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-17 11:16:48 +00:00
|
|
|
"prost",
|
|
|
|
"prost-build",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rand 0.7.3",
|
2020-12-23 07:53:36 +00:00
|
|
|
"regex",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2021-03-02 05:59:49 +00:00
|
|
|
"unsigned-varint 0.7.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"wasm-timer",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2020-05-17 11:16:48 +00:00
|
|
|
name = "libp2p-identify"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.27.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b40fb36a059b7a8cce1514bd8b546fa612e006c9937caa7f5950cb20021fe91e"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2021-02-10 23:29:49 +00:00
|
|
|
"libp2p-core",
|
2020-05-10 09:56:31 +00:00
|
|
|
"libp2p-swarm",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-17 11:16:48 +00:00
|
|
|
"prost",
|
|
|
|
"prost-build",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2020-05-10 09:56:31 +00:00
|
|
|
"wasm-timer",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-mplex"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.27.1"
|
2021-02-10 23:29:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "350ce8b3923594aedabd5d6e3f875d058435052a29c3f32df378bc70d10be464"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"asynchronous-codec",
|
|
|
|
"bytes 1.0.1",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2021-02-10 23:29:49 +00:00
|
|
|
"libp2p-core",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-11-06 04:14:14 +00:00
|
|
|
"nohash-hasher",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-11-06 04:14:14 +00:00
|
|
|
"rand 0.7.3",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2021-03-02 05:59:49 +00:00
|
|
|
"unsigned-varint 0.7.0",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-noise"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.29.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4aca322b52a0c5136142a7c3971446fb1e9964923a526c9cc6ef3b7c94e57778"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2020-10-05 07:45:54 +00:00
|
|
|
"curve25519-dalek",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
2021-02-10 23:29:49 +00:00
|
|
|
"libp2p-core",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-17 11:16:48 +00:00
|
|
|
"prost",
|
|
|
|
"prost-build",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rand 0.7.3",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
2020-05-10 09:56:31 +00:00
|
|
|
"snow",
|
2020-05-17 11:16:48 +00:00
|
|
|
"static_assertions",
|
2020-05-10 09:56:31 +00:00
|
|
|
"x25519-dalek",
|
2020-05-17 11:16:48 +00:00
|
|
|
"zeroize",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-swarm"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.27.2"
|
2021-02-10 23:29:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "7955b973e1fd2bd61ffd43ce261c1223f61f4aacd5bae362a924993f9a25fd98"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-08-30 13:06:50 +00:00
|
|
|
"either",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2021-02-10 23:29:49 +00:00
|
|
|
"libp2p-core",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-17 11:16:48 +00:00
|
|
|
"rand 0.7.3",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2020-05-10 09:56:31 +00:00
|
|
|
"void",
|
|
|
|
"wasm-timer",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2021-03-02 05:59:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libp2p-swarm-derive"
|
|
|
|
version = "0.22.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c564ebaa36a64839f51eaddb0243aaaa29ce64affb56129193cc3248b72af273"
|
|
|
|
dependencies = [
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libp2p-tcp"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.27.1"
|
2021-02-10 23:29:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "88a5aef80e519a6cb8e2663605142f97baaaea1a252eecbf8756184765f7471b"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"async-io",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-05-17 11:16:48 +00:00
|
|
|
"futures-timer",
|
2020-11-06 04:14:14 +00:00
|
|
|
"if-addrs",
|
2021-02-10 23:29:49 +00:00
|
|
|
"if-watch",
|
2020-05-10 09:56:31 +00:00
|
|
|
"ipnet",
|
2021-02-10 23:29:49 +00:00
|
|
|
"libc",
|
|
|
|
"libp2p-core",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-26 20:34:15 +00:00
|
|
|
"socket2",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-websocket"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.28.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d3b1c6a3431045da8b925ed83384e4c5163e14b990572307fca9c507435d4d22"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"either",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2021-02-10 23:29:49 +00:00
|
|
|
"futures-rustls",
|
|
|
|
"libp2p-core",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-17 11:16:48 +00:00
|
|
|
"quicksink",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rw-stream-sink",
|
|
|
|
"soketto",
|
2020-12-09 01:34:58 +00:00
|
|
|
"url",
|
2020-10-05 05:16:27 +00:00
|
|
|
"webpki-roots",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-06 04:14:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libp2p-yamux"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.30.1"
|
2021-02-10 23:29:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "4819358c542a86ff95f6ae691efb4b94ddaf477079b01a686f5705b79bfc232a"
|
2020-11-06 04:14:14 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2021-02-10 23:29:49 +00:00
|
|
|
"libp2p-core",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-11-06 04:14:14 +00:00
|
|
|
"thiserror",
|
|
|
|
"yamux",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libsecp256k1"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.3.5"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "1fc1e2c808481a63dc6da2074752fdd4336a3c8fcc68b83db6f1fd5224ae7962"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"arrayref",
|
2020-05-17 11:16:48 +00:00
|
|
|
"crunchy",
|
2020-07-01 08:01:03 +00:00
|
|
|
"digest 0.8.1",
|
2020-05-10 09:56:31 +00:00
|
|
|
"hmac-drbg",
|
|
|
|
"rand 0.7.3",
|
2020-07-01 08:01:03 +00:00
|
|
|
"sha2 0.8.2",
|
2020-12-23 07:53:36 +00:00
|
|
|
"subtle 2.4.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"typenum",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-18 06:25:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libsqlite3-sys"
|
2020-10-09 02:05:30 +00:00
|
|
|
version = "0.20.1"
|
2020-05-18 06:25:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-09 02:05:30 +00:00
|
|
|
checksum = "64d31059f22935e6c31830db5249ba2b7ecd54fd73a9909286f0a67aa55c2fbd"
|
2020-05-18 06:25:16 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libz-sys"
|
2020-09-07 06:47:05 +00:00
|
|
|
version = "1.1.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-07 06:47:05 +00:00
|
|
|
checksum = "602113192b08db8f38796c4e85c39e960c145965140e918018bcde1952429655"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"cc",
|
2020-10-05 08:22:19 +00:00
|
|
|
"libc",
|
2020-05-10 09:56:31 +00:00
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lighthouse"
|
2021-03-30 04:07:03 +00:00
|
|
|
version = "1.2.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"account_manager",
|
2020-07-29 04:32:50 +00:00
|
|
|
"account_utils",
|
2020-05-10 09:56:31 +00:00
|
|
|
"beacon_node",
|
2020-07-31 05:00:39 +00:00
|
|
|
"bls",
|
2020-06-19 06:30:07 +00:00
|
|
|
"boot_node",
|
2020-05-10 09:56:31 +00:00
|
|
|
"clap",
|
|
|
|
"clap_utils",
|
2020-09-29 00:02:44 +00:00
|
|
|
"directory",
|
Handle early blocks (#2155)
## Issue Addressed
NA
## Problem this PR addresses
There's an issue where Lighthouse is banning a lot of peers due to the following sequence of events:
1. Gossip block 0xabc arrives ~200ms early
- It is propagated across the network, with respect to [`MAXIMUM_GOSSIP_CLOCK_DISPARITY`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/p2p-interface.md#why-is-there-maximum_gossip_clock_disparity-when-validating-slot-ranges-of-messages-in-gossip-subnets).
- However, it is not imported to our database since the block is early.
2. Attestations for 0xabc arrive, but the block was not imported.
- The peer that sent the attestation is down-voted.
- Each unknown-block attestation causes a score loss of 1, the peer is banned at -100.
- When the peer is on an attestation subnet there can be hundreds of attestations, so the peer is banned quickly (before the missed block can be obtained via rpc).
## Potential solutions
I can think of three solutions to this:
1. Wait for attestation-queuing (#635) to arrive and solve this.
- Easy
- Not immediate fix.
- Whilst this would work, I don't think it's a perfect solution for this particular issue, rather (3) is better.
1. Allow importing blocks with a tolerance of `MAXIMUM_GOSSIP_CLOCK_DISPARITY`.
- Easy
- ~~I have implemented this, for now.~~
1. If a block is verified for gossip propagation (i.e., signature verified) and it's within `MAXIMUM_GOSSIP_CLOCK_DISPARITY`, then queue it to be processed at the start of the appropriate slot.
- More difficult
- Feels like the best solution, I will try to implement this.
**This PR takes approach (3).**
## Changes included
- Implement the `block_delay_queue`, based upon a [`DelayQueue`](https://docs.rs/tokio-util/0.6.3/tokio_util/time/delay_queue/struct.DelayQueue.html) which can store blocks until it's time to import them.
- Add a new `DelayedImportBlock` variant to the `beacon_processor::WorkEvent` enum to handle this new event.
- In the `BeaconProcessor`, refactor a `tokio::select!` to a struct with an explicit `Stream` implementation. I experienced some issues with `tokio::select!` in the block delay queue and I also found it hard to debug. I think this explicit implementation is nicer and functionally equivalent (apart from the fact that `tokio::select!` randomly chooses futures to poll, whereas now we're deterministic).
- Add a testing framework to the `beacon_processor` module that tests this new block delay logic. I also tested a handful of other operations in the beacon processor (attns, slashings, exits) since it was super easy to copy-pasta the code from the `http_api` tester.
- To implement these tests I added the concept of an optional `work_journal_tx` to the `BeaconProcessor` which will spit out a log of events. I used this in the tests to ensure that things were happening as I expect.
- The tests are a little racey, but it's hard to avoid that when testing timing-based code. If we see CI failures I can revise. I haven't observed *any* failures due to races on my machine or on CI yet.
- To assist with testing I allowed for directly setting the time on the `ManualSlotClock`.
- I gave the `beacon_processor::Worker` a `Toolbox` for two reasons; (a) it avoids changing tons of function sigs when you want to pass a new object to the worker and (b) it seemed cute.
2021-02-24 03:08:52 +00:00
|
|
|
"env_logger 0.8.3",
|
2020-05-10 09:56:31 +00:00
|
|
|
"environment",
|
2020-12-08 05:41:10 +00:00
|
|
|
"eth2_network_config",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2021-03-02 22:35:47 +00:00
|
|
|
"lazy_static",
|
|
|
|
"lighthouse_metrics",
|
2020-08-04 07:44:53 +00:00
|
|
|
"lighthouse_version",
|
2020-05-10 09:56:31 +00:00
|
|
|
"logging",
|
2020-11-06 06:17:11 +00:00
|
|
|
"remote_signer",
|
2020-10-02 01:42:27 +00:00
|
|
|
"slashing_protection",
|
2020-05-10 09:56:31 +00:00
|
|
|
"slog",
|
|
|
|
"slog-async",
|
|
|
|
"slog-term",
|
|
|
|
"sloggers",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"tempfile",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"types",
|
|
|
|
"validator_client",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"validator_dir",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lighthouse_metrics"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
|
|
|
"prometheus",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-08-04 07:44:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lighthouse_version"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"git-version",
|
2021-02-23 23:31:37 +00:00
|
|
|
"regex",
|
2020-08-04 07:44:53 +00:00
|
|
|
"target_info",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "linked-hash-map"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.5.4"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-11-23 03:43:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lmdb"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5b0908efb5d6496aa977d96f91413da2635a902e5e31dbef0bfb88986c248539"
|
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"bitflags",
|
2020-11-23 03:43:22 +00:00
|
|
|
"libc",
|
|
|
|
"lmdb-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lmdb-sys"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d5b392838cfe8858e86fac37cf97a0e8c55cc60ba0a18365cadc33092f128ce9"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"pkg-config",
|
|
|
|
]
|
|
|
|
|
2020-07-06 01:55:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lock_api"
|
2020-11-24 00:44:40 +00:00
|
|
|
version = "0.4.2"
|
2020-07-06 01:55:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-24 00:44:40 +00:00
|
|
|
checksum = "dd96ffd135b2fd7b973ac026d28085defbe8983df057ced3eb4f2130b0831312"
|
2020-07-06 01:55:56 +00:00
|
|
|
dependencies = [
|
|
|
|
"scopeguard",
|
|
|
|
]
|
|
|
|
|
2020-11-26 11:25:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lockfile"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"fs2",
|
2021-01-06 06:36:11 +00:00
|
|
|
"tempfile",
|
2020-11-26 11:25:46 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "log"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.4.14"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"value-bag",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "logging"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
|
|
|
"lighthouse_metrics",
|
|
|
|
"slog",
|
|
|
|
"slog-term",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-06-06 06:39:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lru"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.6.5"
|
2020-05-18 06:25:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "1f374d42cdfc1d7dbf3d3dec28afab2eb97ffbf43a3234d795b5986dbf4b90ba"
|
2020-05-18 06:25:16 +00:00
|
|
|
dependencies = [
|
2020-11-02 23:55:15 +00:00
|
|
|
"hashbrown",
|
2020-05-18 06:25:16 +00:00
|
|
|
]
|
|
|
|
|
2020-08-18 03:54:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lru_cache"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"fnv",
|
|
|
|
]
|
|
|
|
|
2020-06-19 04:13:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lru_time_cache"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "0.11.10"
|
2020-06-19 04:13:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "991058cf0e7f161b37a4a610ddbada9d2f051d0db76369b973de9f3466f1cba3"
|
2020-06-19 04:13:23 +00:00
|
|
|
|
2020-05-29 02:03:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mach"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2020-07-29 06:39:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "maplit"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
|
|
|
|
|
2020-10-23 04:16:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "matchers"
|
|
|
|
version = "0.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1"
|
|
|
|
dependencies = [
|
|
|
|
"regex-automata",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "matches"
|
|
|
|
version = "0.1.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "memchr"
|
2020-10-28 22:19:38 +00:00
|
|
|
version = "2.3.4"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-28 22:19:38 +00:00
|
|
|
checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-11-27 09:48:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "memoffset"
|
|
|
|
version = "0.6.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "157b4208e3059a8f9e78d559edc658e13df41410cb3ae03979c83130067fdd87"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg 1.0.1",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "merkle_proof"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_hashing",
|
|
|
|
"ethereum-types",
|
|
|
|
"lazy_static",
|
|
|
|
"quickcheck",
|
|
|
|
"quickcheck_macros",
|
|
|
|
"safe_arith",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "milagro_bls"
|
2021-03-16 03:11:51 +00:00
|
|
|
version = "1.4.2"
|
|
|
|
source = "git+https://github.com/sigp/milagro_bls?tag=v1.4.2#16655aa033175a90c10ef02aa144e2835de23aec"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"amcl",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
|
|
|
"rand 0.7.3",
|
2020-05-17 11:16:48 +00:00
|
|
|
"zeroize",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "mime"
|
2020-01-10 03:35:07 +00:00
|
|
|
version = "0.3.16"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "mime_guess"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "2.0.3"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "2684d4c2e97d99848d30b324b00c8fcc7e5c897b7cbb5819b09e7c90e8baf212"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"mime",
|
|
|
|
"unicase",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-07-06 01:55:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "miniz_oxide"
|
2020-10-05 08:22:19 +00:00
|
|
|
version = "0.3.7"
|
2020-07-06 01:55:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 08:22:19 +00:00
|
|
|
checksum = "791daaae1ed6889560f8c4359194f56648355540573244a5448a83ba1ecc7435"
|
|
|
|
dependencies = [
|
|
|
|
"adler32",
|
|
|
|
]
|
|
|
|
|
2020-07-06 01:55:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "miniz_oxide"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.4.4"
|
2020-07-06 01:55:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b"
|
2020-07-06 01:55:56 +00:00
|
|
|
dependencies = [
|
|
|
|
"adler",
|
2020-09-18 06:41:29 +00:00
|
|
|
"autocfg 1.0.1",
|
2020-07-06 01:55:56 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mio"
|
2020-12-04 00:18:58 +00:00
|
|
|
version = "0.6.23"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-04 00:18:58 +00:00
|
|
|
checksum = "4afd66f5b91bf2a3bc13fad0e21caedac168ca4c707504e75585648ae80e4cc4"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-10-23 04:16:33 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-05-10 09:56:31 +00:00
|
|
|
"fuchsia-zircon",
|
|
|
|
"fuchsia-zircon-sys",
|
|
|
|
"iovec",
|
|
|
|
"kernel32-sys",
|
|
|
|
"libc",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-11-28 13:22:37 +00:00
|
|
|
"miow 0.2.2",
|
2020-05-10 09:56:31 +00:00
|
|
|
"net2",
|
2020-12-09 01:34:58 +00:00
|
|
|
"slab",
|
2020-05-10 09:56:31 +00:00
|
|
|
"winapi 0.2.8",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mio"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.7.9"
|
2020-11-28 05:30:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "a5dede4e2065b3842b8b0af444119f3aa331cc7cc2dd20388bfb0f5d5a38823a"
|
2020-11-28 05:30:57 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-11-28 05:30:57 +00:00
|
|
|
"miow 0.3.6",
|
|
|
|
"ntapi",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2020-12-14 02:28:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mio-named-pipes"
|
|
|
|
version = "0.1.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656"
|
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"mio 0.6.23",
|
|
|
|
"miow 0.3.6",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "mio-uds"
|
|
|
|
version = "0.6.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0"
|
|
|
|
dependencies = [
|
|
|
|
"iovec",
|
|
|
|
"libc",
|
|
|
|
"mio 0.6.23",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "miow"
|
2020-11-28 13:22:37 +00:00
|
|
|
version = "0.2.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-28 13:22:37 +00:00
|
|
|
checksum = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"kernel32-sys",
|
|
|
|
"net2",
|
|
|
|
"winapi 0.2.8",
|
|
|
|
"ws2_32-sys",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "miow"
|
2020-11-18 00:44:28 +00:00
|
|
|
version = "0.3.6"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-18 00:44:28 +00:00
|
|
|
checksum = "5a33c1b55807fbed163481b5ba66db4b2fa6cde694a5027be10fb724206c5897"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"socket2",
|
|
|
|
"winapi 0.3.9",
|
2020-11-28 05:30:57 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "multihash"
|
2020-12-07 08:20:33 +00:00
|
|
|
version = "0.13.2"
|
2020-11-28 05:30:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-07 08:20:33 +00:00
|
|
|
checksum = "4dac63698b887d2d929306ea48b63760431ff8a24fac40ddb22f9c7f49fb7cab"
|
2020-11-28 05:30:57 +00:00
|
|
|
dependencies = [
|
|
|
|
"digest 0.9.0",
|
|
|
|
"generic-array 0.14.4",
|
|
|
|
"multihash-derive",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
2021-02-10 23:29:49 +00:00
|
|
|
"unsigned-varint 0.5.1",
|
2020-11-28 05:30:57 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "multihash-derive"
|
2020-12-07 08:20:33 +00:00
|
|
|
version = "0.7.1"
|
2020-11-28 05:30:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-07 08:20:33 +00:00
|
|
|
checksum = "85ee3c48cb9d9b275ad967a0e96715badc13c6029adb92f34fa17b9ff28fd81f"
|
2020-11-28 05:30:57 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro-crate",
|
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"synstructure",
|
2020-05-17 11:16:48 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "multimap"
|
2020-08-27 07:04:12 +00:00
|
|
|
version = "0.8.2"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-27 07:04:12 +00:00
|
|
|
checksum = "1255076139a83bb467426e7f8d0134968a8118844faa755985e077cf31850333"
|
2020-05-17 11:16:48 +00:00
|
|
|
|
2020-09-29 03:46:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "multipart"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.17.1"
|
2020-09-29 03:46:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "d050aeedc89243f5347c3e237e3e13dc76fbe4ae3742a57b94dc14f69acf76d4"
|
2020-09-29 03:46:54 +00:00
|
|
|
dependencies = [
|
|
|
|
"buf_redux",
|
|
|
|
"httparse",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
|
|
|
"mime",
|
2020-09-29 03:46:54 +00:00
|
|
|
"mime_guess",
|
|
|
|
"quick-error",
|
2021-02-10 23:29:49 +00:00
|
|
|
"rand 0.7.3",
|
2020-09-29 03:46:54 +00:00
|
|
|
"safemem",
|
|
|
|
"tempfile",
|
|
|
|
"twoway",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "multistream-select"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.10.2"
|
2020-11-28 05:30:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "7d91ec0a2440aaff5f78ec35631a7027d50386c6163aa975f7caa0d5da4b6ff8"
|
2020-06-29 10:25:42 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2021-03-02 05:59:49 +00:00
|
|
|
"pin-project 1.0.5",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2021-03-02 05:59:49 +00:00
|
|
|
"unsigned-varint 0.7.0",
|
2020-06-29 10:25:42 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "native-tls"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.2.7"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "b8d96b2e1c8da3957d58100b09f102c6d9cfdfced01b7ec5a8974044bb09dbd4"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-10 09:56:31 +00:00
|
|
|
"openssl",
|
|
|
|
"openssl-probe",
|
|
|
|
"openssl-sys",
|
|
|
|
"schannel",
|
|
|
|
"security-framework",
|
|
|
|
"security-framework-sys",
|
|
|
|
"tempfile",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nb-connect"
|
2021-02-15 06:09:54 +00:00
|
|
|
version = "1.0.3"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-15 06:09:54 +00:00
|
|
|
checksum = "670361df1bc2399ee1ff50406a0d422587dd3bb0da596e1978fe8e05dabddf4f"
|
2020-11-19 04:04:52 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2021-02-15 06:09:54 +00:00
|
|
|
"socket2",
|
2020-11-19 04:04:52 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "net2"
|
2020-12-10 04:01:40 +00:00
|
|
|
version = "0.2.37"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-10 04:01:40 +00:00
|
|
|
checksum = "391630d12b68002ae1e25e8f974306474966550ad82dac6886fb8910c19568ae"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-10-23 04:16:33 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-05-10 09:56:31 +00:00
|
|
|
"libc",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "network"
|
2020-08-06 03:43:05 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"beacon_chain",
|
Handle early blocks (#2155)
## Issue Addressed
NA
## Problem this PR addresses
There's an issue where Lighthouse is banning a lot of peers due to the following sequence of events:
1. Gossip block 0xabc arrives ~200ms early
- It is propagated across the network, with respect to [`MAXIMUM_GOSSIP_CLOCK_DISPARITY`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/p2p-interface.md#why-is-there-maximum_gossip_clock_disparity-when-validating-slot-ranges-of-messages-in-gossip-subnets).
- However, it is not imported to our database since the block is early.
2. Attestations for 0xabc arrive, but the block was not imported.
- The peer that sent the attestation is down-voted.
- Each unknown-block attestation causes a score loss of 1, the peer is banned at -100.
- When the peer is on an attestation subnet there can be hundreds of attestations, so the peer is banned quickly (before the missed block can be obtained via rpc).
## Potential solutions
I can think of three solutions to this:
1. Wait for attestation-queuing (#635) to arrive and solve this.
- Easy
- Not immediate fix.
- Whilst this would work, I don't think it's a perfect solution for this particular issue, rather (3) is better.
1. Allow importing blocks with a tolerance of `MAXIMUM_GOSSIP_CLOCK_DISPARITY`.
- Easy
- ~~I have implemented this, for now.~~
1. If a block is verified for gossip propagation (i.e., signature verified) and it's within `MAXIMUM_GOSSIP_CLOCK_DISPARITY`, then queue it to be processed at the start of the appropriate slot.
- More difficult
- Feels like the best solution, I will try to implement this.
**This PR takes approach (3).**
## Changes included
- Implement the `block_delay_queue`, based upon a [`DelayQueue`](https://docs.rs/tokio-util/0.6.3/tokio_util/time/delay_queue/struct.DelayQueue.html) which can store blocks until it's time to import them.
- Add a new `DelayedImportBlock` variant to the `beacon_processor::WorkEvent` enum to handle this new event.
- In the `BeaconProcessor`, refactor a `tokio::select!` to a struct with an explicit `Stream` implementation. I experienced some issues with `tokio::select!` in the block delay queue and I also found it hard to debug. I think this explicit implementation is nicer and functionally equivalent (apart from the fact that `tokio::select!` randomly chooses futures to poll, whereas now we're deterministic).
- Add a testing framework to the `beacon_processor` module that tests this new block delay logic. I also tested a handful of other operations in the beacon processor (attns, slashings, exits) since it was super easy to copy-pasta the code from the `http_api` tester.
- To implement these tests I added the concept of an optional `work_journal_tx` to the `BeaconProcessor` which will spit out a log of events. I used this in the tests to ensure that things were happening as I expect.
- The tests are a little racey, but it's hard to avoid that when testing timing-based code. If we see CI failures I can revise. I haven't observed *any* failures due to races on my machine or on CI yet.
- To assist with testing I allowed for directly setting the time on the `ManualSlotClock`.
- I gave the `beacon_processor::Worker` a `Toolbox` for two reasons; (a) it avoids changing tons of function sigs when you want to pass a new object to the worker and (b) it seemed cute.
2021-02-24 03:08:52 +00:00
|
|
|
"discv5 0.1.0-beta.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
|
|
"environment",
|
2020-05-10 09:56:31 +00:00
|
|
|
"error-chain",
|
2020-06-19 04:13:23 +00:00
|
|
|
"eth2_libp2p",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_ssz",
|
2020-06-12 00:04:50 +00:00
|
|
|
"eth2_ssz_types",
|
2020-06-04 11:48:05 +00:00
|
|
|
"exit-future",
|
2020-05-10 09:56:31 +00:00
|
|
|
"fnv",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-05-10 09:56:31 +00:00
|
|
|
"genesis",
|
2020-05-17 11:16:48 +00:00
|
|
|
"hashset_delay",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-11-06 04:14:14 +00:00
|
|
|
"if-addrs",
|
2020-10-02 08:47:00 +00:00
|
|
|
"igd",
|
2021-03-02 05:59:49 +00:00
|
|
|
"itertools 0.9.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
2020-05-17 11:16:48 +00:00
|
|
|
"lighthouse_metrics",
|
2020-12-08 10:48:45 +00:00
|
|
|
"logging",
|
2020-08-18 03:54:09 +00:00
|
|
|
"lru_cache",
|
2020-05-10 09:56:31 +00:00
|
|
|
"matches",
|
2020-08-14 04:38:45 +00:00
|
|
|
"num_cpus",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rand 0.7.3",
|
2021-02-10 23:29:49 +00:00
|
|
|
"rlp 0.5.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"slog",
|
2020-11-28 05:30:57 +00:00
|
|
|
"slog-async",
|
|
|
|
"slog-term",
|
2020-05-10 09:56:31 +00:00
|
|
|
"sloggers",
|
|
|
|
"slot_clock",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2020-06-18 11:06:34 +00:00
|
|
|
"state_processing",
|
2020-05-10 09:56:31 +00:00
|
|
|
"store",
|
2021-01-19 06:33:58 +00:00
|
|
|
"strum",
|
2020-10-05 07:45:54 +00:00
|
|
|
"task_executor",
|
2020-05-10 09:56:31 +00:00
|
|
|
"tempfile",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2021-02-10 23:29:49 +00:00
|
|
|
"tokio-stream",
|
Handle early blocks (#2155)
## Issue Addressed
NA
## Problem this PR addresses
There's an issue where Lighthouse is banning a lot of peers due to the following sequence of events:
1. Gossip block 0xabc arrives ~200ms early
- It is propagated across the network, with respect to [`MAXIMUM_GOSSIP_CLOCK_DISPARITY`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/p2p-interface.md#why-is-there-maximum_gossip_clock_disparity-when-validating-slot-ranges-of-messages-in-gossip-subnets).
- However, it is not imported to our database since the block is early.
2. Attestations for 0xabc arrive, but the block was not imported.
- The peer that sent the attestation is down-voted.
- Each unknown-block attestation causes a score loss of 1, the peer is banned at -100.
- When the peer is on an attestation subnet there can be hundreds of attestations, so the peer is banned quickly (before the missed block can be obtained via rpc).
## Potential solutions
I can think of three solutions to this:
1. Wait for attestation-queuing (#635) to arrive and solve this.
- Easy
- Not immediate fix.
- Whilst this would work, I don't think it's a perfect solution for this particular issue, rather (3) is better.
1. Allow importing blocks with a tolerance of `MAXIMUM_GOSSIP_CLOCK_DISPARITY`.
- Easy
- ~~I have implemented this, for now.~~
1. If a block is verified for gossip propagation (i.e., signature verified) and it's within `MAXIMUM_GOSSIP_CLOCK_DISPARITY`, then queue it to be processed at the start of the appropriate slot.
- More difficult
- Feels like the best solution, I will try to implement this.
**This PR takes approach (3).**
## Changes included
- Implement the `block_delay_queue`, based upon a [`DelayQueue`](https://docs.rs/tokio-util/0.6.3/tokio_util/time/delay_queue/struct.DelayQueue.html) which can store blocks until it's time to import them.
- Add a new `DelayedImportBlock` variant to the `beacon_processor::WorkEvent` enum to handle this new event.
- In the `BeaconProcessor`, refactor a `tokio::select!` to a struct with an explicit `Stream` implementation. I experienced some issues with `tokio::select!` in the block delay queue and I also found it hard to debug. I think this explicit implementation is nicer and functionally equivalent (apart from the fact that `tokio::select!` randomly chooses futures to poll, whereas now we're deterministic).
- Add a testing framework to the `beacon_processor` module that tests this new block delay logic. I also tested a handful of other operations in the beacon processor (attns, slashings, exits) since it was super easy to copy-pasta the code from the `http_api` tester.
- To implement these tests I added the concept of an optional `work_journal_tx` to the `BeaconProcessor` which will spit out a log of events. I used this in the tests to ensure that things were happening as I expect.
- The tests are a little racey, but it's hard to avoid that when testing timing-based code. If we see CI failures I can revise. I haven't observed *any* failures due to races on my machine or on CI yet.
- To assist with testing I allowed for directly setting the time on the `ManualSlotClock`.
- I gave the `beacon_processor::Worker` a `Toolbox` for two reasons; (a) it avoids changing tons of function sigs when you want to pass a new object to the worker and (b) it seemed cute.
2021-02-24 03:08:52 +00:00
|
|
|
"tokio-util 0.6.3",
|
2020-05-10 09:56:31 +00:00
|
|
|
"tree_hash",
|
|
|
|
"types",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "new_debug_unreachable"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nix"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.17.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "50e4785f2c3b7589a0d0c1dd60285e1188adac4006e8abd6dd578e1567027363"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"bitflags",
|
2020-05-10 09:56:31 +00:00
|
|
|
"cc",
|
2020-10-23 04:16:33 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-05-10 09:56:31 +00:00
|
|
|
"libc",
|
|
|
|
"void",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-10-23 04:16:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nix"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.20.0"
|
2020-10-23 04:16:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "fa9b4819da1bc61c0ea48b63b7bc8604064dd43013e7cc325df098d49cd7c18a"
|
2020-10-23 04:16:33 +00:00
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"bitflags",
|
2020-10-23 04:16:33 +00:00
|
|
|
"cc",
|
2021-03-02 05:59:49 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-10-23 04:16:33 +00:00
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "node_test_rig"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"beacon_node",
|
|
|
|
"environment",
|
2020-09-29 03:46:54 +00:00
|
|
|
"eth2",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_config",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-05-10 09:56:31 +00:00
|
|
|
"genesis",
|
|
|
|
"reqwest",
|
|
|
|
"serde",
|
2021-01-06 06:36:11 +00:00
|
|
|
"tempfile",
|
2020-05-10 09:56:31 +00:00
|
|
|
"types",
|
2020-12-09 01:34:58 +00:00
|
|
|
"url",
|
2020-05-10 09:56:31 +00:00
|
|
|
"validator_client",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"validator_dir",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-06 04:14:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nohash-hasher"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
|
|
|
|
|
2020-05-29 02:03:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nom"
|
|
|
|
version = "2.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cf51a729ecf40266a2368ad335a5fdde43471f545a967109cd62146ecf8b66ff"
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ntapi"
|
|
|
|
version = "0.3.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44"
|
|
|
|
dependencies = [
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-bigint"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "0.3.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "7d0a3d5e207573f948a9e5376662aa743a2ea13f7c50a554d7af443a73fbfeba"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-08-21 12:00:01 +00:00
|
|
|
"autocfg 1.0.1",
|
2020-05-10 09:56:31 +00:00
|
|
|
"num-integer",
|
|
|
|
"num-traits",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-11 08:43:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-bigint-dig"
|
2020-12-07 08:20:33 +00:00
|
|
|
version = "0.6.1"
|
2020-05-11 08:43:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-07 08:20:33 +00:00
|
|
|
checksum = "5d51546d704f52ef14b3c962b5776e53d5b862e5790e40a350d366c209bd7f7a"
|
2020-05-11 08:43:43 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg 0.1.7",
|
2020-05-17 11:16:48 +00:00
|
|
|
"byteorder",
|
2020-05-11 08:43:43 +00:00
|
|
|
"lazy_static",
|
|
|
|
"libm",
|
|
|
|
"num-integer",
|
|
|
|
"num-iter",
|
|
|
|
"num-traits",
|
|
|
|
"rand 0.7.3",
|
|
|
|
"serde",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2020-05-17 11:16:48 +00:00
|
|
|
"zeroize",
|
2020-05-11 08:43:43 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-integer"
|
2020-11-02 23:55:15 +00:00
|
|
|
version = "0.1.44"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-02 23:55:15 +00:00
|
|
|
checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-08-21 12:00:01 +00:00
|
|
|
"autocfg 1.0.1",
|
2020-05-10 09:56:31 +00:00
|
|
|
"num-traits",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-11 08:43:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-iter"
|
2020-11-02 23:55:15 +00:00
|
|
|
version = "0.1.42"
|
2020-05-11 08:43:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-02 23:55:15 +00:00
|
|
|
checksum = "b2021c8337a54d21aca0d59a92577a029af9431cb59b909b03252b9c164fad59"
|
2020-05-11 08:43:43 +00:00
|
|
|
dependencies = [
|
2020-08-21 12:00:01 +00:00
|
|
|
"autocfg 1.0.1",
|
2020-05-11 08:43:43 +00:00
|
|
|
"num-integer",
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-traits"
|
2020-11-02 23:55:15 +00:00
|
|
|
version = "0.2.14"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-02 23:55:15 +00:00
|
|
|
checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-08-21 12:00:01 +00:00
|
|
|
"autocfg 1.0.1",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "num_cpus"
|
2020-04-21 15:05:46 +00:00
|
|
|
version = "1.13.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"hermit-abi",
|
|
|
|
"libc",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-26 20:34:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "object"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.23.0"
|
2020-05-26 20:34:15 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "a9a7ab5d64814df0fe4a4b5ead45ed6c5f181ee3ff04ba344313a6c80446c5d4"
|
2020-05-26 20:34:15 +00:00
|
|
|
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "once_cell"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "1.7.2"
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3"
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
]
|
|
|
|
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "oorandom"
|
2020-11-24 00:44:40 +00:00
|
|
|
version = "11.1.3"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-24 00:44:40 +00:00
|
|
|
checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "opaque-debug"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-07-06 01:55:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "opaque-debug"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl"
|
2020-12-28 23:38:02 +00:00
|
|
|
version = "0.10.32"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-28 23:38:02 +00:00
|
|
|
checksum = "038d43985d1ddca7a9900630d8cd031b56e4794eecc2e9ea39dd17aa04399a70"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"bitflags",
|
2020-12-10 04:01:40 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"foreign-types",
|
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
|
|
|
"openssl-sys",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "openssl-probe"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-08-11 05:16:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-src"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "111.14.0+1.1.1j"
|
2020-08-11 05:16:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "055b569b5bd7e5462a1700f595c7c7d487691d73b5ce064176af7f9f0cbb80a9"
|
2020-08-11 05:16:30 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-sys"
|
2020-12-28 23:38:02 +00:00
|
|
|
version = "0.9.60"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-28 23:38:02 +00:00
|
|
|
checksum = "921fc71883267538946025deffb622905ecad223c28efbfdef9bb59a0175f3e6"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-08-21 12:00:01 +00:00
|
|
|
"autocfg 1.0.1",
|
2020-05-10 09:56:31 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
2020-08-11 05:16:30 +00:00
|
|
|
"openssl-src",
|
2020-05-10 09:56:31 +00:00
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "operation_pool"
|
2020-08-06 03:43:05 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_ssz",
|
|
|
|
"eth2_ssz_derive",
|
|
|
|
"int_to_bytes",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rand 0.7.3",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"state_processing",
|
|
|
|
"store",
|
|
|
|
"types",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parity-multiaddr"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.11.1"
|
2020-11-28 05:30:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "d2c6805f98667a3828afb2ec2c396a8d610497e8d546f5447188aae47c5a79ec"
|
2020-06-29 10:25:42 +00:00
|
|
|
dependencies = [
|
|
|
|
"arrayref",
|
2020-11-13 06:06:35 +00:00
|
|
|
"bs58 0.4.0",
|
2020-06-29 10:25:42 +00:00
|
|
|
"byteorder",
|
|
|
|
"data-encoding",
|
2021-02-10 23:29:49 +00:00
|
|
|
"multihash",
|
2020-12-09 01:34:58 +00:00
|
|
|
"percent-encoding",
|
2020-06-29 10:25:42 +00:00
|
|
|
"serde",
|
|
|
|
"static_assertions",
|
2021-03-02 05:59:49 +00:00
|
|
|
"unsigned-varint 0.7.0",
|
2020-12-09 01:34:58 +00:00
|
|
|
"url",
|
2020-06-29 10:25:42 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "parity-scale-codec"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.3.7"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "a4b26b16c7687c3075982af47719e481815df30bc544f7a6690763a25ca16e9d"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-06-29 10:25:42 +00:00
|
|
|
"arrayvec",
|
2020-10-05 08:22:19 +00:00
|
|
|
"bitvec 0.17.4",
|
2020-05-10 09:56:31 +00:00
|
|
|
"byte-slice-cast",
|
|
|
|
"serde",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "parking"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72"
|
|
|
|
|
2020-07-06 01:55:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "parking_lot"
|
2020-11-24 00:44:40 +00:00
|
|
|
version = "0.11.1"
|
2020-07-06 01:55:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-24 00:44:40 +00:00
|
|
|
checksum = "6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb"
|
2020-07-06 01:55:56 +00:00
|
|
|
dependencies = [
|
|
|
|
"instant",
|
2020-12-09 01:34:58 +00:00
|
|
|
"lock_api",
|
|
|
|
"parking_lot_core",
|
2020-07-06 01:55:56 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.8.3"
|
2020-07-06 01:55:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018"
|
2020-07-06 01:55:56 +00:00
|
|
|
dependencies = [
|
2020-12-10 04:01:40 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-07-06 01:55:56 +00:00
|
|
|
"instant",
|
2020-05-10 09:56:31 +00:00
|
|
|
"libc",
|
2021-03-02 05:59:49 +00:00
|
|
|
"redox_syscall 0.2.5",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-07-01 08:01:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pbkdf2"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "216eaa586a190f0a738f2f918511eecfa90f13295abec0e457cdebcceda80cbd"
|
|
|
|
dependencies = [
|
|
|
|
"crypto-mac 0.8.0",
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
]
|
|
|
|
|
2020-07-01 08:01:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pbkdf2"
|
2020-12-07 08:20:33 +00:00
|
|
|
version = "0.6.0"
|
2020-07-01 08:01:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-07 08:20:33 +00:00
|
|
|
checksum = "b3b8c0d71734018084da0c0354193a5edfb81b20d2d57a92c5b154aefc554a4a"
|
2020-07-01 08:01:03 +00:00
|
|
|
dependencies = [
|
2020-12-07 08:20:33 +00:00
|
|
|
"crypto-mac 0.10.0",
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "percent-encoding"
|
|
|
|
version = "2.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "petgraph"
|
2020-05-26 20:34:15 +00:00
|
|
|
version = "0.5.1"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-26 20:34:15 +00:00
|
|
|
checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"fixedbitset",
|
|
|
|
"indexmap",
|
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "phf_shared"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7"
|
|
|
|
dependencies = [
|
|
|
|
"siphasher",
|
|
|
|
]
|
|
|
|
|
2020-12-28 23:38:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pico-args"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "0.4.0"
|
2020-12-28 23:38:02 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "d70072c20945e1ab871c472a285fc772aefd4f5407723c206242f2c6f94595d6"
|
2020-12-28 23:38:02 +00:00
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pin-project"
|
2020-10-23 04:16:33 +00:00
|
|
|
version = "0.4.27"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 04:16:33 +00:00
|
|
|
checksum = "2ffbc8e94b38ea3d2d8ba92aea2983b503cd75d0888d75b86bb37970b5698e15"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
2020-10-23 04:16:33 +00:00
|
|
|
"pin-project-internal 0.4.27",
|
2020-10-23 03:01:31 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-project"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.0.5"
|
2020-10-23 03:01:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "96fa8ebb90271c4477f144354485b8068bd8f6b78b428b01ba892ca26caf0b63"
|
2020-10-23 03:01:31 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"pin-project-internal 1.0.5",
|
2020-05-17 11:16:48 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-project-internal"
|
2020-10-23 04:16:33 +00:00
|
|
|
version = "0.4.27"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 04:16:33 +00:00
|
|
|
checksum = "65ad2ae56b6abe3a1ee25f15ee605bacadb9a764edaba9c2bf4103800d4a1895"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2020-10-23 03:01:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pin-project-internal"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.0.5"
|
2020-10-23 03:01:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "758669ae3558c6f74bd2a18b41f7ac0b5a195aea6639d6a9b5e5d1ad5ba24c0b"
|
2020-10-23 03:01:31 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pin-project-lite"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "0.1.12"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777"
|
2020-05-17 11:16:48 +00:00
|
|
|
|
2020-11-24 00:44:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pin-project-lite"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "0.2.6"
|
2020-11-24 00:44:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "dc0e1f259c92177c30a4c9d177246edd0a3568b25756a977d0632cf8fa37e905"
|
2020-11-24 00:44:40 +00:00
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pin-utils"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
|
|
|
|
2021-02-10 23:29:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pkcs8"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b4839a901843f3942576e65857f0ebf2e190ef7024d3c62a94099ba3f819ad1d"
|
|
|
|
dependencies = [
|
|
|
|
"der",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pkg-config"
|
2020-10-23 04:16:33 +00:00
|
|
|
version = "0.3.19"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 04:16:33 +00:00
|
|
|
checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
|
2020-05-29 02:03:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "platforms"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "feb3b2b1033b8a60b4da6ee470325f887758c95d5320f52f9ce0df055a55940e"
|
|
|
|
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "plotters"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.0"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "45ca0ae5f169d0917a7c7f5a9c1a3d3d9598f18f529dd2b8373ed988efea307a"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"num-traits",
|
2021-03-02 05:59:49 +00:00
|
|
|
"plotters-backend",
|
|
|
|
"plotters-svg",
|
2020-05-10 09:56:31 +00:00
|
|
|
"wasm-bindgen",
|
|
|
|
"web-sys",
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
]
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2021-03-02 05:59:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "plotters-backend"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b07fffcddc1cb3a1de753caa4e4df03b79922ba43cf882acc1bdd7e8df9f4590"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "plotters-svg"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b38a02e23bd9604b842a812063aec4ef702b57989c37b655254bb61c471ad211"
|
|
|
|
dependencies = [
|
|
|
|
"plotters-backend",
|
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "polling"
|
|
|
|
version = "2.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a2a7bc6b2a29e632e45451c941832803a18cce6781db04de8a04696cdca8bde4"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 0.1.10",
|
|
|
|
"libc",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-11-19 04:04:52 +00:00
|
|
|
"wepoll-sys",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2020-06-29 10:25:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "poly1305"
|
2020-12-14 02:28:19 +00:00
|
|
|
version = "0.6.2"
|
2020-06-29 10:25:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-14 02:28:19 +00:00
|
|
|
checksum = "4b7456bc1ad2d4cf82b3a016be4c2ac48daf11bf990c1603ebd447fe6f30fca8"
|
2020-06-29 10:25:42 +00:00
|
|
|
dependencies = [
|
2020-12-14 02:28:19 +00:00
|
|
|
"cpuid-bool 0.2.0",
|
2020-06-29 10:25:42 +00:00
|
|
|
"universal-hash",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "polyval"
|
2020-12-28 23:38:02 +00:00
|
|
|
version = "0.4.5"
|
2020-06-29 10:25:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-28 23:38:02 +00:00
|
|
|
checksum = "eebcc4aa140b9abd2bc40d9c3f7ccec842679cd79045ac3a7ac698c1a064b7cd"
|
2020-06-29 10:25:42 +00:00
|
|
|
dependencies = [
|
2020-12-10 04:01:40 +00:00
|
|
|
"cpuid-bool 0.2.0",
|
2020-12-28 23:38:02 +00:00
|
|
|
"opaque-debug 0.3.0",
|
2020-06-29 10:25:42 +00:00
|
|
|
"universal-hash",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ppv-lite86"
|
2020-11-02 23:55:15 +00:00
|
|
|
version = "0.2.10"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-02 23:55:15 +00:00
|
|
|
checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "precomputed-hash"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "primitive-types"
|
2020-11-13 06:06:35 +00:00
|
|
|
version = "0.7.3"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-13 06:06:35 +00:00
|
|
|
checksum = "7dd39dcacf71411ba488570da7bbc89b717225e46478b30ba99b92db6b149809"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"fixed-hash",
|
|
|
|
"impl-codec",
|
|
|
|
"impl-rlp",
|
|
|
|
"impl-serde",
|
|
|
|
"uint",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-crate"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785"
|
|
|
|
dependencies = [
|
|
|
|
"toml",
|
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-error"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-error-attr",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-12-09 01:34:58 +00:00
|
|
|
"version_check",
|
2020-11-19 04:04:52 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-error-attr"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2020-12-09 01:34:58 +00:00
|
|
|
"version_check",
|
2020-11-19 04:04:52 +00:00
|
|
|
]
|
|
|
|
|
2019-12-20 05:26:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-hack"
|
2020-10-28 22:19:38 +00:00
|
|
|
version = "0.5.19"
|
2019-12-20 05:26:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-28 22:19:38 +00:00
|
|
|
checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
|
2019-12-20 05:26:30 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
2020-05-17 11:16:48 +00:00
|
|
|
name = "proc-macro-nested"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.1.7"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro2"
|
2020-10-05 07:45:54 +00:00
|
|
|
version = "1.0.24"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 07:45:54 +00:00
|
|
|
checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"unicode-xid",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-29 02:03:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "procinfo"
|
|
|
|
version = "0.4.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6ab1427f3d2635891f842892dda177883dca0639e05fe66796a62c9d2f23b49c"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"libc",
|
|
|
|
"nom",
|
|
|
|
"rustc_version",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "prometheus"
|
2020-12-07 08:20:33 +00:00
|
|
|
version = "0.11.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-07 08:20:33 +00:00
|
|
|
checksum = "c8425533e7122f0c3cc7a37e6244b16ad3a2cc32ae7ac6276e2a75da0d9c200d"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-12-07 08:20:33 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"fnv",
|
|
|
|
"lazy_static",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-05-10 09:56:31 +00:00
|
|
|
"protobuf",
|
2020-10-05 08:22:19 +00:00
|
|
|
"regex",
|
2020-05-17 11:16:48 +00:00
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "prost"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.7.0"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "9e6984d2f1a23009bd270b8bb56d0926810a3d483f59c987d77969e9d8e840b2"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2020-05-17 11:16:48 +00:00
|
|
|
"prost-derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "prost-build"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.7.0"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "32d3ebd75ac2679c2af3a92246639f9fcc8a442ee420719cc4fe195b98dd5fa3"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2020-05-17 11:16:48 +00:00
|
|
|
"heck",
|
2021-03-02 05:59:49 +00:00
|
|
|
"itertools 0.9.0",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-17 11:16:48 +00:00
|
|
|
"multimap",
|
|
|
|
"petgraph",
|
|
|
|
"prost",
|
|
|
|
"prost-types",
|
|
|
|
"tempfile",
|
|
|
|
"which",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "prost-derive"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.7.0"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "169a15f3008ecb5160cba7d37bcd690a7601b6d30cfb87a117d45e59d52af5d4"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
2021-03-02 05:59:49 +00:00
|
|
|
"itertools 0.9.0",
|
2020-05-17 11:16:48 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "prost-types"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.7.0"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "b518d7cdd93dab1d1122cf07fa9a60771836c668dde9d9e2a139f957f0d9f1bb"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2020-05-17 11:16:48 +00:00
|
|
|
"prost",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-01-29 04:05:00 +00:00
|
|
|
[[package]]
|
v0.12 fork choice update (#1229)
* Incomplete scraps
* Add progress on new fork choice impl
* Further progress
* First complete compiling version
* Remove chain reference
* Add new lmd_ghost crate
* Start integrating into beacon chain
* Update `milagro_bls` to new release (#1183)
* Update milagro_bls to new release
Signed-off-by: Kirk Baird <baird.k@outlook.com>
* Tidy up fake cryptos
Signed-off-by: Kirk Baird <baird.k@outlook.com>
* move SecretHash to bls and put plaintext back
Signed-off-by: Kirk Baird <baird.k@outlook.com>
* Update state processing for v0.12
* Fix EF test runners for v0.12
* Fix some tests
* Fix broken attestation verification test
* More test fixes
* Rough beacon chain impl working
* Remove fork_choice_2
* Remove checkpoint manager
* Half finished ssz impl
* Add missed file
* Add persistence
* Tidy, fix some compile errors
* Remove RwLock from ProtoArrayForkChoice
* Fix store-based compile errors
* Add comments, tidy
* Move function out of ForkChoice struct
* Start testing
* More testing
* Fix compile error
* Tidy beacon_chain::fork_choice
* Queue attestations from the current slot
* Allow fork choice to handle prior-to-genesis start
* Improve error granularity
* Test attestation dequeuing
* Process attestations during block
* Store target root in fork choice
* Move fork choice verification into new crate
* Update tests
* Consensus updates for v0.12 (#1228)
* Update state processing for v0.12
* Fix EF test runners for v0.12
* Fix some tests
* Fix broken attestation verification test
* More test fixes
* Fix typo found in review
* Add `Block` struct to ProtoArray
* Start fixing get_ancestor
* Add rough progress on testing
* Get fork choice tests working
* Progress with testing
* Fix partialeq impl
* Move slot clock from fc_store
* Improve testing
* Add testing for best justified
* Add clone back to SystemTimeSlotClock
* Add balances test
* Start adding balances cache again
* Wire-in balances cache
* Improve tests
* Remove commented-out tests
* Remove beacon_chain::ForkChoice
* Rename crates
* Update wider codebase to new fork_choice layout
* Move advance_slot in test harness
* Tidy ForkChoice::update_time
* Fix verification tests
* Fix compile error with iter::once
* Fix fork choice tests
* Ensure block attestations are processed
* Fix failing beacon_chain tests
* Add first invalid block check
* Add finalized block check
* Progress with testing, new store builder
* Add fixes to get_ancestor
* Fix old genesis justification test
* Fix remaining fork choice tests
* Change root iteration method
* Move on_verified_block
* Remove unused method
* Start adding attestation verification tests
* Add invalid ffg target test
* Add target epoch test
* Add queued attestation test
* Remove old fork choice verification tests
* Tidy, add test
* Move fork choice lock drop
* Rename BeaconForkChoiceStore
* Add comments, tidy BeaconForkChoiceStore
* Update metrics, rename fork_choice_store.rs
* Remove genesis_block_root from ForkChoice
* Tidy
* Update fork_choice comments
* Tidy, add comments
* Tidy, simplify ForkChoice, fix compile issue
* Tidy, removed dead file
* Increase http request timeout
* Fix failing rest_api test
* Set HTTP timeout back to 5s
* Apply fix to get_ancestor
* Address Michael's comments
* Fix typo
* Revert "Fix broken attestation verification test"
This reverts commit 722cdc903b12611de27916a57eeecfa3224f2279.
Co-authored-by: Kirk Baird <baird.k@outlook.com>
Co-authored-by: Michael Sproul <michael@sigmaprime.io>
2020-06-17 01:10:22 +00:00
|
|
|
name = "proto_array"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2020-01-29 04:05:00 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_ssz",
|
|
|
|
"eth2_ssz_derive",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_yaml",
|
|
|
|
"types",
|
2020-01-29 04:05:00 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "protobuf"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "2.22.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "73f72884896d22e0da0e5b266cb9a780b791f6c3b2f5beab6368d6cd4f0dbb86"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-05-29 02:03:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "psutil"
|
2020-09-29 08:29:04 +00:00
|
|
|
version = "3.2.0"
|
2020-05-29 02:03:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-29 08:29:04 +00:00
|
|
|
checksum = "7cdb732329774b8765346796abd1e896e9b3c86aae7f135bb1dda98c2c460f55"
|
2020-05-29 02:03:30 +00:00
|
|
|
dependencies = [
|
2020-10-23 04:16:33 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-05-29 02:03:30 +00:00
|
|
|
"darwin-libproc",
|
|
|
|
"derive_more",
|
|
|
|
"glob",
|
|
|
|
"mach",
|
2020-10-23 04:16:33 +00:00
|
|
|
"nix 0.17.0",
|
2020-05-29 02:03:30 +00:00
|
|
|
"num_cpus",
|
|
|
|
"once_cell",
|
|
|
|
"platforms",
|
2020-09-29 08:29:04 +00:00
|
|
|
"thiserror",
|
2020-05-29 02:03:30 +00:00
|
|
|
"unescape",
|
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "qstring"
|
|
|
|
version = "0.7.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d464fae65fff2680baf48019211ce37aaec0c78e9264c84a3e484717f965104e"
|
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"percent-encoding",
|
2020-11-19 04:04:52 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "quick-error"
|
2020-01-03 06:56:03 +00:00
|
|
|
version = "1.2.3"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "quickcheck"
|
2020-01-15 04:50:01 +00:00
|
|
|
version = "0.9.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "a44883e74aa97ad63db83c4bf8ca490f02b2fc02f92575e720c8551e843c945f"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-12-07 08:20:33 +00:00
|
|
|
"env_logger 0.7.1",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rand 0.7.3",
|
|
|
|
"rand_core 0.5.1",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "quickcheck_macros"
|
2020-05-17 11:16:48 +00:00
|
|
|
version = "0.9.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-17 11:16:48 +00:00
|
|
|
checksum = "608c156fd8e97febc07dc9c2e2c80bf74cfc6ef26893eae3daf8bc2bc94a4b7f"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2020-05-17 11:16:48 +00:00
|
|
|
name = "quicksink"
|
|
|
|
version = "0.1.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-17 11:16:48 +00:00
|
|
|
checksum = "77de3c815e5a160b1539c6592796801df2043ae35e123b46d73380cfa57af858"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.1.12",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "quote"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.0.9"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"proc-macro2",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-18 06:25:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "r2d2"
|
2020-07-06 01:55:56 +00:00
|
|
|
version = "0.8.9"
|
2020-05-18 06:25:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-06 01:55:56 +00:00
|
|
|
checksum = "545c5bc2b880973c9c10e4067418407a0ccaa3091781d1671d46eb35107cb26f"
|
2020-05-18 06:25:16 +00:00
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
|
|
|
"parking_lot",
|
2020-05-18 06:25:16 +00:00
|
|
|
"scheduled-thread-pool",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "r2d2_sqlite"
|
2020-10-05 08:22:19 +00:00
|
|
|
version = "0.17.0"
|
2020-05-18 06:25:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 08:22:19 +00:00
|
|
|
checksum = "227ab35ff4cbb01fa76da8f062590fe677b93c8d9e8415eb5fa981f2c1dba9d8"
|
2020-05-18 06:25:16 +00:00
|
|
|
dependencies = [
|
|
|
|
"r2d2",
|
|
|
|
"rusqlite",
|
|
|
|
]
|
|
|
|
|
2020-04-08 06:46:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "radium"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "def50a86306165861203e7f84ecffbbdfdea79f0e51039b33de1e952358c47ac"
|
2020-04-08 06:46:37 +00:00
|
|
|
|
2020-10-05 08:22:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "radium"
|
2020-10-09 02:05:30 +00:00
|
|
|
version = "0.5.3"
|
2020-10-05 08:22:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-09 02:05:30 +00:00
|
|
|
checksum = "941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8"
|
2020-10-05 08:22:19 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand"
|
2020-01-15 03:48:09 +00:00
|
|
|
version = "0.7.3"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"getrandom 0.1.16",
|
2020-05-10 09:56:31 +00:00
|
|
|
"libc",
|
2020-09-29 03:46:54 +00:00
|
|
|
"rand_chacha 0.2.2",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rand_core 0.5.1",
|
2020-09-29 03:46:54 +00:00
|
|
|
"rand_hc 0.2.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2021-02-10 23:29:49 +00:00
|
|
|
name = "rand"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.8.3"
|
2020-09-29 03:46:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "0ef9e7e66b4468674bfcb0c81af8b7fa0bb154fa9f28eb840da5c447baeb8d7e"
|
2020-09-29 03:46:54 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"libc",
|
|
|
|
"rand_chacha 0.3.0",
|
2021-02-15 20:34:49 +00:00
|
|
|
"rand_core 0.6.2",
|
2021-02-10 23:29:49 +00:00
|
|
|
"rand_hc 0.3.0",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_chacha"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"ppv-lite86",
|
|
|
|
"rand_core 0.5.1",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2021-02-10 23:29:49 +00:00
|
|
|
name = "rand_chacha"
|
|
|
|
version = "0.3.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "e12735cf05c9e10bf21534da50a147b924d555dc7a547c42e6bb2d5b6017ae0d"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"ppv-lite86",
|
2021-02-15 20:34:49 +00:00
|
|
|
"rand_core 0.6.2",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"getrandom 0.1.16",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-09-29 03:46:54 +00:00
|
|
|
[[package]]
|
2021-02-10 23:29:49 +00:00
|
|
|
name = "rand_core"
|
2021-02-15 20:34:49 +00:00
|
|
|
version = "0.6.2"
|
2020-09-29 03:46:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-15 20:34:49 +00:00
|
|
|
checksum = "34cf66eb183df1c5876e2dcf6b13d57340741e8dc255b48e40a26de954d06ae7"
|
2020-09-29 03:46:54 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"getrandom 0.2.2",
|
2020-09-29 03:46:54 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_hc"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"rand_core 0.5.1",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-09-29 03:46:54 +00:00
|
|
|
[[package]]
|
2021-02-10 23:29:49 +00:00
|
|
|
name = "rand_hc"
|
|
|
|
version = "0.3.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-02-15 20:34:49 +00:00
|
|
|
"rand_core 0.6.2",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_xorshift"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "77d416b86801d23dde1aa643023b775c3a462efc0ed96443add11546cdf1dca8"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"rand_core 0.5.1",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rayon"
|
2020-10-23 04:16:33 +00:00
|
|
|
version = "1.5.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 04:16:33 +00:00
|
|
|
checksum = "8b0d8e0819fadc20c74ea8373106ead0600e3a67ef1fe8da56e39b9ae7275674"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-08-21 12:00:01 +00:00
|
|
|
"autocfg 1.0.1",
|
2020-12-09 01:34:58 +00:00
|
|
|
"crossbeam-deque",
|
2020-05-10 09:56:31 +00:00
|
|
|
"either",
|
|
|
|
"rayon-core",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rayon-core"
|
2020-10-23 04:16:33 +00:00
|
|
|
version = "1.9.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 04:16:33 +00:00
|
|
|
checksum = "9ab346ac5921dc62ffa9f89b7a773907511cdfa5490c572ae9be1be33e8afa4a"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"crossbeam-channel",
|
2020-12-09 01:34:58 +00:00
|
|
|
"crossbeam-deque",
|
2021-02-10 23:29:49 +00:00
|
|
|
"crossbeam-utils",
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
|
|
|
"num_cpus",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2021-02-10 23:29:49 +00:00
|
|
|
name = "redox_syscall"
|
|
|
|
version = "0.1.57"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "redox_syscall"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.2.5"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "94341e4e44e24f6b591b59e47a8a027df12e008d73fd5672dbea9cc22f4507d9"
|
2021-02-10 23:29:49 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
]
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "redox_users"
|
2020-08-27 07:04:12 +00:00
|
|
|
version = "0.3.5"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-27 07:04:12 +00:00
|
|
|
checksum = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"getrandom 0.1.16",
|
|
|
|
"redox_syscall 0.1.57",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rust-argon2",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2021-03-02 05:59:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "redox_users"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64"
|
|
|
|
dependencies = [
|
|
|
|
"getrandom 0.2.2",
|
|
|
|
"redox_syscall 0.2.5",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "regex"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "1.4.3"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "d9251239e129e16308e70d853559389de218ac275b515068abc96829d05b948a"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"aho-corasick",
|
|
|
|
"memchr",
|
|
|
|
"regex-syntax",
|
|
|
|
"thread_local",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "regex-automata"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.1.9"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "ae1ded71d66a4a97f5e961fd0cb25a5f366a42a41570d16a763a69c092c26ae4"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"byteorder",
|
2020-10-23 04:16:33 +00:00
|
|
|
"regex-syntax",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "regex-syntax"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.6.22"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "b5eb417147ba9860a96cfe72a0b93bf88fee1744b5636ec99ab20c1aa9376581"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-11-06 06:17:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "remote_signer"
|
|
|
|
version = "0.2.0"
|
|
|
|
dependencies = [
|
|
|
|
"bls",
|
|
|
|
"clap",
|
|
|
|
"environment",
|
|
|
|
"remote_signer_backend",
|
|
|
|
"remote_signer_client",
|
|
|
|
"remote_signer_test",
|
|
|
|
"serde_json",
|
|
|
|
"slog",
|
|
|
|
"types",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "remote_signer_backend"
|
|
|
|
version = "0.2.0"
|
|
|
|
dependencies = [
|
|
|
|
"bls",
|
|
|
|
"clap",
|
|
|
|
"hex",
|
|
|
|
"lazy_static",
|
|
|
|
"regex",
|
|
|
|
"remote_signer_test",
|
|
|
|
"slog",
|
|
|
|
"sloggers",
|
2021-01-06 06:36:11 +00:00
|
|
|
"tempfile",
|
2020-11-06 06:17:11 +00:00
|
|
|
"types",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "remote_signer_client"
|
|
|
|
version = "0.2.0"
|
|
|
|
dependencies = [
|
|
|
|
"clap",
|
|
|
|
"environment",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2021-02-10 23:29:49 +00:00
|
|
|
"hyper 0.14.4",
|
2020-11-06 06:17:11 +00:00
|
|
|
"lazy_static",
|
|
|
|
"regex",
|
|
|
|
"remote_signer_backend",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"slog",
|
|
|
|
"task_executor",
|
|
|
|
"types",
|
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "remote_signer_consumer"
|
|
|
|
version = "0.2.0"
|
|
|
|
dependencies = [
|
|
|
|
"rand 0.7.3",
|
|
|
|
"remote_signer_test",
|
|
|
|
"reqwest",
|
|
|
|
"serde",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-11-19 04:04:52 +00:00
|
|
|
"types",
|
|
|
|
]
|
|
|
|
|
2020-11-06 06:17:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "remote_signer_test"
|
|
|
|
version = "0.2.0"
|
|
|
|
dependencies = [
|
|
|
|
"clap",
|
|
|
|
"environment",
|
2020-11-19 04:04:52 +00:00
|
|
|
"hex",
|
|
|
|
"httpmock",
|
2020-11-06 06:17:11 +00:00
|
|
|
"remote_signer_client",
|
2020-11-19 04:04:52 +00:00
|
|
|
"remote_signer_consumer",
|
2020-11-06 06:17:11 +00:00
|
|
|
"reqwest",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2021-01-06 06:36:11 +00:00
|
|
|
"tempfile",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-11-06 06:17:11 +00:00
|
|
|
"types",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "remove_dir_all"
|
2020-07-06 01:55:56 +00:00
|
|
|
version = "0.5.3"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-06 01:55:56 +00:00
|
|
|
checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "reqwest"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.11.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "0460542b551950620a3648c6aa23318ac6b3cd779114bd873209e6e8b5eb1c34"
|
2020-05-10 09:56:31 +00:00
|
|
|
dependencies = [
|
2020-11-24 00:44:40 +00:00
|
|
|
"base64 0.13.0",
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2020-05-10 09:56:31 +00:00
|
|
|
"encoding_rs",
|
2020-05-17 11:16:48 +00:00
|
|
|
"futures-core",
|
|
|
|
"futures-util",
|
2021-02-10 23:29:49 +00:00
|
|
|
"http",
|
|
|
|
"http-body 0.4.0",
|
|
|
|
"hyper 0.14.4",
|
|
|
|
"hyper-tls 0.5.0",
|
2020-07-29 03:40:22 +00:00
|
|
|
"ipnet",
|
2020-05-17 11:16:48 +00:00
|
|
|
"js-sys",
|
|
|
|
"lazy_static",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
|
|
|
"mime",
|
2020-05-10 09:56:31 +00:00
|
|
|
"native-tls",
|
2020-12-09 01:34:58 +00:00
|
|
|
"percent-encoding",
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.2.6",
|
2020-05-10 09:56:31 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2020-11-28 05:30:57 +00:00
|
|
|
"serde_urlencoded",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2021-02-10 23:29:49 +00:00
|
|
|
"tokio-native-tls",
|
2020-12-09 01:34:58 +00:00
|
|
|
"url",
|
2020-05-17 11:16:48 +00:00
|
|
|
"wasm-bindgen",
|
|
|
|
"wasm-bindgen-futures",
|
|
|
|
"web-sys",
|
2020-05-10 09:56:31 +00:00
|
|
|
"winreg",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ring"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.16.20"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
2020-12-14 02:28:19 +00:00
|
|
|
"once_cell",
|
2020-05-10 09:56:31 +00:00
|
|
|
"spin",
|
|
|
|
"untrusted",
|
|
|
|
"web-sys",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rle-decode-fast"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "cabe4fa914dec5870285fa7f71f602645da47c486e68486d2b4ceb4a343e90ac"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rlp"
|
2020-10-05 07:45:54 +00:00
|
|
|
version = "0.4.6"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 07:45:54 +00:00
|
|
|
checksum = "1190dcc8c3a512f1eef5d09bb8c84c7f39e1054e174d1795482e18f5272f2e73"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"rustc-hex",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2021-02-10 23:29:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rlp"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e54369147e3e7796c9b885c7304db87ca3d09a0a98f72843d532868675bbfba8"
|
|
|
|
dependencies = [
|
|
|
|
"bytes 1.0.1",
|
|
|
|
"rustc-hex",
|
|
|
|
]
|
|
|
|
|
2020-07-29 04:32:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rpassword"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "5.0.1"
|
2020-07-29 04:32:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "ffc936cf8a7ea60c58f030fd36a612a48f440610214dc54bc36431f9ea0c3efb"
|
2020-07-29 04:32:50 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2020-05-18 06:25:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rusqlite"
|
2020-12-10 04:01:40 +00:00
|
|
|
version = "0.24.2"
|
2020-05-18 06:25:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-10 04:01:40 +00:00
|
|
|
checksum = "d5f38ee71cbab2c827ec0ac24e76f82eca723cee92c509a65f67dee393c25112"
|
2020-05-18 06:25:16 +00:00
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"bitflags",
|
2020-05-18 06:25:16 +00:00
|
|
|
"fallible-iterator",
|
|
|
|
"fallible-streaming-iterator",
|
2020-10-09 02:05:30 +00:00
|
|
|
"hashlink",
|
2020-05-18 06:25:16 +00:00
|
|
|
"libsqlite3-sys",
|
|
|
|
"memchr",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2020-05-18 06:25:16 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rust-argon2"
|
2020-11-27 09:48:38 +00:00
|
|
|
version = "0.8.3"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-27 09:48:38 +00:00
|
|
|
checksum = "4b18820d944b33caa75a71378964ac46f58517c92b6ae5f762636247c09e78fb"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-11-27 09:48:38 +00:00
|
|
|
"base64 0.13.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"blake2b_simd",
|
|
|
|
"constant_time_eq",
|
2021-02-10 23:29:49 +00:00
|
|
|
"crossbeam-utils",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc-demangle"
|
2020-10-23 04:16:33 +00:00
|
|
|
version = "0.1.18"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 04:16:33 +00:00
|
|
|
checksum = "6e3bad0ee36814ca07d7968269dd4b7ec89ec2da10c4bb613928d3077083c232"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-hash"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-hex"
|
2020-01-15 03:48:09 +00:00
|
|
|
version = "2.1.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_version"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"semver",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustls"
|
2020-12-23 07:53:36 +00:00
|
|
|
version = "0.19.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-23 07:53:36 +00:00
|
|
|
checksum = "064fd21ff87c6e87ed4506e68beb42459caa4a0e2eb144932e6776768556980b"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-12-23 07:53:36 +00:00
|
|
|
"base64 0.13.0",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-10 09:56:31 +00:00
|
|
|
"ring",
|
|
|
|
"sct",
|
|
|
|
"webpki",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2021-03-02 05:59:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustversion"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cb5d2a036dc6d2d8fd16fde3498b04306e29bd193bf306a57427019b823d5acd"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rw-stream-sink"
|
2020-05-17 11:16:48 +00:00
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4da5fcb054c46f5a5dff833b129285a93d3f0179531735e6c866e8cc307d2020"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-10-23 04:16:33 +00:00
|
|
|
"pin-project 0.4.27",
|
2020-05-17 11:16:48 +00:00
|
|
|
"static_assertions",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ryu"
|
2020-06-06 06:39:42 +00:00
|
|
|
version = "1.0.5"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-06-06 06:39:42 +00:00
|
|
|
checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-04-20 02:35:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "safe_arith"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "safemem"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-12-07 08:20:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "salsa20"
|
|
|
|
version = "0.7.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "399f290ffc409596022fce5ea5d4138184be4784f2b28c62c59f0d8389059a15"
|
|
|
|
dependencies = [
|
|
|
|
"cipher",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "same-file"
|
2020-01-15 04:50:01 +00:00
|
|
|
version = "1.0.6"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"winapi-util",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "schannel"
|
2020-05-17 11:16:48 +00:00
|
|
|
version = "0.1.19"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-17 11:16:48 +00:00
|
|
|
checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-18 06:25:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "scheduled-thread-pool"
|
2020-07-06 01:55:56 +00:00
|
|
|
version = "0.2.5"
|
2020-05-18 06:25:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-06 01:55:56 +00:00
|
|
|
checksum = "dc6f74fd1204073fa02d5d5d68bec8021be4c38690b61264b2fdb48083d0e7d7"
|
2020-05-18 06:25:16 +00:00
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-05-18 06:25:16 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "scoped-tls"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "scopeguard"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "1.1.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-07-01 08:01:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "scrypt"
|
2020-12-07 08:20:33 +00:00
|
|
|
version = "0.5.0"
|
2020-07-01 08:01:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-07 08:20:33 +00:00
|
|
|
checksum = "8da492dab03f925d977776a0b7233d7b934d6dc2b94faead48928e2e9bacedb9"
|
2020-07-01 08:01:03 +00:00
|
|
|
dependencies = [
|
2020-12-07 08:20:33 +00:00
|
|
|
"hmac 0.10.1",
|
|
|
|
"pbkdf2 0.6.0",
|
|
|
|
"salsa20",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
2020-07-01 08:01:03 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sct"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "e3042af939fca8c3453b7af0f1c66e533a15a86169e39de2657310ade8f98d3c"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"ring",
|
|
|
|
"untrusted",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-05 23:12:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "secp256k1"
|
2020-12-14 02:28:19 +00:00
|
|
|
version = "0.19.0"
|
2020-05-05 23:12:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-14 02:28:19 +00:00
|
|
|
checksum = "c6179428c22c73ac0fbb7b5579a56353ce78ba29759b3b8575183336ea74cdfb"
|
2020-05-05 23:12:28 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"secp256k1-sys",
|
2020-05-05 23:12:28 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "secp256k1-sys"
|
2020-12-14 02:28:19 +00:00
|
|
|
version = "0.3.0"
|
2020-05-05 23:12:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-14 02:28:19 +00:00
|
|
|
checksum = "11553d210db090930f4432bea123b31f70bbf693ace14504ea2a35e796c28dd2"
|
2020-05-05 23:12:28 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"cc",
|
2020-05-05 23:12:28 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "security-framework"
|
2021-03-10 01:28:32 +00:00
|
|
|
version = "2.1.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-10 01:28:32 +00:00
|
|
|
checksum = "d493c5f39e02dfb062cd8f33301f90f9b13b650e8c1b1d0fd75c19dd64bff69d"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"bitflags",
|
2020-05-10 09:56:31 +00:00
|
|
|
"core-foundation",
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
"security-framework-sys",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "security-framework-sys"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "2.1.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "dee48cdde5ed250b0d3252818f646e174ab414036edb884dde62d80a3ac6082d"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"semver-parser",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "semver-parser"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "1.0.124"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "bd761ff957cb2a45fbb9ab3da6512de9de55872866160b23c25f1a841e99d29f"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"serde_derive",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-07-06 01:55:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_cbor"
|
|
|
|
version = "0.11.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1e18acfa2f90e8b735b2836ab8d538de304cbb6729a7360729ea5a895d15a622"
|
|
|
|
dependencies = [
|
|
|
|
"half",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_derive"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "1.0.124"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "1800f7693e94e186f5e25a28291ae1570da908aff7d97a095dec1e56ff99069b"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_json"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.0.64"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "799e97dc9fdae36a5c8b8f2cae9ce2ee9fdce2058c57a93e6099d919fd982f79"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"itoa",
|
|
|
|
"ryu",
|
|
|
|
"serde",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_regex"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a8136f1a4ea815d7eac4101cfd0b16dc0cb5e1fe1b8609dfd728058656b7badf"
|
|
|
|
dependencies = [
|
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_repr"
|
2020-07-06 01:55:56 +00:00
|
|
|
version = "0.1.6"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-06 01:55:56 +00:00
|
|
|
checksum = "2dc6b7951b17b051f3210b063f12cc17320e2fe30ae05b0fe2a3abb068551c76"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-24 00:44:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_urlencoded"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "edfa57a7f8d9c1d260a549e7224100f6c43d43f9103e06dd8b4095a9b2b43ce9"
|
|
|
|
dependencies = [
|
|
|
|
"form_urlencoded",
|
|
|
|
"itoa",
|
|
|
|
"ryu",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2020-09-07 01:03:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_utils"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-09-07 01:03:53 +00:00
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_yaml"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.8.17"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "15654ed4ab61726bf918a39cb8d98a2e2995b002387807fa6ba58fdf7f59bb23"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"dtoa",
|
|
|
|
"linked-hash-map",
|
|
|
|
"serde",
|
|
|
|
"yaml-rust",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-08-27 07:04:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sha-1"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.9.4"
|
2020-08-27 07:04:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "dfebf75d25bd900fd1e7d11501efab59bc846dbc76196839663e6637bba9f25f"
|
2020-08-27 07:04:12 +00:00
|
|
|
dependencies = [
|
|
|
|
"block-buffer 0.9.0",
|
2020-11-06 04:14:14 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-12-10 04:01:40 +00:00
|
|
|
"cpuid-bool 0.1.2",
|
2020-08-27 07:04:12 +00:00
|
|
|
"digest 0.9.0",
|
|
|
|
"opaque-debug 0.3.0",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sha1"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sha2"
|
2020-05-26 20:34:15 +00:00
|
|
|
version = "0.8.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-26 20:34:15 +00:00
|
|
|
checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-07-01 08:01:03 +00:00
|
|
|
"block-buffer 0.7.3",
|
|
|
|
"digest 0.8.1",
|
|
|
|
"fake-simd",
|
2020-07-06 01:55:56 +00:00
|
|
|
"opaque-debug 0.2.3",
|
2020-07-01 08:01:03 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sha2"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.9.3"
|
2020-07-01 08:01:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "fa827a14b29ab7f44778d14a88d3cb76e949c45083f7dbfa507d0cb699dc12de"
|
2020-07-01 08:01:03 +00:00
|
|
|
dependencies = [
|
2020-07-06 01:55:56 +00:00
|
|
|
"block-buffer 0.9.0",
|
2020-11-06 04:14:14 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-12-10 04:01:40 +00:00
|
|
|
"cpuid-bool 0.1.2",
|
2020-07-01 08:01:03 +00:00
|
|
|
"digest 0.9.0",
|
2020-07-06 01:55:56 +00:00
|
|
|
"opaque-debug 0.3.0",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sha3"
|
2020-08-27 07:04:12 +00:00
|
|
|
version = "0.9.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-27 07:04:12 +00:00
|
|
|
checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-08-27 07:04:12 +00:00
|
|
|
"block-buffer 0.9.0",
|
|
|
|
"digest 0.9.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"keccak",
|
2020-08-27 07:04:12 +00:00
|
|
|
"opaque-debug 0.3.0",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-10-23 04:16:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sharded-slab"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.1.1"
|
2020-10-23 04:16:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "79c719719ee05df97490f80a45acfc99e5a30ce98a1e4fb67aee422745ae14e3"
|
2020-10-23 04:16:33 +00:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
]
|
|
|
|
|
2020-12-28 23:38:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "signal-hook"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.6"
|
2020-12-28 23:38:02 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "8a7f3f92a1da3d6b1d32245d0cbcbbab0cfc45996d8df619c42bccfa6d2bbb5f"
|
2020-12-28 23:38:02 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"signal-hook-registry",
|
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "signal-hook-registry"
|
2020-12-23 18:52:48 +00:00
|
|
|
version = "1.3.0"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-23 18:52:48 +00:00
|
|
|
checksum = "16f1d0fef1604ba8f7a073c7e701f213e056707210e9020af4528e0101ce11a6"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2020-07-21 00:54:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "signature"
|
2020-08-03 09:35:53 +00:00
|
|
|
version = "1.2.2"
|
2020-07-21 00:54:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-03 09:35:53 +00:00
|
|
|
checksum = "29f060a7d147e33490ec10da418795238fd7545bba241504d6b31a409f2e6210"
|
2020-10-23 04:16:33 +00:00
|
|
|
dependencies = [
|
|
|
|
"digest 0.9.0",
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
]
|
2020-07-21 00:54:47 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "simple_logger"
|
2020-10-23 04:16:33 +00:00
|
|
|
version = "1.11.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 04:16:33 +00:00
|
|
|
checksum = "cd57f17c093ead1d4a1499dc9acaafdd71240908d64775465543b8d9a9f1d198"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"atty",
|
|
|
|
"chrono",
|
|
|
|
"colored",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-01-23 07:07:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "simulator"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2020-01-23 07:07:39 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"clap",
|
Handle early blocks (#2155)
## Issue Addressed
NA
## Problem this PR addresses
There's an issue where Lighthouse is banning a lot of peers due to the following sequence of events:
1. Gossip block 0xabc arrives ~200ms early
- It is propagated across the network, with respect to [`MAXIMUM_GOSSIP_CLOCK_DISPARITY`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/p2p-interface.md#why-is-there-maximum_gossip_clock_disparity-when-validating-slot-ranges-of-messages-in-gossip-subnets).
- However, it is not imported to our database since the block is early.
2. Attestations for 0xabc arrive, but the block was not imported.
- The peer that sent the attestation is down-voted.
- Each unknown-block attestation causes a score loss of 1, the peer is banned at -100.
- When the peer is on an attestation subnet there can be hundreds of attestations, so the peer is banned quickly (before the missed block can be obtained via rpc).
## Potential solutions
I can think of three solutions to this:
1. Wait for attestation-queuing (#635) to arrive and solve this.
- Easy
- Not immediate fix.
- Whilst this would work, I don't think it's a perfect solution for this particular issue, rather (3) is better.
1. Allow importing blocks with a tolerance of `MAXIMUM_GOSSIP_CLOCK_DISPARITY`.
- Easy
- ~~I have implemented this, for now.~~
1. If a block is verified for gossip propagation (i.e., signature verified) and it's within `MAXIMUM_GOSSIP_CLOCK_DISPARITY`, then queue it to be processed at the start of the appropriate slot.
- More difficult
- Feels like the best solution, I will try to implement this.
**This PR takes approach (3).**
## Changes included
- Implement the `block_delay_queue`, based upon a [`DelayQueue`](https://docs.rs/tokio-util/0.6.3/tokio_util/time/delay_queue/struct.DelayQueue.html) which can store blocks until it's time to import them.
- Add a new `DelayedImportBlock` variant to the `beacon_processor::WorkEvent` enum to handle this new event.
- In the `BeaconProcessor`, refactor a `tokio::select!` to a struct with an explicit `Stream` implementation. I experienced some issues with `tokio::select!` in the block delay queue and I also found it hard to debug. I think this explicit implementation is nicer and functionally equivalent (apart from the fact that `tokio::select!` randomly chooses futures to poll, whereas now we're deterministic).
- Add a testing framework to the `beacon_processor` module that tests this new block delay logic. I also tested a handful of other operations in the beacon processor (attns, slashings, exits) since it was super easy to copy-pasta the code from the `http_api` tester.
- To implement these tests I added the concept of an optional `work_journal_tx` to the `BeaconProcessor` which will spit out a log of events. I used this in the tests to ensure that things were happening as I expect.
- The tests are a little racey, but it's hard to avoid that when testing timing-based code. If we see CI failures I can revise. I haven't observed *any* failures due to races on my machine or on CI yet.
- To assist with testing I allowed for directly setting the time on the `ManualSlotClock`.
- I gave the `beacon_processor::Worker` a `Toolbox` for two reasons; (a) it avoids changing tons of function sigs when you want to pass a new object to the worker and (b) it seemed cute.
2021-02-24 03:08:52 +00:00
|
|
|
"env_logger 0.8.3",
|
2020-08-31 02:36:17 +00:00
|
|
|
"eth1",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth1_test_rig",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-05-10 09:56:31 +00:00
|
|
|
"node_test_rig",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"rayon",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"types",
|
|
|
|
"validator_client",
|
2020-01-23 07:07:39 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "siphasher"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fa8f3741c7372e75519bd9346068370c9cdaabcc1f9599cbcf2a2719352286b7"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "slab"
|
|
|
|
version = "0.4.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-11-23 03:43:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "slasher"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"bincode",
|
|
|
|
"byteorder",
|
|
|
|
"eth2_ssz",
|
|
|
|
"eth2_ssz_derive",
|
|
|
|
"flate2",
|
|
|
|
"lazy_static",
|
|
|
|
"lighthouse_metrics",
|
|
|
|
"lmdb",
|
|
|
|
"lmdb-sys",
|
|
|
|
"maplit",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-11-23 03:43:22 +00:00
|
|
|
"rand 0.7.3",
|
|
|
|
"rayon",
|
|
|
|
"safe_arith",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"slog",
|
|
|
|
"sloggers",
|
2021-01-06 06:36:11 +00:00
|
|
|
"tempfile",
|
2020-11-23 03:43:22 +00:00
|
|
|
"tree_hash",
|
|
|
|
"tree_hash_derive",
|
|
|
|
"types",
|
|
|
|
]
|
|
|
|
|
2020-12-16 03:44:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "slasher_service"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"beacon_chain",
|
|
|
|
"directory",
|
|
|
|
"eth2_libp2p",
|
|
|
|
"network",
|
|
|
|
"slasher",
|
|
|
|
"slog",
|
|
|
|
"slot_clock",
|
|
|
|
"state_processing",
|
|
|
|
"task_executor",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2021-02-10 23:29:49 +00:00
|
|
|
"tokio-stream",
|
2020-12-16 03:44:01 +00:00
|
|
|
"types",
|
|
|
|
]
|
|
|
|
|
2020-05-18 06:25:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "slashing_protection"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-05-18 06:25:16 +00:00
|
|
|
"r2d2",
|
|
|
|
"r2d2_sqlite",
|
|
|
|
"rayon",
|
|
|
|
"rusqlite",
|
2020-10-02 01:42:27 +00:00
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"serde_utils",
|
2020-05-18 06:25:16 +00:00
|
|
|
"tempfile",
|
|
|
|
"tree_hash",
|
|
|
|
"types",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "slog"
|
2020-11-30 22:55:10 +00:00
|
|
|
version = "2.7.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-30 22:55:10 +00:00
|
|
|
checksum = "8347046d4ebd943127157b94d63abb990fcf729dc4e9978927fdf4ac3c998d06"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "slog-async"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "2.6.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "c60813879f820c85dbc4eabf3269befe374591289019775898d56a81a804fbdc"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"crossbeam-channel",
|
2020-05-10 09:56:31 +00:00
|
|
|
"slog",
|
|
|
|
"take_mut",
|
|
|
|
"thread_local",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "slog-json"
|
|
|
|
version = "2.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "ddc0d2aff1f8f325ef660d9a0eb6e6dcd20b30b3f581a5897f58bf42d061c37a"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"chrono",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"slog",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "slog-kvfilter"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "ae939ed7d169eed9699f4f5cd440f046f5dc5dfc27c19e3cd311619594c175e0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"regex",
|
|
|
|
"slog",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "slog-scope"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "4.4.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "2f95a4b4c3274cd2869549da82b57ccc930859bdbf5bcea0424bc5f140b3c786"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"arc-swap",
|
|
|
|
"lazy_static",
|
|
|
|
"slog",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "slog-stdlog"
|
2020-10-23 04:16:33 +00:00
|
|
|
version = "4.1.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 04:16:33 +00:00
|
|
|
checksum = "8228ab7302adbf4fcb37e66f3cda78003feb521e7fd9e3847ec117a7784d0f5a"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-10 09:56:31 +00:00
|
|
|
"slog",
|
|
|
|
"slog-scope",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "slog-term"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "2.8.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "95c1e7e5aab61ced6006149ea772770b84a0d16ce0f7885def313e4829946d76"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"atty",
|
|
|
|
"chrono",
|
|
|
|
"slog",
|
2021-03-02 05:59:49 +00:00
|
|
|
"term 0.7.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"thread_local",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sloggers"
|
2020-05-17 11:16:48 +00:00
|
|
|
version = "1.0.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-17 11:16:48 +00:00
|
|
|
checksum = "f01d37507aa6f37490cfa08d71e2639b16906e84c285ae4b9f7ec7ca35756d69"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"chrono",
|
|
|
|
"libflate",
|
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"slog",
|
|
|
|
"slog-async",
|
|
|
|
"slog-kvfilter",
|
|
|
|
"slog-scope",
|
2020-05-17 11:16:48 +00:00
|
|
|
"slog-stdlog",
|
2020-05-10 09:56:31 +00:00
|
|
|
"slog-term",
|
|
|
|
"trackable",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "slot_clock"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
|
|
|
"lighthouse_metrics",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-05-10 09:56:31 +00:00
|
|
|
"types",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sluice"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.5.4"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "8fa0333a60ff2e3474a6775cc611840c2a55610c831dd366503474c02f1a28f5"
|
2020-11-19 04:04:52 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "smallvec"
|
2021-01-11 23:32:11 +00:00
|
|
|
version = "1.6.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-11 23:32:11 +00:00
|
|
|
checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-04-05 08:29:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "snap"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.0.4"
|
2020-04-05 08:29:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "dc725476a1398f0480d56cd0ad381f6f32acf2642704456f8f59a35df464b59a"
|
2020-04-05 08:29:14 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "snow"
|
2020-10-05 07:45:54 +00:00
|
|
|
version = "0.7.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 07:45:54 +00:00
|
|
|
checksum = "795dd7aeeee24468e5a32661f6d27f7b5cbed802031b2d7640c7b10f8fb2dd50"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-11-28 05:30:57 +00:00
|
|
|
"aes-gcm 0.7.0",
|
2020-06-29 10:25:42 +00:00
|
|
|
"blake2",
|
|
|
|
"chacha20poly1305",
|
2020-05-17 11:16:48 +00:00
|
|
|
"rand 0.7.3",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rand_core 0.5.1",
|
|
|
|
"ring",
|
|
|
|
"rustc_version",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
2020-12-23 07:53:36 +00:00
|
|
|
"subtle 2.4.0",
|
2020-05-17 11:16:48 +00:00
|
|
|
"x25519-dalek",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "socket2"
|
2020-12-23 18:52:48 +00:00
|
|
|
version = "0.3.19"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-23 18:52:48 +00:00
|
|
|
checksum = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
2020-11-24 00:44:40 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-05-17 11:16:48 +00:00
|
|
|
"libc",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "soketto"
|
2020-09-07 06:47:05 +00:00
|
|
|
version = "0.4.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-07 06:47:05 +00:00
|
|
|
checksum = "b5c71ed3d54db0a699f4948e1bb3e45b450fa31fe602621dee6680361d569c88"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-07-06 01:55:56 +00:00
|
|
|
"base64 0.12.3",
|
2020-07-21 00:54:47 +00:00
|
|
|
"bytes 0.5.6",
|
2020-05-10 09:56:31 +00:00
|
|
|
"flate2",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-05-10 09:56:31 +00:00
|
|
|
"httparse",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-17 11:16:48 +00:00
|
|
|
"rand 0.7.3",
|
2021-03-08 06:27:49 +00:00
|
|
|
"sha-1",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "spin"
|
|
|
|
version = "0.5.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-11-24 00:44:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "spinning_top"
|
|
|
|
version = "0.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7e529d73e80d64b5f2631f9035113347c578a1c9c7774b83a2b880788459ab36"
|
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"lock_api",
|
2020-11-24 00:44:40 +00:00
|
|
|
]
|
|
|
|
|
2020-05-26 03:25:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "standback"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.2.15"
|
2020-05-26 03:25:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "a2beb4d1860a61f571530b3f855a1b538d0200f7871c63331ecd6f17b1f014f8"
|
2020-06-06 06:39:42 +00:00
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"version_check",
|
2020-06-06 06:39:42 +00:00
|
|
|
]
|
2020-05-26 03:25:52 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "state_processing"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"arbitrary",
|
|
|
|
"bls",
|
|
|
|
"criterion",
|
Handle early blocks (#2155)
## Issue Addressed
NA
## Problem this PR addresses
There's an issue where Lighthouse is banning a lot of peers due to the following sequence of events:
1. Gossip block 0xabc arrives ~200ms early
- It is propagated across the network, with respect to [`MAXIMUM_GOSSIP_CLOCK_DISPARITY`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/p2p-interface.md#why-is-there-maximum_gossip_clock_disparity-when-validating-slot-ranges-of-messages-in-gossip-subnets).
- However, it is not imported to our database since the block is early.
2. Attestations for 0xabc arrive, but the block was not imported.
- The peer that sent the attestation is down-voted.
- Each unknown-block attestation causes a score loss of 1, the peer is banned at -100.
- When the peer is on an attestation subnet there can be hundreds of attestations, so the peer is banned quickly (before the missed block can be obtained via rpc).
## Potential solutions
I can think of three solutions to this:
1. Wait for attestation-queuing (#635) to arrive and solve this.
- Easy
- Not immediate fix.
- Whilst this would work, I don't think it's a perfect solution for this particular issue, rather (3) is better.
1. Allow importing blocks with a tolerance of `MAXIMUM_GOSSIP_CLOCK_DISPARITY`.
- Easy
- ~~I have implemented this, for now.~~
1. If a block is verified for gossip propagation (i.e., signature verified) and it's within `MAXIMUM_GOSSIP_CLOCK_DISPARITY`, then queue it to be processed at the start of the appropriate slot.
- More difficult
- Feels like the best solution, I will try to implement this.
**This PR takes approach (3).**
## Changes included
- Implement the `block_delay_queue`, based upon a [`DelayQueue`](https://docs.rs/tokio-util/0.6.3/tokio_util/time/delay_queue/struct.DelayQueue.html) which can store blocks until it's time to import them.
- Add a new `DelayedImportBlock` variant to the `beacon_processor::WorkEvent` enum to handle this new event.
- In the `BeaconProcessor`, refactor a `tokio::select!` to a struct with an explicit `Stream` implementation. I experienced some issues with `tokio::select!` in the block delay queue and I also found it hard to debug. I think this explicit implementation is nicer and functionally equivalent (apart from the fact that `tokio::select!` randomly chooses futures to poll, whereas now we're deterministic).
- Add a testing framework to the `beacon_processor` module that tests this new block delay logic. I also tested a handful of other operations in the beacon processor (attns, slashings, exits) since it was super easy to copy-pasta the code from the `http_api` tester.
- To implement these tests I added the concept of an optional `work_journal_tx` to the `BeaconProcessor` which will spit out a log of events. I used this in the tests to ensure that things were happening as I expect.
- The tests are a little racey, but it's hard to avoid that when testing timing-based code. If we see CI failures I can revise. I haven't observed *any* failures due to races on my machine or on CI yet.
- To assist with testing I allowed for directly setting the time on the `ManualSlotClock`.
- I gave the `beacon_processor::Worker` a `Toolbox` for two reasons; (a) it avoids changing tons of function sigs when you want to pass a new object to the worker and (b) it seemed cute.
2021-02-24 03:08:52 +00:00
|
|
|
"env_logger 0.8.3",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_hashing",
|
|
|
|
"eth2_ssz",
|
|
|
|
"eth2_ssz_types",
|
|
|
|
"int_to_bytes",
|
|
|
|
"integer-sqrt",
|
2021-03-02 05:59:49 +00:00
|
|
|
"itertools 0.9.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-10 09:56:31 +00:00
|
|
|
"merkle_proof",
|
|
|
|
"rayon",
|
|
|
|
"safe_arith",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_yaml",
|
|
|
|
"tree_hash",
|
|
|
|
"tree_hash_derive",
|
|
|
|
"types",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-08 23:37:21 +00:00
|
|
|
[[package]]
|
|
|
|
name = "state_transition_vectors"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-05-11 07:45:06 +00:00
|
|
|
"eth2_ssz",
|
|
|
|
"state_processing",
|
|
|
|
"types",
|
2020-05-08 23:37:21 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "static_assertions"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-05-26 03:25:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "stdweb"
|
|
|
|
version = "0.4.20"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5"
|
|
|
|
dependencies = [
|
|
|
|
"discard",
|
|
|
|
"rustc_version",
|
|
|
|
"stdweb-derive",
|
|
|
|
"stdweb-internal-macros",
|
|
|
|
"stdweb-internal-runtime",
|
|
|
|
"wasm-bindgen",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "stdweb-derive"
|
|
|
|
version = "0.5.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "stdweb-internal-macros"
|
|
|
|
version = "0.2.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11"
|
|
|
|
dependencies = [
|
|
|
|
"base-x",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"sha1",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "stdweb-internal-runtime"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "store"
|
2020-08-06 03:43:05 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"criterion",
|
|
|
|
"db-key",
|
2020-11-23 03:43:22 +00:00
|
|
|
"directory",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_ssz",
|
|
|
|
"eth2_ssz_derive",
|
2021-03-02 05:59:49 +00:00
|
|
|
"itertools 0.9.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"lazy_static",
|
|
|
|
"leveldb",
|
|
|
|
"lighthouse_metrics",
|
2020-07-29 03:40:22 +00:00
|
|
|
"lru",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rayon",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"slog",
|
|
|
|
"sloggers",
|
|
|
|
"state_processing",
|
|
|
|
"tempfile",
|
|
|
|
"tree_hash",
|
|
|
|
"types",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-07-01 08:01:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "stream-cipher"
|
2020-10-05 07:45:54 +00:00
|
|
|
version = "0.7.1"
|
2020-07-01 08:01:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 07:45:54 +00:00
|
|
|
checksum = "c80e15f898d8d8f25db24c253ea615cc14acf418ff307822995814e7d42cfa89"
|
2020-07-01 08:01:03 +00:00
|
|
|
dependencies = [
|
2020-10-23 04:16:33 +00:00
|
|
|
"block-cipher",
|
2020-08-18 11:23:08 +00:00
|
|
|
"generic-array 0.14.4",
|
2020-06-29 10:25:42 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "string_cache"
|
2020-11-24 00:44:40 +00:00
|
|
|
version = "0.8.1"
|
2020-11-19 04:04:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-24 00:44:40 +00:00
|
|
|
checksum = "8ddb1139b5353f96e429e1a5e19fbaf663bddedaa06d1dbd49f82e352601209a"
|
2020-11-19 04:04:52 +00:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
"new_debug_unreachable",
|
|
|
|
"phf_shared",
|
|
|
|
"precomputed-hash",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "strsim"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2021-01-19 06:33:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "strum"
|
|
|
|
version = "0.20.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7318c509b5ba57f18533982607f24070a55d353e90d4cae30c467cdb2ad5ac5c"
|
|
|
|
dependencies = [
|
|
|
|
"strum_macros",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strum_macros"
|
|
|
|
version = "0.20.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ee8bc6b87a5112aeeab1f4a9f7ab634fe6cbefc4850006df31267f4cfb9e3149"
|
|
|
|
dependencies = [
|
|
|
|
"heck",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "subtle"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "subtle"
|
2020-12-23 07:53:36 +00:00
|
|
|
version = "2.4.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-23 07:53:36 +00:00
|
|
|
checksum = "1e81da0851ada1f3e9d4312c704aa4f8806f0f9d69faaf8df2f3464b4a9437c2"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "swap_or_not_shuffle"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"criterion",
|
|
|
|
"eth2_hashing",
|
|
|
|
"ethereum-types",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "syn"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "1.0.62"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "123a78a3596b24fee53a6464ce52d8ecbf62241e6294c7e7fe12086cd161f512"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"unicode-xid",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "synstructure"
|
2020-07-06 01:55:56 +00:00
|
|
|
version = "0.12.4"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-06 01:55:56 +00:00
|
|
|
checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"unicode-xid",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "take_mut"
|
|
|
|
version = "0.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-10-05 08:22:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tap"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.0.1"
|
2020-10-05 08:22:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
|
2020-10-05 08:22:19 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "target_info"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "c63f48baada5c52e65a29eef93ab4f8982681b67f9e8d29c7b05abcfec2b9ffe"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-10-05 07:45:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "task_executor"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"exit-future",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-10-05 07:45:54 +00:00
|
|
|
"lazy_static",
|
|
|
|
"lighthouse_metrics",
|
|
|
|
"slog",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-10-05 07:45:54 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tempfile"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "3.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"libc",
|
2021-03-02 05:59:49 +00:00
|
|
|
"rand 0.8.3",
|
|
|
|
"redox_syscall 0.2.5",
|
2020-05-10 09:56:31 +00:00
|
|
|
"remove_dir_all",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "term"
|
|
|
|
version = "0.5.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "edd106a334b7657c10b7c540a0106114feadeb4dc314513e97df481d5d966f42"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"dirs 1.0.5",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "term"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.7.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"dirs-next",
|
|
|
|
"rustversion",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "termcolor"
|
2020-11-24 00:44:40 +00:00
|
|
|
version = "1.1.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-24 00:44:40 +00:00
|
|
|
checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"winapi-util",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "test_random_derive"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "textwrap"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"unicode-width",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "thiserror"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.0.24"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "e0f4a65597094d4483ddaed134f409b2cb7c1beccf25201a9f73c719254fa98e"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"thiserror-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "thiserror-impl"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.0.24"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "7765189610d8241a44529806d6fd1f2e0a08734313a35d5b3a556f92b381f3c0"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "thread_local"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.1.3"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "8018d24e04c95ac8790716a5987d0fec4f8b27249ffa0f7d33f1369bdfb88cbd"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"once_cell",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-07-25 02:03:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "threadpool"
|
|
|
|
version = "1.8.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa"
|
|
|
|
dependencies = [
|
|
|
|
"num_cpus",
|
|
|
|
]
|
|
|
|
|
2020-01-15 03:48:09 +00:00
|
|
|
[[package]]
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
name = "time"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.1.43"
|
2020-01-15 03:48:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"
|
2020-01-15 03:48:09 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"libc",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2020-01-15 03:48:09 +00:00
|
|
|
]
|
|
|
|
|
2020-05-26 03:25:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "time"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.2.25"
|
2020-05-26 03:25:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "1195b046942c221454c2539395f85413b33383a067449d78aab2b7b052a142f7"
|
2020-05-26 03:25:52 +00:00
|
|
|
dependencies = [
|
2020-09-07 06:47:05 +00:00
|
|
|
"const_fn",
|
2020-05-26 03:25:52 +00:00
|
|
|
"libc",
|
|
|
|
"standback",
|
|
|
|
"stdweb",
|
|
|
|
"time-macros",
|
2020-12-09 01:34:58 +00:00
|
|
|
"version_check",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2020-05-26 03:25:52 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "time-macros"
|
2020-09-29 08:29:04 +00:00
|
|
|
version = "0.1.1"
|
2020-05-26 03:25:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-29 08:29:04 +00:00
|
|
|
checksum = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1"
|
2020-05-26 03:25:52 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro-hack",
|
|
|
|
"time-macros-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "time-macros-impl"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e5c3be1edfad6027c69f5491cf4cb310d1a71ecd6af742788c6ff8bced86b8fa"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-hack",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"standback",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
name = "timer"
|
2020-08-06 03:43:05 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"beacon_chain",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-05-10 09:56:31 +00:00
|
|
|
"slog",
|
|
|
|
"slot_clock",
|
2020-10-05 07:45:54 +00:00
|
|
|
"task_executor",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"types",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tiny-bip39"
|
2020-11-12 00:46:33 +00:00
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d9e44c4759bae7f1032e286a7ef990bd9ed23fe831b7eeba0beb97484c2e59b8"
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
dependencies = [
|
2020-11-12 00:46:33 +00:00
|
|
|
"anyhow",
|
|
|
|
"hmac 0.8.1",
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
"once_cell",
|
2020-11-12 00:46:33 +00:00
|
|
|
"pbkdf2 0.4.0",
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
"rand 0.7.3",
|
|
|
|
"rustc-hash",
|
2021-03-02 05:59:49 +00:00
|
|
|
"sha2 0.9.3",
|
2020-11-12 00:46:33 +00:00
|
|
|
"thiserror",
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
"unicode-normalization",
|
2020-10-02 06:57:40 +00:00
|
|
|
"zeroize",
|
EIP-2386 (draft): Eth2 wallet (#1117)
* Add test to understand flow of key storage
* First commit
* Committing to save trait stuff
* Working naive design
* Add keystore struct
* Move keystore files into their own module
* Add serde (de)serialize_with magic
* Add keystore test
* Fix tests
* Add comments and minor fixes
* Pass optional params to `to_keystore` function
* Add `path` field to keystore
* Add function to read Keystore from file
* Add test vectors and fix Version serialization
* Checksum params is empty object
* Add public key to Keystore
* Add function for saving keystore into file
* Deleted account_manager main.rs
* Move keystore module to validator_client
* Add save_keystore method to validator_directory
* Add load_keystore function. Minor refactorings
* Fixed dependencies
* Address some review comments
* Add Password newtype; derive Zeroize
* Fix test
* Move keystore into own crate
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* Add more comments, test vectors
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Allow for odd-character hex
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Move dbg assert statement
* Add mnemonic, tidy
* Tidy
* Add testing
* Fix broken test
* Address review comments
Co-authored-by: pawan <pawandhananjay@gmail.com>
2020-05-11 22:54:59 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tiny-keccak"
|
|
|
|
version = "1.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "1d8a021c69bb74a44ccedb824a046447e2c84a01df9e5c20779750acb38e11b2"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"crunchy",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-05 23:12:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tiny-keccak"
|
|
|
|
version = "2.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"
|
2020-05-05 23:12:28 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"crunchy",
|
2020-05-05 23:12:28 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tinytemplate"
|
2021-03-08 06:27:49 +00:00
|
|
|
version = "1.2.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-08 06:27:49 +00:00
|
|
|
checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-07-06 01:55:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tinyvec"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.1.1"
|
2020-11-13 06:06:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "317cca572a0e89c3ce0ca1f1bdc9369547fe318a683418e42ac8f59d14701023"
|
2020-11-13 06:06:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"tinyvec_macros",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tinyvec_macros"
|
|
|
|
version = "0.1.0"
|
2020-07-06 01:55:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-13 06:06:35 +00:00
|
|
|
checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
|
2020-07-06 01:55:56 +00:00
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.2.25"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "6703a273949a90131b290be1fe7b039d0fc884aa1935860dfcbe056f28cd8092"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
2020-07-21 00:54:47 +00:00
|
|
|
"bytes 0.5.6",
|
2020-05-17 11:16:48 +00:00
|
|
|
"fnv",
|
|
|
|
"futures-core",
|
|
|
|
"iovec",
|
|
|
|
"lazy_static",
|
2020-12-14 02:28:19 +00:00
|
|
|
"libc",
|
2020-05-17 11:16:48 +00:00
|
|
|
"memchr",
|
2020-12-04 00:18:58 +00:00
|
|
|
"mio 0.6.23",
|
2020-12-14 02:28:19 +00:00
|
|
|
"mio-named-pipes",
|
|
|
|
"mio-uds",
|
2020-05-17 11:16:48 +00:00
|
|
|
"num_cpus",
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.1.12",
|
2020-12-14 02:28:19 +00:00
|
|
|
"signal-hook-registry",
|
2020-12-09 01:34:58 +00:00
|
|
|
"slab",
|
2020-11-28 05:30:57 +00:00
|
|
|
"tokio-macros 0.2.6",
|
2020-12-14 02:28:19 +00:00
|
|
|
"winapi 0.3.9",
|
2020-11-28 05:30:57 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tokio"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.7"
|
2020-11-28 05:30:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "46409491c9375a693ce7032101970a54f8a2010efb77e13f70788f0d84489e39"
|
2020-11-28 05:30:57 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg 1.0.1",
|
|
|
|
"futures-core",
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.2.6",
|
2021-02-10 23:29:49 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tokio"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.2.0"
|
2021-02-10 23:29:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "e8190d04c665ea9e6b6a0dc45523ade572c088d2e6566244c1122671dbf4ae3a"
|
2021-02-10 23:29:49 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg 1.0.1",
|
|
|
|
"bytes 1.0.1",
|
2020-11-28 05:30:57 +00:00
|
|
|
"libc",
|
|
|
|
"memchr",
|
2021-03-02 05:59:49 +00:00
|
|
|
"mio 0.7.9",
|
2020-11-28 05:30:57 +00:00
|
|
|
"num_cpus",
|
2020-12-23 07:53:36 +00:00
|
|
|
"once_cell",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.2.6",
|
2020-11-28 05:30:57 +00:00
|
|
|
"signal-hook-registry",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio-macros 1.1.0",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2020-05-17 11:16:48 +00:00
|
|
|
]
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-compat-02"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bb4cec419b8b6f06c32e74aae6d8c5e79646d038a38e5ea2b36045f2c3296e22"
|
|
|
|
dependencies = [
|
|
|
|
"bytes 0.5.6",
|
|
|
|
"once_cell",
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.1.12",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 0.2.25",
|
|
|
|
"tokio 0.3.7",
|
2020-11-28 05:30:57 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-io-timeout"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "1.1.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "90c49f106be240de154571dd31fbe48acb10ba6c6dd6f6517ad603abffa42de9"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.2.6",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-05-17 11:16:48 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tokio-macros"
|
2020-11-13 06:06:35 +00:00
|
|
|
version = "0.2.6"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-13 06:06:35 +00:00
|
|
|
checksum = "e44da00bfc73a25f814cd8d7e57a68a5c31b74b3152a0a1d1f590c97ed06265a"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-macros"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "1.1.0"
|
2020-11-28 05:30:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "caf7b11a536f46a809a8a9f0bb4237020f70ecbf115b842360afb127ea2fda57"
|
2020-11-28 05:30:57 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2021-02-10 23:29:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-native-tls"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b"
|
|
|
|
dependencies = [
|
|
|
|
"native-tls",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2021-02-10 23:29:49 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tokio-stream"
|
Handle early blocks (#2155)
## Issue Addressed
NA
## Problem this PR addresses
There's an issue where Lighthouse is banning a lot of peers due to the following sequence of events:
1. Gossip block 0xabc arrives ~200ms early
- It is propagated across the network, with respect to [`MAXIMUM_GOSSIP_CLOCK_DISPARITY`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/p2p-interface.md#why-is-there-maximum_gossip_clock_disparity-when-validating-slot-ranges-of-messages-in-gossip-subnets).
- However, it is not imported to our database since the block is early.
2. Attestations for 0xabc arrive, but the block was not imported.
- The peer that sent the attestation is down-voted.
- Each unknown-block attestation causes a score loss of 1, the peer is banned at -100.
- When the peer is on an attestation subnet there can be hundreds of attestations, so the peer is banned quickly (before the missed block can be obtained via rpc).
## Potential solutions
I can think of three solutions to this:
1. Wait for attestation-queuing (#635) to arrive and solve this.
- Easy
- Not immediate fix.
- Whilst this would work, I don't think it's a perfect solution for this particular issue, rather (3) is better.
1. Allow importing blocks with a tolerance of `MAXIMUM_GOSSIP_CLOCK_DISPARITY`.
- Easy
- ~~I have implemented this, for now.~~
1. If a block is verified for gossip propagation (i.e., signature verified) and it's within `MAXIMUM_GOSSIP_CLOCK_DISPARITY`, then queue it to be processed at the start of the appropriate slot.
- More difficult
- Feels like the best solution, I will try to implement this.
**This PR takes approach (3).**
## Changes included
- Implement the `block_delay_queue`, based upon a [`DelayQueue`](https://docs.rs/tokio-util/0.6.3/tokio_util/time/delay_queue/struct.DelayQueue.html) which can store blocks until it's time to import them.
- Add a new `DelayedImportBlock` variant to the `beacon_processor::WorkEvent` enum to handle this new event.
- In the `BeaconProcessor`, refactor a `tokio::select!` to a struct with an explicit `Stream` implementation. I experienced some issues with `tokio::select!` in the block delay queue and I also found it hard to debug. I think this explicit implementation is nicer and functionally equivalent (apart from the fact that `tokio::select!` randomly chooses futures to poll, whereas now we're deterministic).
- Add a testing framework to the `beacon_processor` module that tests this new block delay logic. I also tested a handful of other operations in the beacon processor (attns, slashings, exits) since it was super easy to copy-pasta the code from the `http_api` tester.
- To implement these tests I added the concept of an optional `work_journal_tx` to the `BeaconProcessor` which will spit out a log of events. I used this in the tests to ensure that things were happening as I expect.
- The tests are a little racey, but it's hard to avoid that when testing timing-based code. If we see CI failures I can revise. I haven't observed *any* failures due to races on my machine or on CI yet.
- To assist with testing I allowed for directly setting the time on the `ManualSlotClock`.
- I gave the `beacon_processor::Worker` a `Toolbox` for two reasons; (a) it avoids changing tons of function sigs when you want to pass a new object to the worker and (b) it seemed cute.
2021-02-24 03:08:52 +00:00
|
|
|
version = "0.1.3"
|
2021-02-10 23:29:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
Handle early blocks (#2155)
## Issue Addressed
NA
## Problem this PR addresses
There's an issue where Lighthouse is banning a lot of peers due to the following sequence of events:
1. Gossip block 0xabc arrives ~200ms early
- It is propagated across the network, with respect to [`MAXIMUM_GOSSIP_CLOCK_DISPARITY`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/p2p-interface.md#why-is-there-maximum_gossip_clock_disparity-when-validating-slot-ranges-of-messages-in-gossip-subnets).
- However, it is not imported to our database since the block is early.
2. Attestations for 0xabc arrive, but the block was not imported.
- The peer that sent the attestation is down-voted.
- Each unknown-block attestation causes a score loss of 1, the peer is banned at -100.
- When the peer is on an attestation subnet there can be hundreds of attestations, so the peer is banned quickly (before the missed block can be obtained via rpc).
## Potential solutions
I can think of three solutions to this:
1. Wait for attestation-queuing (#635) to arrive and solve this.
- Easy
- Not immediate fix.
- Whilst this would work, I don't think it's a perfect solution for this particular issue, rather (3) is better.
1. Allow importing blocks with a tolerance of `MAXIMUM_GOSSIP_CLOCK_DISPARITY`.
- Easy
- ~~I have implemented this, for now.~~
1. If a block is verified for gossip propagation (i.e., signature verified) and it's within `MAXIMUM_GOSSIP_CLOCK_DISPARITY`, then queue it to be processed at the start of the appropriate slot.
- More difficult
- Feels like the best solution, I will try to implement this.
**This PR takes approach (3).**
## Changes included
- Implement the `block_delay_queue`, based upon a [`DelayQueue`](https://docs.rs/tokio-util/0.6.3/tokio_util/time/delay_queue/struct.DelayQueue.html) which can store blocks until it's time to import them.
- Add a new `DelayedImportBlock` variant to the `beacon_processor::WorkEvent` enum to handle this new event.
- In the `BeaconProcessor`, refactor a `tokio::select!` to a struct with an explicit `Stream` implementation. I experienced some issues with `tokio::select!` in the block delay queue and I also found it hard to debug. I think this explicit implementation is nicer and functionally equivalent (apart from the fact that `tokio::select!` randomly chooses futures to poll, whereas now we're deterministic).
- Add a testing framework to the `beacon_processor` module that tests this new block delay logic. I also tested a handful of other operations in the beacon processor (attns, slashings, exits) since it was super easy to copy-pasta the code from the `http_api` tester.
- To implement these tests I added the concept of an optional `work_journal_tx` to the `BeaconProcessor` which will spit out a log of events. I used this in the tests to ensure that things were happening as I expect.
- The tests are a little racey, but it's hard to avoid that when testing timing-based code. If we see CI failures I can revise. I haven't observed *any* failures due to races on my machine or on CI yet.
- To assist with testing I allowed for directly setting the time on the `ManualSlotClock`.
- I gave the `beacon_processor::Worker` a `Toolbox` for two reasons; (a) it avoids changing tons of function sigs when you want to pass a new object to the worker and (b) it seemed cute.
2021-02-24 03:08:52 +00:00
|
|
|
checksum = "1981ad97df782ab506a1f43bf82c967326960d278acf3bf8279809648c3ff3ea"
|
2021-02-10 23:29:49 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.2.6",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2021-03-01 01:58:05 +00:00
|
|
|
"tokio-util 0.6.3",
|
2021-02-10 23:29:49 +00:00
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-tls"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9a70f4fcd7b3b24fb194f837560168208f669ca8cb70d0c4b862944452396343"
|
|
|
|
dependencies = [
|
|
|
|
"native-tls",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 0.2.25",
|
2020-05-17 11:16:48 +00:00
|
|
|
]
|
|
|
|
|
2020-09-29 03:46:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-tungstenite"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.13.0"
|
2020-09-29 03:46:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "e1a5f475f1b9d077ea1017ecbc60890fda8e54942d680ca0b1d2b47cfa2d861b"
|
2020-09-29 03:46:54 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-util",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2021-03-02 05:59:49 +00:00
|
|
|
"pin-project 1.0.5",
|
|
|
|
"tokio 1.2.0",
|
2020-09-29 03:46:54 +00:00
|
|
|
"tungstenite",
|
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-util"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499"
|
|
|
|
dependencies = [
|
2020-07-21 00:54:47 +00:00
|
|
|
"bytes 0.5.6",
|
2020-05-17 11:16:48 +00:00
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.1.12",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 0.2.25",
|
2020-05-17 11:16:48 +00:00
|
|
|
]
|
|
|
|
|
2020-11-28 05:30:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-util"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.5.1"
|
2020-11-28 05:30:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "3137de2b078e95274b696cc522e87f22c9a753fe3ef3344116ffb94f104f10a3"
|
2020-11-28 05:30:57 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 0.6.0",
|
2020-11-28 05:30:57 +00:00
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"futures-sink",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.2.6",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 0.3.7",
|
2020-11-28 05:30:57 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tokio-util"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.6.3"
|
2020-11-28 05:30:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "ebb7cb2f00c5ae8df755b252306272cd1790d39728363936e01827e11f0b017b"
|
2020-11-28 05:30:57 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2020-11-28 05:30:57 +00:00
|
|
|
"futures-core",
|
2020-12-14 02:28:19 +00:00
|
|
|
"futures-io",
|
2020-11-28 05:30:57 +00:00
|
|
|
"futures-sink",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.2.6",
|
2020-12-09 01:34:58 +00:00
|
|
|
"slab",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-11-28 05:30:57 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "toml"
|
2020-12-23 18:52:48 +00:00
|
|
|
version = "0.5.8"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-23 18:52:48 +00:00
|
|
|
checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"serde",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tower-service"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.1"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6"
|
2020-05-17 11:16:48 +00:00
|
|
|
|
2020-07-15 05:04:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tracing"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.1.25"
|
2020-07-15 05:04:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "01ebdc2bb4498ab1ab5f5b73c5803825e60199229ccba0698170e3be0e7f959f"
|
2020-07-15 05:04:09 +00:00
|
|
|
dependencies = [
|
2020-11-24 00:44:40 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2021-03-08 06:27:49 +00:00
|
|
|
"pin-project-lite 0.2.6",
|
2020-10-23 04:16:33 +00:00
|
|
|
"tracing-attributes",
|
2020-07-15 05:04:09 +00:00
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
2020-10-23 04:16:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tracing-attributes"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.1.13"
|
2020-10-23 04:16:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "a8a9bd1db7706f2373a190b0d067146caa39350c486f3d455b0e33b431f94c07"
|
2020-10-23 04:16:33 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2020-07-15 05:04:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tracing-core"
|
2020-09-29 08:29:04 +00:00
|
|
|
version = "0.1.17"
|
2020-07-15 05:04:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-29 08:29:04 +00:00
|
|
|
checksum = "f50de3927f93d202783f4513cda820ab47ef17f624b03c096e86ef00c67e6b5f"
|
2020-07-15 05:04:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
]
|
|
|
|
|
2020-09-29 03:46:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tracing-futures"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.2.5"
|
2020-09-29 03:46:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2"
|
2020-09-29 03:46:54 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"pin-project 1.0.5",
|
2020-10-23 04:16:33 +00:00
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-log"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.1.2"
|
2020-10-23 04:16:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "a6923477a48e41c1951f1999ef8bb5a3023eb723ceadafe78ffb65dc366761e3"
|
2020-10-23 04:16:33 +00:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-10-23 04:16:33 +00:00
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-serde"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fb65ea441fbb84f9f6748fd496cf7f63ec9af5bca94dd86456978d055e8eb28b"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-subscriber"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.2.16"
|
2020-10-23 04:16:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "8ab8966ac3ca27126141f7999361cc97dd6fb4b71da04c02044fa9045d98bb96"
|
2020-10-23 04:16:33 +00:00
|
|
|
dependencies = [
|
|
|
|
"ansi_term 0.12.1",
|
|
|
|
"chrono",
|
|
|
|
"lazy_static",
|
|
|
|
"matchers",
|
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"sharded-slab",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2020-10-23 04:16:33 +00:00
|
|
|
"thread_local",
|
2020-09-29 03:46:54 +00:00
|
|
|
"tracing",
|
2020-10-23 04:16:33 +00:00
|
|
|
"tracing-core",
|
|
|
|
"tracing-log",
|
|
|
|
"tracing-serde",
|
2020-09-29 03:46:54 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "trackable"
|
2020-05-17 11:16:48 +00:00
|
|
|
version = "1.0.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-17 11:16:48 +00:00
|
|
|
checksum = "30fb6e13d129dd92c501458f64d56c708e3685e3fd307e878ec5f934c5c5bdb0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"trackable_derive",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "trackable_derive"
|
2020-05-17 11:16:48 +00:00
|
|
|
version = "1.0.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-17 11:16:48 +00:00
|
|
|
checksum = "ebeb235c5847e2f82cfe0f07eb971d1e5f6804b18dac2ae16349cc604380f82f"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tree_hash"
|
|
|
|
version = "0.1.1"
|
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"criterion",
|
|
|
|
"eth2_hashing",
|
|
|
|
"ethereum-types",
|
|
|
|
"lazy_static",
|
|
|
|
"rand 0.7.3",
|
2020-12-09 01:34:58 +00:00
|
|
|
"smallvec",
|
2020-05-10 09:56:31 +00:00
|
|
|
"tree_hash_derive",
|
|
|
|
"types",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tree_hash_derive"
|
|
|
|
version = "0.2.0"
|
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "try-lock"
|
2020-07-11 02:35:59 +00:00
|
|
|
version = "0.2.3"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-11 02:35:59 +00:00
|
|
|
checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-09-29 03:46:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tungstenite"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.12.0"
|
2020-09-29 03:46:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "8ada8297e8d70872fa9a551d93250a9f407beb9f37ef86494eb20012a2ff7c24"
|
2020-09-29 03:46:54 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"base64 0.13.0",
|
2020-09-29 03:46:54 +00:00
|
|
|
"byteorder",
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
|
|
|
"http",
|
2020-09-29 03:46:54 +00:00
|
|
|
"httparse",
|
|
|
|
"input_buffer",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2021-03-02 05:59:49 +00:00
|
|
|
"rand 0.8.3",
|
2021-03-08 06:27:49 +00:00
|
|
|
"sha-1",
|
2020-12-09 01:34:58 +00:00
|
|
|
"url",
|
2020-09-29 03:46:54 +00:00
|
|
|
"utf-8",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "twoway"
|
|
|
|
version = "0.1.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "59b11b2b5241ba34be09c3cc85a36e56e48f9888862e19cedf23336d35316ed1"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2020-12-14 02:28:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "typed-headers"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3179a61e9eccceead5f1574fd173cf2e162ac42638b9bf214c6ad0baf7efa24a"
|
|
|
|
dependencies = [
|
|
|
|
"base64 0.11.0",
|
|
|
|
"bytes 0.5.6",
|
|
|
|
"chrono",
|
2021-02-10 23:29:49 +00:00
|
|
|
"http",
|
2020-12-14 02:28:19 +00:00
|
|
|
"mime",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "typenum"
|
2020-04-21 15:05:46 +00:00
|
|
|
version = "1.12.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "types"
|
Initial work towards v0.2.0 (#924)
* Remove ping protocol
* Initial renaming of network services
* Correct rebasing relative to latest master
* Start updating types
* Adds HashMapDelay struct to utils
* Initial network restructure
* Network restructure. Adds new types for v0.2.0
* Removes build artefacts
* Shift validation to beacon chain
* Temporarily remove gossip validation
This is to be updated to match current optimisation efforts.
* Adds AggregateAndProof
* Begin rebuilding pubsub encoding/decoding
* Signature hacking
* Shift gossipsup decoding into eth2_libp2p
* Existing EF tests passing with fake_crypto
* Shifts block encoding/decoding into RPC
* Delete outdated API spec
* 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
* Fast aggregate verify test
* Update REST API docs
* 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
* Progress on attestation service
* Address review comments; remove unused dependency
* Initial work on removing libp2p lock
* Add LRU caches to store (rollup)
* Update attestation validation for DB changes (WIP)
* Initial version of should_forward_block
* Scaffold
* 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.
* Removes lock from libp2p service
* Completed network lock removal
* Finish(?) attestation processing
* Correct network termination future
* Add slot check to block check
* Correct fmt issues
* Remove Drop implementation for network service
* 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
* Address reviewers suggestions
* Disable/delete two outdated tests
* Modification of validator for subscriptions
* Add slot signing to validator client
* Further progress on validation subscription
* Adds necessary validator subscription functionality
* Add new Pubkeys struct to signature_sets
* Refactor with functional approach
* Update beacon chain
* Clean up validator <-> beacon node http types
* Add aggregator status to ValidatorDuty
* Impl Clone for manual slot clock
* Fix minor errors
* Further progress validator client subscription
* Initial subscription and aggregation handling
* Remove decompressed member from pubkey bytes
* Progress to modifying val client for attestation aggregation
* First draft of validator client upgrade for aggregate attestations
* Add hashmap for indices lookup
* Add state cache, remove store cache
* Only build the head committee cache
* Removes lock on a network channel
* Partially implement beacon node subscription http api
* Correct compilation issues
* Change `get_attesting_indices` to use Vec
* Fix failing test
* Partial implementation of timer
* Adds timer, removes exit_future, http api to op pool
* Partial multiple aggregate attestation handling
* Permits bulk messages accross gossipsub network channel
* Correct compile issues
* Improve gosispsub messaging and correct rest api helpers
* Added global gossipsub subscriptions
* Update validator subscriptions data structs
* Tidy
* Re-structure validator subscriptions
* Initial handling of subscriptions
* Re-structure network service
* Add pubkey cache persistence file
* Add more comments
* Integrate persistence file into builder
* Add pubkey cache tests
* Add HashSetDelay and introduce into attestation service
* Handles validator subscriptions
* Add data_dir to beacon chain builder
* Remove Option in pubkey cache persistence file
* Ensure consistency between datadir/data_dir
* Fix failing network test
* Peer subnet discovery gets queued for future subscriptions
* Reorganise attestation service functions
* Initial wiring of attestation service
* First draft of attestation service timing logic
* Correct minor typos
* Tidy
* Fix todos
* Improve tests
* Add PeerInfo to connected peers mapping
* 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
* Correct code to pass all tests
* Fix bug with beacon proposer index
* Fix shim for BlockProcessingError
* Only process one epoch at a time
* Fix loop in chain segment processing
* Correct tests from master merge
* Add caching for state.eth1_data_votes
* Add BeaconChain::validator_pubkey
* Revert "Add caching for state.eth1_data_votes"
This reverts commit cd73dcd6434fb8d8e6bf30c5356355598ea7b78e.
Co-authored-by: Grant Wuerker <gwuerker@gmail.com>
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>
2020-03-17 06:24:44 +00:00
|
|
|
version = "0.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"arbitrary",
|
|
|
|
"bls",
|
|
|
|
"cached_tree_hash",
|
|
|
|
"compare_fields",
|
|
|
|
"compare_fields_derive",
|
|
|
|
"criterion",
|
2020-06-18 11:06:34 +00:00
|
|
|
"derivative",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_hashing",
|
|
|
|
"eth2_interop_keypairs",
|
|
|
|
"eth2_ssz",
|
|
|
|
"eth2_ssz_derive",
|
|
|
|
"eth2_ssz_types",
|
|
|
|
"ethereum-types",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-05-10 09:56:31 +00:00
|
|
|
"int_to_bytes",
|
2020-11-18 23:31:37 +00:00
|
|
|
"lazy_static",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-10 09:56:31 +00:00
|
|
|
"merkle_proof",
|
|
|
|
"rand 0.7.3",
|
2021-02-10 23:29:49 +00:00
|
|
|
"rand_xorshift",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rayon",
|
2020-09-29 03:46:54 +00:00
|
|
|
"regex",
|
2020-05-18 06:25:16 +00:00
|
|
|
"rusqlite",
|
2020-05-10 09:56:31 +00:00
|
|
|
"safe_arith",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
2020-09-29 03:46:54 +00:00
|
|
|
"serde_utils",
|
2020-05-10 09:56:31 +00:00
|
|
|
"serde_yaml",
|
|
|
|
"slog",
|
|
|
|
"swap_or_not_shuffle",
|
|
|
|
"tempfile",
|
|
|
|
"test_random_derive",
|
|
|
|
"tree_hash",
|
|
|
|
"tree_hash_derive",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "uint"
|
2020-08-18 11:23:08 +00:00
|
|
|
version = "0.8.5"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-18 11:23:08 +00:00
|
|
|
checksum = "9db035e67dfaf7edd9aebfe8676afcd63eed53c8a4044fed514c8cccf1835177"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"arbitrary",
|
2020-05-17 11:16:48 +00:00
|
|
|
"byteorder",
|
|
|
|
"crunchy",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rustc-hex",
|
|
|
|
"static_assertions",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-29 02:03:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unescape"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ccb97dac3243214f8d8507998906ca3e2e0b900bf9bf4870477f125b82e68f6e"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicase"
|
|
|
|
version = "2.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"version_check",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-bidi"
|
|
|
|
version = "0.3.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"matches",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-normalization"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.1.17"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "07fbfce1c8a97d547e8b5334978438d9d6ec8c20e38f56d4a4374d181493eaef"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-07-06 01:55:56 +00:00
|
|
|
"tinyvec",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2020-05-17 11:16:48 +00:00
|
|
|
name = "unicode-segmentation"
|
2020-11-27 09:48:38 +00:00
|
|
|
version = "1.7.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-27 09:48:38 +00:00
|
|
|
checksum = "bb0d2e7be6ae3a5fa87eed5fb451aff96f2573d2694942e40543ae0bbe19c796"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
2020-05-17 11:16:48 +00:00
|
|
|
name = "unicode-width"
|
2020-07-06 01:55:56 +00:00
|
|
|
version = "0.1.8"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-06 01:55:56 +00:00
|
|
|
checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-xid"
|
2020-07-06 01:55:56 +00:00
|
|
|
version = "0.2.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-06 01:55:56 +00:00
|
|
|
checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-06-29 10:25:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "universal-hash"
|
2020-07-11 02:35:59 +00:00
|
|
|
version = "0.4.0"
|
2020-06-29 10:25:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-11 02:35:59 +00:00
|
|
|
checksum = "8326b2c654932e3e4f9196e69d08fdf7cfd718e1dc6f66b347e6024a0c961402"
|
2020-06-29 10:25:42 +00:00
|
|
|
dependencies = [
|
2020-08-18 11:23:08 +00:00
|
|
|
"generic-array 0.14.4",
|
2020-12-23 07:53:36 +00:00
|
|
|
"subtle 2.4.0",
|
2020-06-29 10:25:42 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unsigned-varint"
|
2020-11-28 05:30:57 +00:00
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f7fdeedbf205afadfe39ae559b75c3240f24e257d0ca27e85f85cb82aa19ac35"
|
2020-05-17 11:16:48 +00:00
|
|
|
|
2020-08-27 07:04:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unsigned-varint"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "35581ff83d4101e58b582e607120c7f5ffb17e632a980b1f38334d76b36908b2"
|
2020-08-30 13:06:50 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
|
|
|
"tokio-util 0.6.3",
|
2020-08-30 13:06:50 +00:00
|
|
|
]
|
2020-08-27 07:04:12 +00:00
|
|
|
|
2021-03-02 05:59:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unsigned-varint"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5f8d425fafb8cd76bc3f22aace4af471d3156301d7508f2107e98fbeae10bc7f"
|
|
|
|
dependencies = [
|
|
|
|
"asynchronous-codec",
|
|
|
|
"bytes 1.0.1",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "untrusted"
|
2020-05-10 09:56:31 +00:00
|
|
|
version = "0.7.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "url"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "2.2.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "9ccd964113622c8e9322cfac19eb1004a07e636c545f325da085d5cdde6f1f8b"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-11-13 06:06:35 +00:00
|
|
|
"form_urlencoded",
|
2020-12-09 01:34:58 +00:00
|
|
|
"idna",
|
2020-05-10 09:56:31 +00:00
|
|
|
"matches",
|
2020-12-09 01:34:58 +00:00
|
|
|
"percent-encoding",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-09-29 03:46:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "utf-8"
|
|
|
|
version = "0.7.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "05e42f7c18b8f902290b009cde6d651262f956c98bc51bca4cd1d511c9cd85c7"
|
|
|
|
|
2020-05-11 07:45:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "uuid"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.8.2"
|
2020-05-11 07:45:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
|
2020-05-11 07:45:06 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"getrandom 0.2.2",
|
2020-05-11 07:45:06 +00:00
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "validator_client"
|
2020-11-18 00:44:28 +00:00
|
|
|
version = "0.3.5"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-07-22 09:34:55 +00:00
|
|
|
"account_utils",
|
2020-10-05 10:50:43 +00:00
|
|
|
"bincode",
|
2020-05-10 09:56:31 +00:00
|
|
|
"bls",
|
|
|
|
"clap",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"clap_utils",
|
2020-05-10 09:56:31 +00:00
|
|
|
"deposit_contract",
|
2020-09-29 00:02:44 +00:00
|
|
|
"directory",
|
2020-10-05 08:22:19 +00:00
|
|
|
"dirs 3.0.1",
|
2020-05-10 09:56:31 +00:00
|
|
|
"environment",
|
2020-09-29 03:46:54 +00:00
|
|
|
"eth2",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_config",
|
|
|
|
"eth2_interop_keypairs",
|
2020-07-22 09:34:55 +00:00
|
|
|
"eth2_keystore",
|
2020-05-10 09:56:31 +00:00
|
|
|
"eth2_ssz",
|
|
|
|
"eth2_ssz_derive",
|
|
|
|
"exit-future",
|
2020-12-18 09:17:03 +00:00
|
|
|
"fallback",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2021-02-10 23:29:49 +00:00
|
|
|
"hyper 0.14.4",
|
2020-11-26 01:10:51 +00:00
|
|
|
"lazy_static",
|
2020-05-10 09:56:31 +00:00
|
|
|
"libc",
|
2020-10-02 09:42:19 +00:00
|
|
|
"libsecp256k1",
|
2020-11-26 01:10:51 +00:00
|
|
|
"lighthouse_metrics",
|
2020-10-02 09:42:19 +00:00
|
|
|
"lighthouse_version",
|
2020-11-26 11:25:46 +00:00
|
|
|
"lockfile",
|
2020-05-10 09:56:31 +00:00
|
|
|
"logging",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-10-02 09:42:19 +00:00
|
|
|
"rand 0.7.3",
|
2020-05-10 09:56:31 +00:00
|
|
|
"rayon",
|
2020-10-02 09:42:19 +00:00
|
|
|
"ring",
|
2021-03-17 05:09:57 +00:00
|
|
|
"safe_arith",
|
2020-12-07 08:20:33 +00:00
|
|
|
"scrypt",
|
2020-05-10 09:56:31 +00:00
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
2020-10-02 09:42:19 +00:00
|
|
|
"serde_utils",
|
2020-07-22 09:34:55 +00:00
|
|
|
"serde_yaml",
|
2020-05-18 06:25:16 +00:00
|
|
|
"slashing_protection",
|
2020-05-10 09:56:31 +00:00
|
|
|
"slog",
|
|
|
|
"slog-async",
|
|
|
|
"slog-term",
|
|
|
|
"slot_clock",
|
2020-10-02 09:42:19 +00:00
|
|
|
"tempfile",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"tree_hash",
|
|
|
|
"types",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"validator_dir",
|
2020-10-02 09:42:19 +00:00
|
|
|
"warp",
|
|
|
|
"warp_utils",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "validator_dir"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"bls",
|
|
|
|
"deposit_contract",
|
2020-11-26 11:25:46 +00:00
|
|
|
"derivative",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"eth2_keystore",
|
2020-10-28 22:19:38 +00:00
|
|
|
"hex",
|
2020-11-26 11:25:46 +00:00
|
|
|
"lockfile",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"rand 0.7.3",
|
|
|
|
"rayon",
|
2020-05-26 08:30:44 +00:00
|
|
|
"slog",
|
Wallet-based, encrypted key management (#1138)
* Update hashmap hashset to stable futures
* Adds panic test to hashset delay
* Port remote_beacon_node to stable futures
* Fix lcli merge conflicts
* Non rpc stuff compiles
* Remove padding
* Add error enum, zeroize more things
* Fix comment
* protocol.rs compiles
* Port websockets, timer and notifier to stable futures (#1035)
* Fix lcli
* Port timer to stable futures
* Fix timer
* Port websocket_server to stable futures
* Port notifier to stable futures
* Add TODOS
* Port remote_beacon_node to stable futures
* Partial eth2-libp2p stable future upgrade
* Finished first round of fighting RPC types
* Further progress towards porting eth2-libp2p adds caching to discovery
* Update behaviour
* Add keystore builder
* Remove keystore stuff from val client
* Add more tests, comments
* RPC handler to stable futures
* Update RPC to master libp2p
* Add more comments, test vectors
* Network service additions
* Progress on improving JSON validation
* More JSON verification
* Start moving JSON into own mod
* Remove old code
* Add more tests, reader/writers
* Tidy
* Move keystore into own file
* Move more logic into keystore file
* Tidy
* Tidy
* Fix the fallback transport construction (#1102)
* Allow for odd-character hex
* Correct warning
* Remove hashmap delay
* Compiling version of eth2-libp2p
* Update all crates versions
* Fix conversion function and add tests (#1113)
* Add more json missing field checks
* Use scrypt by default
* Tidy, address comments
* Test path and uuid in vectors
* Fix comment
* Add checks for kdf params
* Enforce empty kdf message
* Port validator_client to stable futures (#1114)
* Add PH & MS slot clock changes
* Account for genesis time
* Add progress on duties refactor
* Add simple is_aggregator bool to val subscription
* Start work on attestation_verification.rs
* Add progress on ObservedAttestations
* Progress with ObservedAttestations
* Fix tests
* Add observed attestations to the beacon chain
* Add attestation observation to processing code
* Add progress on attestation verification
* Add first draft of ObservedAttesters
* Add more tests
* Add observed attesters to beacon chain
* Add observers to attestation processing
* Add more attestation verification
* Create ObservedAggregators map
* Remove commented-out code
* Add observed aggregators into chain
* Add progress
* Finish adding features to attestation verification
* Ensure beacon chain compiles
* Link attn verification into chain
* Integrate new attn verification in chain
* Remove old attestation processing code
* Start trying to fix beacon_chain tests
* Split adding into pools into two functions
* Add aggregation to harness
* Get test harness working again
* Adjust the number of aggregators for test harness
* Fix edge-case in harness
* Integrate new attn processing in network
* Fix compile bug in validator_client
* Update validator API endpoints
* Fix aggreagation in test harness
* Fix enum thing
* Fix attestation observation bug:
* Patch failing API tests
* Start adding comments to attestation verification
* Remove unused attestation field
* Unify "is block known" logic
* Update comments
* Supress fork choice errors for network processing
* Add todos
* Tidy
* Add gossip attn tests
* Disallow test harness to produce old attns
* Comment out in-progress tests
* Partially address pruning tests
* Fix failing store test
* Add aggregate tests
* Add comments about which spec conditions we check
* Dont re-aggregate
* Split apart test harness attn production
* Fix compile error in network
* Make progress on commented-out test
* Fix skipping attestation test
* Add fork choice verification tests
* Tidy attn tests, remove dead code
* Remove some accidentally added code
* Fix clippy lint
* Rename test file
* Add block tests, add cheap block proposer check
* Rename block testing file
* Add observed_block_producers
* Tidy
* Switch around block signature verification
* Finish block testing
* Remove gossip from signature tests
* First pass of self review
* Fix deviation in spec
* Update test spec tags
* Start moving over to hashset
* Finish moving observed attesters to hashmap
* Move aggregation pool over to hashmap
* Make fc attn borrow again
* Fix rest_api compile error
* Fix missing comments
* Fix monster test
* Uncomment increasing slots test
* Address remaining comments
* Remove unsafe, use cfg test
* Remove cfg test flag
* Fix dodgy comment
* Revert "Update hashmap hashset to stable futures"
This reverts commit d432378a3cc5cd67fc29c0b15b96b886c1323554.
* Revert "Adds panic test to hashset delay"
This reverts commit 281502396fc5b90d9c421a309c2c056982c9525b.
* Ported attestation_service
* Ported duties_service
* Ported fork_service
* More ports
* Port block_service
* Minor fixes
* VC compiles
* Update TODOS
* Borrow self where possible
* Ignore aggregates that are already known.
* Unify aggregator modulo logic
* Fix typo in logs
* Refactor validator subscription logic
* Avoid reproducing selection proof
* Skip HTTP call if no subscriptions
* Rename DutyAndState -> DutyAndProof
* Tidy logs
* Print root as dbg
* Fix compile errors in tests
* Fix compile error in test
* Re-Fix attestation and duties service
* Minor fixes
Co-authored-by: Paul Hauner <paul@paulhauner.com>
* Expose json_keystore mod
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* First commits on path derivation
* Progress with implementation
* Move key derivation into own crate
* Start defining JSON wallet
* Add progress
* Split out encrypt/decrypt
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Replace some password usage with slice
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add progress
* Expose PlainText struct
* First commits on path derivation
* Progress with implementation
* More progress
* Passing intermediate test vectors
* Tidy, add comments
* Add DerivedKey structs
* Move key derivation into own crate
* Add zeroize structs
* Return error for empty seed
* Add tests
* Tidy
* Add builder
* Expose consts, remove Password
* Minor progress
* Expose SALT_SIZE
* First compiling version
* Add test vectors
* Network crate update to stable futures
* Move dbg assert statement
* Port account_manager to stable futures (#1121)
* Port account_manager to stable futures
* Run async fns in tokio environment
* Port rest_api crate to stable futures (#1118)
* Port rest_api lib to stable futures
* Reduce tokio features
* Update notifier to stable futures
* Builder update
* Further updates
* Add mnemonic, tidy
* Convert self referential async functions
* Tidy
* Add testing
* Add first attempt at validator_dir
* Present pubkey field
* stable futures fixes (#1124)
* Fix eth1 update functions
* Fix genesis and client
* Fix beacon node lib
* Return appropriate runtimes from environment
* Fix test rig
* Refactor eth1 service update
* Upgrade simulator to stable futures
* Lighthouse compiles on stable futures
* Add first pass of wallet manager
* Progress with CLI
* Remove println debugging statement
* Tidy output
* Tidy 600 perms
* Update libp2p service, start rpc test upgrade
* Add validator creation flow
* Update network crate for new libp2p
* Start tidying, adding comments
* Update tokio::codec to futures_codec (#1128)
* Further work towards RPC corrections
* Correct http timeout and network service select
* Add wallet mgr testing
* Shift LockedWallet into own file
* Add comments to fs
* Start integration into VC
* Use tokio runtime for libp2p
* Revert "Update tokio::codec to futures_codec (#1128)"
This reverts commit e57aea924acf5cbabdcea18895ac07e38a425ed7.
* Upgrade RPC libp2p tests
* Upgrade secio fallback test
* Add lcli keypair upgrade command
* Upgrade gossipsub examples
* Clean up RPC protocol
* Test fixes (#1133)
* Correct websocket timeout and run on os thread
* Fix network test
* Add --secrets-dir to VC
* Remove --legacy-keys from VC
* Clean up PR
* Correct tokio tcp move attestation service tests
* Upgrade attestation service tests
* Fix sim
* Correct network test
* Correct genesis test
* Start docs
* Add progress for validator generation
* Tidy error messages
* Test corrections
* Log info when block is received
* Modify logs and update attester service events
* Stable futures: fixes to vc, eth1 and account manager (#1142)
* Add local testnet scripts
* Remove whiteblock script
* Rename local testnet script
* Move spawns onto handle
* Fix VC panic
* Initial fix to block production issue
* Tidy block producer fix
* Tidy further
* Add local testnet clean script
* Run cargo fmt
* Tidy duties service
* Tidy fork service
* Tidy ForkService
* Tidy AttestationService
* Tidy notifier
* Ensure await is not suppressed in eth1
* Ensure await is not suppressed in account_manager
* Use .ok() instead of .unwrap_or(())
* RPC decoding test for proto
* Update discv5 and eth2-libp2p deps
* Run cargo fmt
* Pre-build keystores for sim
* Fix lcli double runtime issue (#1144)
* Handle stream termination and dialing peer errors
* Correct peer_info variant types
* Add progress on new deposit flow
* Remove unnecessary warnings
* Handle subnet unsubscription removal and improve logigng
* Add logs around ping
* Upgrade discv5 and improve logging
* Handle peer connection status for multiple connections
* Improve network service logging
* Add more incomplete progress
* Improve logging around peer manager
* Upgrade swarm poll centralise peer management
* Identify clients on error
* Fix `remove_peer` in sync (#1150)
* remove_peer removes from all chains
* Remove logs
* Fix early return from loop
* Improved logging, fix panic
* Partially correct tests
* Add deposit command
* Remove old validator directory
* Start adding AM tests
* Stable futures: Vc sync (#1149)
* Improve syncing heuristic
* Add comments
* Use safer method for tolerance
* Fix tests
* Binary testing progress
* Progress with CLI tests
* Use constants for flags
* More account manager testing
* Improve CLI tests
* Move upgrade-legacy-keypairs into account man
* Use rayon for VC key generation
* Add comments to `validator_dir`
* Add testing to validator_dir
* Add fix to eth1-sim
* Check errors in eth1-sim
* Fix mutability issue
* Ensure password file ends in .pass
* Add more tests to wallet manager
* Tidy deposit
* Tidy account manager
* Tidy account manager
* Remove panic
* Generate keypairs earlier in sim
* Tidy eth1-sime
* Try to fix eth1 sim
* Address review comments
* Fix typo in CLI command
* Update docs
* Disable eth1 sim
* Remove eth1 sim completely
Co-authored-by: Age Manning <Age@AgeManning.com>
Co-authored-by: pawanjay176 <pawandhananjay@gmail.com>
2020-05-18 09:01:45 +00:00
|
|
|
"tempfile",
|
|
|
|
"tree_hash",
|
|
|
|
"types",
|
|
|
|
]
|
|
|
|
|
2021-03-02 05:59:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "value-bag"
|
|
|
|
version = "1.0.0-alpha.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6b676010e055c99033117c2343b33a40a30b91fecd6c49055ac9cd2d6c305ab1"
|
|
|
|
dependencies = [
|
|
|
|
"ctor",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vcpkg"
|
2020-12-14 02:28:19 +00:00
|
|
|
version = "0.2.11"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-14 02:28:19 +00:00
|
|
|
checksum = "b00bca6106a5e23f3eee943593759b7fcddb00554332e856d990c893966879fb"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vec-arena"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "eafc1b9b2dfc6f5529177b62cf806484db55b32dc7c9658a118e11bbeb33061d"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vec_map"
|
2020-05-10 09:56:31 +00:00
|
|
|
version = "0.8.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "version_check"
|
2020-05-26 20:34:15 +00:00
|
|
|
version = "0.9.2"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-26 20:34:15 +00:00
|
|
|
checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "void"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "waker-fn"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "walkdir"
|
2020-01-15 04:50:01 +00:00
|
|
|
version = "2.3.1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"same-file",
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2020-05-10 09:56:31 +00:00
|
|
|
"winapi-util",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "want"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0"
|
|
|
|
dependencies = [
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-10 09:56:31 +00:00
|
|
|
"try-lock",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-09-29 03:46:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "warp"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.3.0"
|
2021-03-02 05:59:49 +00:00
|
|
|
source = "git+https://github.com/paulhauner/warp?branch=cors-wildcard#1f7daf462e6286fe5fd1743f7b788227efd3fa5c"
|
2020-09-29 03:46:54 +00:00
|
|
|
dependencies = [
|
2021-02-10 23:29:49 +00:00
|
|
|
"bytes 1.0.1",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2021-02-10 23:29:49 +00:00
|
|
|
"headers",
|
|
|
|
"http",
|
|
|
|
"hyper 0.14.4",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
|
|
|
"mime",
|
2020-09-29 03:46:54 +00:00
|
|
|
"mime_guess",
|
|
|
|
"multipart",
|
2020-12-09 01:34:58 +00:00
|
|
|
"percent-encoding",
|
2021-03-02 05:59:49 +00:00
|
|
|
"pin-project 1.0.5",
|
2020-12-09 01:34:58 +00:00
|
|
|
"scoped-tls",
|
2020-09-29 03:46:54 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2020-11-28 05:30:57 +00:00
|
|
|
"serde_urlencoded",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2021-02-10 23:29:49 +00:00
|
|
|
"tokio-stream",
|
2020-09-29 03:46:54 +00:00
|
|
|
"tokio-tungstenite",
|
2021-02-10 23:29:49 +00:00
|
|
|
"tokio-util 0.6.3",
|
2020-09-29 03:46:54 +00:00
|
|
|
"tower-service",
|
|
|
|
"tracing",
|
|
|
|
"tracing-futures",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "warp_utils"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"beacon_chain",
|
|
|
|
"eth2",
|
2021-02-10 23:29:49 +00:00
|
|
|
"headers",
|
2020-11-26 01:10:51 +00:00
|
|
|
"lazy_static",
|
|
|
|
"lighthouse_metrics",
|
2020-09-29 03:46:54 +00:00
|
|
|
"safe_arith",
|
2020-10-02 09:42:19 +00:00
|
|
|
"serde",
|
2020-09-29 03:46:54 +00:00
|
|
|
"state_processing",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 1.2.0",
|
2020-09-29 03:46:54 +00:00
|
|
|
"types",
|
|
|
|
"warp",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
2020-01-10 03:35:07 +00:00
|
|
|
version = "0.9.0+wasi-snapshot-preview1"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
2020-08-27 07:04:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.10.2+wasi-snapshot-preview1"
|
2020-08-27 07:04:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
|
2020-08-27 07:04:12 +00:00
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.2.71"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "7ee1280240b7c461d6a0071313e08f34a60b0365f14260362e5a2b17d1d31aa7"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-11-30 22:55:10 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-05-17 11:16:48 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2020-05-10 09:56:31 +00:00
|
|
|
"wasm-bindgen-macro",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-backend"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.2.71"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "5b7d8b6942b8bb3a9b0e73fc79b98095a27de6fa247615e59d096754a3bc2aa8"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"bumpalo",
|
|
|
|
"lazy_static",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-17 11:16:48 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-05-10 09:56:31 +00:00
|
|
|
"wasm-bindgen-shared",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-futures"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.4.21"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "8e67a5806118af01f0d9045915676b22aaebecf4178ae7021bc171dab0b897ab"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-11-30 22:55:10 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"web-sys",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-macro"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.2.71"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "e5ac38da8ef716661f0f36c0d8320b89028efe10c7c0afde65baffb496ce0d3b"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"quote",
|
2020-05-10 09:56:31 +00:00
|
|
|
"wasm-bindgen-macro-support",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-macro-support"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.2.71"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "cc053ec74d454df287b9374ee8abb36ffd5acb95ba87da3ba5b7d3fe20eb401e"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-05-10 09:56:31 +00:00
|
|
|
"wasm-bindgen-backend",
|
|
|
|
"wasm-bindgen-shared",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-shared"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.2.71"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "7d6f8ec44822dd71f5f221a5847fb34acd9060535c1211b70a05844c0f6383b1"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-test"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.21"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "2ea9e4f0050d5498a160e6b9d278a9699598e445b51dacd05598da55114c801a"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"console_error_panic_hook",
|
|
|
|
"js-sys",
|
2020-12-09 01:34:58 +00:00
|
|
|
"scoped-tls",
|
2020-05-10 09:56:31 +00:00
|
|
|
"wasm-bindgen",
|
2020-05-17 11:16:48 +00:00
|
|
|
"wasm-bindgen-futures",
|
2020-05-10 09:56:31 +00:00
|
|
|
"wasm-bindgen-test-macro",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-test-macro"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.21"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "43f40402f495d92df6cdd0d329e7cc2580c8f99bcd74faff0e468923a764b7d4"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-timer"
|
2020-09-07 06:47:05 +00:00
|
|
|
version = "0.2.5"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-07 06:47:05 +00:00
|
|
|
checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-05-10 09:56:31 +00:00
|
|
|
"js-sys",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-05-17 11:16:48 +00:00
|
|
|
"pin-utils",
|
2020-05-10 09:56:31 +00:00
|
|
|
"wasm-bindgen",
|
2020-05-17 11:16:48 +00:00
|
|
|
"wasm-bindgen-futures",
|
2020-05-10 09:56:31 +00:00
|
|
|
"web-sys",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "web-sys"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.3.48"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "ec600b26223b2948cedfde2a0aa6756dcf1fef616f43d7b3097aaf53a6c4d92b"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-04-19 02:20:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "web3"
|
2020-12-14 02:28:19 +00:00
|
|
|
version = "0.14.0"
|
2020-06-19 04:13:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-14 02:28:19 +00:00
|
|
|
checksum = "3c736dcabf7a4d4b9e724ff6696914e205cb37f111a54903b17f76c20d59f7e6"
|
2020-04-19 02:20:43 +00:00
|
|
|
dependencies = [
|
2020-06-29 10:25:42 +00:00
|
|
|
"arrayvec",
|
2020-12-09 01:34:58 +00:00
|
|
|
"async-native-tls",
|
2020-12-14 02:28:19 +00:00
|
|
|
"base64 0.13.0",
|
2020-05-10 09:56:31 +00:00
|
|
|
"derive_more",
|
|
|
|
"ethabi",
|
|
|
|
"ethereum-types",
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-12-09 01:34:58 +00:00
|
|
|
"futures-timer",
|
2020-12-14 02:28:19 +00:00
|
|
|
"hex",
|
2021-03-02 05:59:49 +00:00
|
|
|
"hyper 0.13.10",
|
2020-12-14 02:28:19 +00:00
|
|
|
"hyper-proxy",
|
2021-02-10 23:29:49 +00:00
|
|
|
"hyper-tls 0.4.3",
|
2020-05-10 09:56:31 +00:00
|
|
|
"jsonrpc-core",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-05-10 09:56:31 +00:00
|
|
|
"native-tls",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2021-03-02 05:59:49 +00:00
|
|
|
"pin-project 1.0.5",
|
2021-02-10 23:29:49 +00:00
|
|
|
"rlp 0.4.6",
|
2020-05-10 09:56:31 +00:00
|
|
|
"secp256k1",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2020-12-09 01:34:58 +00:00
|
|
|
"soketto",
|
2020-05-10 09:56:31 +00:00
|
|
|
"tiny-keccak 2.0.2",
|
2021-03-02 05:59:49 +00:00
|
|
|
"tokio 0.2.25",
|
2020-12-14 02:28:19 +00:00
|
|
|
"tokio-util 0.5.1",
|
|
|
|
"typed-headers",
|
2020-12-09 01:34:58 +00:00
|
|
|
"url",
|
2020-04-19 02:20:43 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "webpki"
|
2020-12-14 02:28:19 +00:00
|
|
|
version = "0.21.4"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-14 02:28:19 +00:00
|
|
|
checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"ring",
|
|
|
|
"untrusted",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "webpki-roots"
|
2020-12-23 07:53:36 +00:00
|
|
|
version = "0.21.0"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-23 07:53:36 +00:00
|
|
|
checksum = "82015b7e0b8bad8185994674a13a93306bea76cf5a16c5a181382fd3a5ec2376"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"webpki",
|
|
|
|
]
|
|
|
|
|
2020-11-19 04:04:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wepoll-sys"
|
|
|
|
version = "3.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0fcb14dea929042224824779fbc82d9fab8d2e6d3cbc0ac404de8edf489e77ff"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
2020-05-17 11:16:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "which"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "4.0.2"
|
2020-05-17 11:16:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "87c14ef7e1b8b8ecfc75d5eca37949410046e66f15d185c01d70824f1f8111ef"
|
2020-05-17 11:16:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2021-02-10 23:29:49 +00:00
|
|
|
"thiserror",
|
2020-05-17 11:16:48 +00:00
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi"
|
|
|
|
version = "0.2.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi"
|
2020-07-06 01:55:56 +00:00
|
|
|
version = "0.3.9"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-06 01:55:56 +00:00
|
|
|
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"winapi-i686-pc-windows-gnu",
|
|
|
|
"winapi-x86_64-pc-windows-gnu",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi-build"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi-i686-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi-util"
|
2020-04-21 15:05:46 +00:00
|
|
|
version = "0.1.5"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi-x86_64-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
2019-12-09 11:39:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winreg"
|
2020-06-06 06:39:42 +00:00
|
|
|
version = "0.7.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-06-06 06:39:42 +00:00
|
|
|
checksum = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-07-06 01:55:56 +00:00
|
|
|
"winapi 0.3.9",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ws2_32-sys"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-10 09:56:31 +00:00
|
|
|
checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"winapi 0.2.8",
|
|
|
|
"winapi-build",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-10-05 08:22:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wyz"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214"
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "x25519-dalek"
|
2020-10-05 05:16:27 +00:00
|
|
|
version = "1.1.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 05:16:27 +00:00
|
|
|
checksum = "bc614d95359fd7afc321b66d2107ede58b246b844cf5d8a0adcca413e439f088"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-10-05 07:45:54 +00:00
|
|
|
"curve25519-dalek",
|
2020-05-17 11:16:48 +00:00
|
|
|
"rand_core 0.5.1",
|
|
|
|
"zeroize",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-10-02 08:47:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "xml-rs"
|
|
|
|
version = "0.8.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b07db065a5cf61a7e4ba64f29e67db906fb1787316516c4e6e5ff0fea1efcd8a"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "xmltree"
|
2020-11-18 00:44:28 +00:00
|
|
|
version = "0.10.2"
|
2020-10-02 08:47:00 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-18 00:44:28 +00:00
|
|
|
checksum = "d046fd42d4137234742eae0d05b4fb6fbdda9aed7c78e523ae890fd87c7e11dd"
|
2020-10-02 08:47:00 +00:00
|
|
|
dependencies = [
|
|
|
|
"xml-rs",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "yaml-rust"
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.4.5"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 23:29:49 +00:00
|
|
|
checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85"
|
2019-12-09 11:39:44 +00:00
|
|
|
dependencies = [
|
2020-05-10 09:56:31 +00:00
|
|
|
"linked-hash-map",
|
2019-12-09 11:39:44 +00:00
|
|
|
]
|
|
|
|
|
2020-11-06 04:14:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "yamux"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.8.1"
|
2020-11-06 04:14:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "1cc7bd8c983209ed5d527f44b01c41b7dc146fd960c61cf9e1d25399841dc271"
|
2020-11-06 04:14:14 +00:00
|
|
|
dependencies = [
|
2021-03-02 05:59:49 +00:00
|
|
|
"futures 0.3.13",
|
2020-12-09 01:34:58 +00:00
|
|
|
"log",
|
2020-11-06 04:14:14 +00:00
|
|
|
"nohash-hasher",
|
2020-12-09 01:34:58 +00:00
|
|
|
"parking_lot",
|
2020-11-06 04:14:14 +00:00
|
|
|
"rand 0.7.3",
|
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
2019-12-09 11:39:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "zeroize"
|
2020-12-10 04:01:40 +00:00
|
|
|
version = "1.2.0"
|
2019-12-09 11:39:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-10 04:01:40 +00:00
|
|
|
checksum = "81a974bcdd357f0dca4d41677db03436324d45a4c9ed2d0b873a5a360ce41c36"
|
2020-05-11 07:45:06 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"zeroize_derive",
|
2020-05-10 09:56:31 +00:00
|
|
|
]
|
2020-05-11 07:45:06 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zeroize_derive"
|
2020-09-18 06:41:29 +00:00
|
|
|
version = "1.0.1"
|
2020-05-11 07:45:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-18 06:41:29 +00:00
|
|
|
checksum = "c3f369ddb18862aba61aa49bf31e74d29f0f162dec753063200e1dc084345d16"
|
2020-05-11 07:45:06 +00:00
|
|
|
dependencies = [
|
2020-05-17 11:16:48 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-05-11 07:45:06 +00:00
|
|
|
"synstructure",
|
|
|
|
]
|
2020-09-11 01:43:13 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zip"
|
2021-03-02 05:59:49 +00:00
|
|
|
version = "0.5.11"
|
2020-09-11 01:43:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-02 05:59:49 +00:00
|
|
|
checksum = "8264fcea9b7a036a4a5103d7153e988dbc2ebbafb34f68a3c2d404b6b82d74b6"
|
2020-09-11 01:43:13 +00:00
|
|
|
dependencies = [
|
2020-10-05 08:22:19 +00:00
|
|
|
"byteorder",
|
2020-09-11 01:43:13 +00:00
|
|
|
"bzip2",
|
|
|
|
"crc32fast",
|
|
|
|
"flate2",
|
2020-10-05 08:22:19 +00:00
|
|
|
"thiserror",
|
2021-02-10 23:29:49 +00:00
|
|
|
"time 0.1.43",
|
2020-09-11 01:43:13 +00:00
|
|
|
]
|