* update workspace
* change to new version
* gaz
* set keys
* try more things
* finally fixed all tests
* fix bootnode
* Update beacon-chain/p2p/discovery.go
Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>
* preston's and raul's review
* add http server
* add tool
* add image
* change comment
* add multiaddr comment
* lint
* cosmetic changes
* fix docker
* remove dep
* preston's requested changes
* new flags
* add support for separate tcp port
* fix refs
* change tcp port
* coldstart flags for validator
* WIP beacon node flags
* wip beacon chain, flag fix in validator, arg fix in validator
* checkpoint
* Added interop service
* working on mock chainstart
* save the state lol
* fix tests
* Save genesis validators
* gaz
* fix validator help flags
* WaitForChainStart actually waits for genesis time
* cold start fixes
* cache
* change back
* allow for genesis state too
* remove logs
* increase mmap size
* dont process if head doesn't exist
* add 10ms tolerance
* enable libp2p debug at debug, fix pubsub
* works with checkpt
* initialize justified and finalized in db
* Removed preloadStatePath from blockchain service
* Clean up
* Write to disk for now post state
* revert b466dd536f8eadbdae2264a545a755370223d917
* Builds
* Only RPC test fails now
* use minimal config, no demo config
* clean up branch
* Lint
* resolve lint
* more lint fixes
* lint
* fix viz
* Fixing RPC test
* skip before epoch 2
* RPC time out
* Fixed ordering
* rename
* remove some dbg statements
* ensure index is correct
* fix some panics
* getting closer
* fix tests
* Fix private key
* Fixed RPC test
* Fixed beacon chain build for docker
* Add interop.go to validator go_image
* Fixed docker build
* handle errors
* skip test, skip disconnecting peers
* Fixed docker build
* tolerance for attestation processing
* revert copy
* clearer err message parse
* fix launching from dep contract
* Save new validators in DB
* Use info
* Add total validator count
* Fixed tests
* Add new test
* Revert light client config
* Add state metrics back
* Gaz
* Mark old ones as deprecated
* Deprecate not --next services
* Fixed all operation tests
* Fixed node test
* All tests passing locally
* Add deprecated-p2p back, blocked by boostrap-query
* Revert message proto
* delete deprecated DB items
* delete all other instances of old db
* gaz
* cycle rem
* clear db
* lint
* add requests
* add all new stuff
* comment
* preston's review
* initial commit
* reorder sync so it isn't required to wait until start
* checkpoint
* fix
* improved handler API
* Set up prechain start values
* improved handler API
* ooops
* successful peer handshakes
* successful peer handshakes
* successful peer handshakes
* checkpoint
* chpkt
* handle init after chain start
* emit state initialized feed if existing db state
* merge error
* Done
* Test
* Fixed test
* emit state initialized
* force fork choice update
* wait for genesis time
* sync to current slot
* Use saved head in DB
* gaz
* fix tests
* lint
* lint
* lint
* lint
* Revert "Use saved head in DB"
This reverts commit c5f3404fdf333c8aac20bce8c349b1978494616b.
* remove db
* lint
* remove unused interfaces from composite
* resolve comments
* add validation
* add block db check in validation
* merge
* in memory caching of seen blocks
* basic block processing
* Update BUILD.bazel
* use new receiveBlockNoPubsub
* fix build
* add TODO issue numbers
* add TODO issue numbers
* lint
* add discovery
* gaz
* add build options
* add udpPort
* add more changes
* refactor private key
* added discovery loop
* add ttl
* add ttl
* use ip type instead of string
* tests pass
* gaz and new test file
* add test
* add more tests
* add one more test
* adding multiAddr tests
* adding new protocol , listener
* fix keys
* more fixes
* more changes dialing peers works now
* gaz
* add more changes
* add more changes
* gaz
* add new test helpers
* new test
* fixed all tests
* gaz
* reduce sleep
* lint
* new changes
* change formats
* fix all this stuff
* remove discv5 protocol
* remove protocol
* remove port condition,too restrictive
* preston's feedback
* preston's feedback
* close all peers
* gaz
* remove unused func
* Update beacon-chain/p2p/service.go
Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>
* remove build options
* refactor tests
* add broadcaster impl
* change API so broadcast returns an error
* change API so broadcast returns an error
* add test for message not mapped
* lint msg
* lint msg
* checkpoint
* checkpoint
* varint prefix for ssz
* move the encoding API around a little bit to support reader writer
* add a simple test for the happy path subscribe
* move wait timeout to testutil
* Add inverted topic mapping
* Add varint prefixing to ssz network encoder
* fix spacing
* fix comments
* fix comments
* make anon methods more clear
* clean up log fields
* move topic mapping, reformat TODOs, get ready for brutal team review
* lint
* lint
* lint
* Update beacon-chain/p2p/gossip_topic_mappings.go
Co-Authored-By: Nishant Das <nishdas93@gmail.com>
* PR feedback
* PR feedback
* PR feedback
* PR feedback
* PR feedback
* basic test with a hardcoded fork choice
* updated beacon config to use genesis fork version
* checkpoint on hello handler
* create a testing db method that can be used with the new database interface
* lint
* lint
* PR feedback
* checkpoint
* passing tests
* comments, errors
* comments, errors
* remove swarm
* Update WORKSPACE
* Update WORKSPACE
* merge
* lint
* lint
* touch
* touch
* imports
* move to deprecated-p2p
* fix lint
* Add boilerplate p2p
* lint?
* fix imports
* fix lint
* lint
* lint
* lint
* lint
* comment
* skeleton
* checkpoint
* add a new message that should work with ssz
* add ssz fix and test snappy encoder
* clarify todo
* fix viz
* move, no need to be in subpackage
* testing pb
* end nl
* use merged ssz