Raul Jordan
a9a4bb9163
Move Shared/Testutil into Testing ( #9659 )
...
* move testutil
* util pkg
* build
* gaz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-23 18:53:46 +00:00
Nishant Das
2faaafb159
add remaining rpc methods ( #9551 )
2021-09-09 10:12:49 -05:00
kevlu93
eca67cec4c
Embed Config Pattern for Sync Services ( #8636 )
...
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2021-03-21 19:07:42 +00:00
pinglamb
5db5ca7056
Use eth2-types SSZUint64 ( #8514 )
2021-02-25 05:51:26 -08:00
terence tsao
20dede7532
Move state summary cache to DB ( #8101 )
2020-12-16 08:56:21 -08:00
Victor Farazdagi
7735a083b2
Extract common types from sync ( #7843 )
...
* extract common types from sync
* fix tests
* simplify
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-18 04:17:42 +00:00
Nishant Das
bafc7479b0
Add Backoff For Peer Dials ( #7726 )
...
* add tests
* Update beacon-chain/p2p/peers/status_test.go
* fix conditional
Co-authored-by: Victor Farazdagi <simple.square@gmail.com>
2020-11-05 05:52:49 +00:00
Nishant Das
022b6667e5
Use Custom SSZ for P2P Types ( #7436 )
...
* checkpoint progress
* add roundtrip tests
* change all
* remove error response
* clean up
* Update beacon-chain/sync/error_test.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* gaz
* fix tests
* fmt
* gaz
* change back
* fix again
* clean up
* deep source
* fix all tests
* add gaz
* fix tests
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2020-10-14 07:55:28 +00:00
Preston Van Loon
7cc32c4dda
Various code inspection resolutions ( #7438 )
...
* remove unused code
* remove defer use in loop
* Remove unused methods and constants
* gofmt and gaz
* nilness check
* remove unused args
* Add TODO for refactoring subscribeWithBase to remove unused arg. It seems too involved to include in this sweeping PR. https://github.com/prysmaticlabs/prysm/issues/7437
* replace empty slice declaration
* Remove unnecessary type conversions
* remove redundant type declaration
* rename receivers to be consistent
* Remove bootnode query tool. It is now obsolete by discv5
* Remove relay node. It is no longer used or supported
* Revert "Remove relay node. It is no longer used or supported"
This reverts commit 4bd7717334dad85ef4766ed9bc4da711fb5fa810.
* Delete unused test directory
* Delete unsupported gcp startup script
* Delete old k8s script
* build fixes
* fix build
* go mod tidy
* revert slasher/db/kv/block_header.go
* fix build
* remove redundant nil check
* combine func args
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Victor Farazdagi <simple.square@gmail.com>
2020-10-12 08:11:05 +00:00
Nishant Das
cc3c3a0c54
QSP 29: Add Rate Limiter For All Topics ( #6606 )
...
* initial commit
* Merge branch 'master' of https://github.com/prysmaticlabs/geth-sharding into rateLimiter
* finally
* add mutex
* rate limiter for all rpc reqs
* remove recursive readlocks
* spelling
* Merge refs/heads/master into rateLimiter
* Merge refs/heads/master into rateLimiter
* Merge refs/heads/master into rateLimiter
* fix all tests
* fix all tests
* Merge refs/heads/master into rateLimiter
* Merge refs/heads/master into rateLimiter
* Merge refs/heads/master into rateLimiter
* Merge refs/heads/master into rateLimiter
* Merge refs/heads/master into rateLimiter
* Merge refs/heads/master into rateLimiter
* Merge refs/heads/master into rateLimiter
* Merge refs/heads/master into rateLimiter
* Merge refs/heads/master into rateLimiter
* Merge refs/heads/master into rateLimiter
2020-07-17 08:58:51 +00:00
Victor Farazdagi
c2615168d9
Applies assertion funcs to sync tests ( #6603 )
...
* applies assertion funcs to sync/initial-sync tests
* applies assertion funcs to sync/initial-sync tests
* gazelle
* Merge branch 'master' into sync-apply-testutils-assertions
* gazelle
* applies assertion funcs to sync/initial-sync tests
* applies assertion funcs to sync/initial-sync tests
* applies assertion funcs to sync/initial-sync tests
* applies assertion funcs to sync/initial-sync tests
* applies assertion funcs to sync/initial-sync tests
* Merge branch 'master' into sync-apply-testutils-assertions
2020-07-15 04:41:11 +00:00
Raul Jordan
5b708b54d9
QSP-13 Only Allow Snappy P2P Encoding ( #6415 )
...
* enforce only snappy
* fix up tests
* replace with ssz snappy in tests
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-07-03 11:24:30 +08:00
Raul Jordan
a0c38c8d0a
QSP-33 Check Max Response For All Topics ( #6424 )
...
* remove max len funcs
* fix up tests
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-06-30 09:50:28 -05:00
Preston Van Loon
f9038674d1
Refactor setupDB to return the state summary cache used by the database ( #6369 )
2020-06-23 13:40:55 -07:00
Nishant Das
340ddf20cb
Update Node RPC Endpoints ( #6289 )
...
* checkpoint progress
* some more stuff
* fix tests
* fix tests
* lint
* fix test and initialization
* gaz
* Merge branch 'master' into updateP2PRPC
* Merge refs/heads/master into updateP2PRPC
* Merge refs/heads/master into updateP2PRPC
* Merge refs/heads/master into updateP2PRPC
* Merge refs/heads/master into updateP2PRPC
* Merge refs/heads/master into updateP2PRPC
* Merge refs/heads/master into updateP2PRPC
* Merge refs/heads/master into updateP2PRPC
* Merge refs/heads/master into updateP2PRPC
* Merge refs/heads/master into updateP2PRPC
2020-06-18 03:53:46 +00:00
Nishant Das
20c2d78731
add new methods and tests ( #5852 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-05-14 22:44:03 +08:00
Victor Farazdagi
b5c4dc2a75
Refactor db teardown to testing.TB.Cleanup ( #5725 )
...
* init-sync updates
* slasher/db/kv tests
* beacon-chain/rpc/beacon tests
* update kv_test
* beacon-chain/rpc-validator tests updated
* slasher/db/kv - remove teardown method
* beacon-chain/sync tests updated
* beacon-chain/db/kv tests updated
* beacon-chain/blockchain tests updated
* beacon-chain/state/stategen tests updated
* beacon-chain/powchain updates
* updates rest of slasher tests
* validator/db tests
* rest of the tests
* minor comments update
* gazelle
* Merge refs/heads/master into teardowndb-to-cleanup
2020-05-04 01:14:34 +00:00
Nishant Das
2ebd684924
Add Goodbye Message When Disconnecting With Peers ( #5589 )
...
* add goodbye message
* Merge branch 'master' into addGoodbye
* fix interface
* Merge refs/heads/master into addGoodbye
* use wrapper func
* Merge branch 'addGoodbye' of https://github.com/prysmaticlabs/geth-sharding into addGoodbye
* Merge refs/heads/master into addGoodbye
* Merge refs/heads/master into addGoodbye
* Merge refs/heads/master into addGoodbye
* Merge refs/heads/master into addGoodbye
2020-04-23 19:46:24 +00:00
Nishant Das
8c90e38770
Fix Goodbye RPC handler ( #4831 )
...
* fix goodbye messages
* fix test
* fix test
2020-02-11 09:08:01 -06:00
terence tsao
23a6c20dd4
Service as proper names ( #4293 )
2019-12-16 19:53:55 -06:00
Nishant Das
4bc2d628b1
Update Naming to Latest Networking Spec ( #3519 )
...
* update naming
* replace with updated version
* more changes
* fixed all tests
* build and lint
* regen protos
* fix test
* remove outdated code
* prestons review
* preston's comments
* preston's review
* preston's review
* lint
2019-09-20 11:57:28 +05:30
Nishant Das
22f4807e0b
Implement GoodBye RPC Handler ( #3282 )
...
* add handler
* gaz and addition to main rpc method
* remove todo
* preston's comments
* gaz
2019-08-23 12:53:38 -04:00