prysm-pulse/beacon-chain/rpc/debugv1/server.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

19 lines
549 B
Go

// Package beaconv1 defines a gRPC beacon service implementation,
// following the official API standards https://ethereum.github.io/eth2.0-APIs/#/.
// This package includes the beacon and config endpoints.
package debugv1
import (
"context"
"github.com/prysmaticlabs/prysm/beacon-chain/db"
)
// Server defines a server implementation of the gRPC Beacon Chain service,
// providing RPC endpoints to access data relevant to the Ethereum 2.0 phase 0
// beacon chain.
type Server struct {
Ctx context.Context
BeaconDB db.ReadOnlyDatabase
}