* checkpoint on super sync with reputation
* ensure handling only expected peers msg
* exclusive of finalized block
* skip block saved already
* clean up struct
* remove 2 more fields
* _
* everything builds, but doesnt test yet
* lint
* fix p2p tests
* space
* space
* space
* fmt
* fmt
* proto: illegal wireType 7 :(
* set addr to todo for now so somethign gets sent
* push latest progress
* Add feedback from @raulk. Stream never connects
* working handshake handler
* add exclusions for relay/bootstrap node
* fix tests, still need to add new ones
* remove race, fails coverage
* Add test for negotiation
* gazelle
* regen pb
* Update shared/p2p/handshake_handler.go
Co-Authored-By: prestonvanloon <preston@prysmaticlabs.com>
* only accept the highest finalized slot from peers
* use best peer for state requests
* peer id
* rem old tests
* req peers tests pass
* warn level support for peer not having the same protocol
* pretty
* best peer
* comments
* req peers done
* tests passing
* fully functional
* enforce receiving from the best peer
* comments
* lint fixes
* default bootstrap node and local network flag
* default relay node value
* Update shared/p2p/service.go
Co-Authored-By: rauljordan <raul@prysmaticlabs.com>
* use no discovery
* add feature flag to enable gossip sub in p2p
* invert the enable/disable logic
* add the flag in k8s and fix tests
* gazellle
* return empty config if nil
* headRoot is a better name
* yay merged with master
* fixed attester server returning incorrect attestation field values
* revert stupid mock changes
* fixed and updated all the tests
* uncomment
* head start should handle skip blocks
* Raul's feedback
* plug forkchoice to blockchain service's block processing
* fixed tests
* more fixes...
* clean ups
* fixed test
* Update beacon-chain/blockchain/block_processing.go
* merged with 2006 and started fixing tests
* remove prints
* fixed tests
* lint
* include ops service
* if there's a skip slot, slot--
* fixed typo
* started working on test
* no fork choice in propose
* bleh, need to fix state generator first
* state gen takes input slot
* feedback
* fixed tests
* preston's feedback
* fmt
* removed extra logging
* add more logs
* fixed validator attest
* builds
* fixed save block
* children fix
* removed verbose logs
* fix fork choice
* right logs
* Add Prometheus Counter for Reorg (#2051)
* fetch every slot (#2052)
* test Fixes
* lint
* only regenerate state if there was a reorg
* better logging
* fixed seed
* better logging
* process skip slots in assignment requests
* fix lint
* disable state root computation
* filter attestations in regular sync
* log important items
* better info logs
* added spans to stategen
* span in stategen
* set validator deadline
* randao stuff
* disable sig verify
* lint
* lint
* save only using historical states
* use new goroutine for handling sync messages
* change default buffer sizes
* better p2p
* rem some useless logs
* lint
* sync tests complete
* complete tests
* tests fixed
* lint
* fix flakey att service
* PR feedback
* undo k8s changes
* Update beacon-chain/blockchain/block_processing.go
* Update beacon-chain/sync/regular_sync.go
* Add feature flag to enable compute state root
* add comment
* gazelle lint fix
* Fix assignments bug where validators don't retry for assignments on failure
* synch only please
* trying to fix state issues
* trying random stuff
* do not explode
* use ctx
* working build, failing tests
* broadcast local addrs as well as relay addrs
* fixed p2p tests, more tests to fix still
* another test fixed, log warning instead of throw error
* Fix last tests
* godoc
* add test for broadcast in apply fork choiec
* remove unneeded code
* remove tracer adapter, not needed
* remove extra stuff
* remove any
* revert addr_factory
* revert addr_factory
* Revert "revert addr_factory"
This reverts commit e93fb706494a1070158b8db31e67146d6b0648ad.
* Revert "revert addr_factory"
This reverts commit dedaa405559cc818698870c4e4570953367f1e3c.
* revert removal of this code
* unused param
* don't broadcast to yourself
* todo
* Also listen for incoming streams
* send to a specific peer
* add godoc comment
* handle EOF as a normal thing
* gazelle
* add test for subscribing via direct comm
* recover from a panic in p2p
* Add safely process function
* print proto message
* add status to the span, if available
* add status to the span, if available
* initial validator attesthead rewrite based on proposer rewrite
* proceed with fetching committees and tree hashing the canonical head at assigned attester slot
* complete filling the properties of attestation data and all associated root hashes
* add when to attest todo
* finish entire attester client logic
* tests with mocks checked in
* tests passing in client
* stubbed out server implementation
* fixed build due to old property
* regen mocks with new mockgen version
* fixed broken tests
* complete bazel build fix
* address some review comments
* deep proto test
* tests passing after checking for empty committee and crosslink root
* address nishant comments
* WIP - with TODOs
* interface w/ test
* basic test for broadcast
* Add computeStateRoot funciton
* remove custody challenge
* resolve TODO lint issues
* more TODOs
* revert new line in types.proto
* broadcaster comment
* one of several failure condition tests
* Add test cases
* handle compute state error test case
* fix config in validator helpers
* fix tests too
* fix conflict
* partial PR feedback
* remove p2p
* gazelle
* package comment
* Better godoc
* add unit test for test broadcast
* execute goimports
* add import peerstore
* refactor and check message equals expected
* remove not needed sleep
* add function to connect hosts to host
* refactor test for better reading
* refactor to only use one channel
* refactor subs to channel
* close channels instead of sending boolean value
* use goimports
* copy value to avoid race condition
* remove TODO comment
* fix issues with gometalinter
* run gazelle
* reduce sleep time
* add comments to goroutines
* /healthz part1
* lint, fix
* lints and todos
* add p2p status test
* Add test for service registry Statuses
* fix my fake errors for the linter
* Test healthz handler
* Run gazelle
* first commit, remote att types
* no more agg attestation proto
* regen mock
* only attestations
* proto
* att process
* fix att references
* more tests passing
* use att protos
* complete
* change visibility
* use gogoprotobu
* first commit, remote att types
* no more agg attestation proto
* regen mock
* only attestations
* proto
* att process
* fix att references
* more tests passing
* use att protos
* complete
* Update dependency com_github_deckarep_golang_set to v1 (#1159)
* Update dependency com_github_edsrzf_mmap_go to v1 (#1160)
* Update dependency com_github_go_stack_stack to v1 (#1161)
* Update dependency com_github_rs_cors to v1 (#1162)
* Update dependency in_gopkg_urfave_cli_v1 to v1 (#1163)
* change visibility
* Update com_github_prometheus_common commit hash to 67670fe
* fix formatting, the values are now floats, not ints
* delete metric with a now wild floating point value