prysm-pulse/beacon-chain/node
ahadda5 8dd2915d3c
Unify gRPC Gateways into Single, Shared lib (#8799)
* moved validator/rpc/gateway under shared,  validator/rpc/web is not visiable to the new shared gateway

* decided to have one lib with two methods if needed, status and stop are the same, however New and Start are not

* moved beacon's gateway to shared and moved the main func to its own /server folder

* goftm

* gofmt

* removed the extra loggin

* reduce visibility

* tighter visibilty of the shared lib for beacon and validator only for now

* fix patterns , ctx needs to be first param

* fix comments

* gofmt

* added enum for the caller id

* added unit test for gateway

* deprecated .WithDialer to .WithContextDialer

* changed the string callerId to uint8, and rearranged the Gateway struct based on the compiler

* fix 1 based on comment

* iota type

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-05-04 17:20:58 +02:00
..
registration POW: remove context from log message (#8782) 2021-04-16 19:16:36 +00:00
BUILD.bazel Unify gRPC Gateways into Single, Shared lib (#8799) 2021-05-04 17:20:58 +02:00
config_test.go Tests for beacon-chain/node/config.go (#8769) 2021-04-15 10:01:50 +00:00
config.go Extract node configuration to separate file (#8744) 2021-04-13 07:04:34 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
node_test.go Create node's Powchain registration file (#8754) 2021-04-14 12:54:50 +02:00
node.go Unify gRPC Gateways into Single, Shared lib (#8799) 2021-05-04 17:20:58 +02:00
prometheus.go new prometheus metrics for client-stats metrics (#8834) 2021-04-30 13:37:38 -07:00