* 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
* begin indices approach
* use shard bucket
* continue the indices approach
* eliminate the filter checkers in favor of the single loop of root lookups
* elim extraneous println statement
* continue the indices approach
* intersection for multiple filter types works, but is complex, verbose, and nearly unreadable
* remove unused code
* table drive tests for byte slice intersections
* include all table driven tests
* gazelle imports
* better abstractions
* better comments
* variadic approach working
* transform to variadic
* comments
* comments
* separate bucket for indices for faster range scans
* attestation key as hash tree root of data and different indices buckets
* test pass
* default behavior without filter
* appropriate filter criterion errors if criterion does not apply to type
* better abstractions and prune keys on deletion
* better naming
* fix build
* fix build
* rem extraneous code
* 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
* lint
* clean up deposits in db
* fix all references
* fixed tests
* lint
* bring it into a separate package
* fix lint
* move test
* fix ref
* fix test
* fix test
* fix test
* Added state implementation
* Gaze
* Fixed test
* Fixed build file
* Fixed all tests
* Merged with master
* Added comments to save and get from roots
* Make it explicit signing root
* s/./,
* s/marshalled/marshaled
* filter deposits by index and block number
* fix test and inverted logic
* nishant feedback
* -1
* Update beacon-chain/db/deposits_test.go
Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>
* raul feedback: explicit variables
* revert everything :(
* a better fix
* fix +1
* fix test
* Implement Attestation Aggregation before inserting into the DB
* Nearly complete test for aggregating signatures
* Finish tests for aggregating signatures
* gazelle
* Rename tests
* add lock and advance state
* only advance if necessary
* Fix most tests
* Fix more of DB keys and changing keys to data hashes
* Fix a lot of tests and inconsistencies
* fix lock
* gaz
* undo local changes
* fix ref
* fix ref
* Fix some tests
* clear cache
* fix sync for attestations
* finally working across multiple nodes
* gen proto
* lint
* properly wrap error
* add few changes
* add process attestation no verify
* gaz
* add reg test
* revert config
* add new method
* fix test
* preston's review
* preston's review
* space