prysm-pulse/beacon-chain/rpc/debugv1/debug.go
Ivan Martinez 5c14b4c833
ETH2 API: Add outline for debug endpoints (#8496)
* Add outline for debug endpoints

* Add outline for debug endpoints

* Fix comment

* Fix visibility
2021-02-22 16:48:49 -06:00

20 lines
617 B
Go

package debugv1
import (
"context"
ptypes "github.com/gogo/protobuf/types"
"github.com/pkg/errors"
ethpb "github.com/prysmaticlabs/ethereumapis/eth/v1"
)
// GetState returns the full beacon state for a given state id.
func (bs *Server) GetState(ctx context.Context, req *ethpb.StateRequest) (*ethpb.BeaconStateResponse, error) {
return nil, errors.New("unimplemented")
}
// GetForkChoiceHeads retrieves the fork choice leaves for the current head.
func (bs *Server) GetForkChoiceHeads(ctx context.Context, _ *ptypes.Empty) (*ethpb.ForkChoiceHeadsResponse, error) {
return nil, errors.New("unimplemented")
}