mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 02:02:18 +00:00
5a66807989
* 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>
17 lines
512 B
Go
17 lines
512 B
Go
package iface
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/golang/protobuf/ptypes/empty"
|
|
ethpb "github.com/prysmaticlabs/prysm/v5/proto/prysm/v1alpha1"
|
|
)
|
|
|
|
type NodeClient interface {
|
|
GetSyncStatus(ctx context.Context, in *empty.Empty) (*ethpb.SyncStatus, error)
|
|
GetGenesis(ctx context.Context, in *empty.Empty) (*ethpb.Genesis, error)
|
|
GetVersion(ctx context.Context, in *empty.Empty) (*ethpb.Version, error)
|
|
ListPeers(ctx context.Context, in *empty.Empty) (*ethpb.Peers, error)
|
|
IsHealthy(ctx context.Context) bool
|
|
}
|