terence
5a66807989
Update to V5 ( #13622 )
...
* First take at updating everything to v5
* Patch gRPC gateway to use prysm v5
Fix patch
* Update go ssz
---------
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2024-02-15 05:46:47 +00:00
Radosław Kapka
e3ce1bde45
Move API structs to api
module ( #13577 )
2024-02-03 11:57:01 +00:00
Justin Traglia
4a374435c0
Enable errname linter and fix findings ( #13341 )
2023-12-15 03:26:48 +00:00
Radosław Kapka
4c47756aed
HTTP endpoints cleanup ( #13251 )
...
* remove validation package
* structs cleanup
* merge with apimiddleware removal
* more validation and Bls capitalization
* builder test fix
* use strconv for uint->str conversions
* use DecodeHexWithLength
* use exact param names
* rename http package to httputil
* change conversions to fmt.Sprintf
* handle query paramsd and route variables
* spans and receiver name
* split structs, move bytes helper
* missing ok check
* fix reference to indexed failure
* errors fixup
* add godoc to helper
* fix BLS casing and chainhead ref
* review
* fix import in tests
* gzl
2023-12-08 20:37:20 +00:00
Radosław Kapka
a9b003e1fe
HTTP Beacon API: /eth/v1/validator/contribution_and_proofs
( #12660 )
...
* HTTP Beacon API: `/eth/v1/validator/contribution_and_proofs`
* add comment to invalid test case
* fix validation and test
* review
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-07-31 17:32:39 +00:00
Simon
cec32cb996
Append Dynamic Addinng Trusted Peer Apis ( #12531 )
...
* Append Dynamic Addinng Trusted Peer Apis
* Append unit tests for Dynamic Addinng Trusted Peer Apis
* Update beacon-chain/p2p/peers/peerdata/store.go
* Update beacon-chain/p2p/peers/peerdata/store_test.go
* Update beacon-chain/p2p/peers/peerdata/store_test.go
* Update beacon-chain/p2p/peers/peerdata/store_test.go
* Update beacon-chain/p2p/peers/status.go
* Update beacon-chain/p2p/peers/status_test.go
* Update beacon-chain/p2p/peers/status_test.go
* Update beacon-chain/rpc/eth/node/handlers.go
* Update beacon-chain/rpc/eth/node/handlers.go
* Update beacon-chain/rpc/eth/node/handlers.go
* Update beacon-chain/rpc/eth/node/handlers.go
* Move trusted peer apis from rpc/eth/v1/node to rpc/prysm/node; move peersToWatch into ensurePeerConnections function;
* Update beacon-chain/rpc/prysm/node/server.go
* Update beacon-chain/rpc/prysm/node/server.go
* fix go lint problem
* p2p/watch_peers.go: trusted peer makes AddrInfo structure by itself instead of using MakePeer().
p2p/service.go: add connectWithAllTrustedPeers function, before connectWithPeer, add trusted peer info into peer status.
p2p/peers/status.go: trusted peers are not included, when pruning outdated and disconnected peers.
* use readlock for GetTrustedPeers and IsTrustedPeers
---------
Co-authored-by: simon <sunminghui2@huawei.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-07-11 09:26:08 +00:00