mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 10:12:19 +00:00
c8685d256c
* Add v1 as import alias * Update helpers.go * More * Update skip_slot_cache_test.go Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
19 lines
689 B
Go
19 lines
689 B
Go
// Package debug 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 debug
|
|
|
|
import (
|
|
"github.com/prysmaticlabs/prysm/beacon-chain/blockchain"
|
|
"github.com/prysmaticlabs/prysm/beacon-chain/db"
|
|
"github.com/prysmaticlabs/prysm/beacon-chain/rpc/statefetcher"
|
|
)
|
|
|
|
// Server defines a server implementation of the gRPC Beacon Chain service,
|
|
// providing RPC endpoints to access data relevant to the Ethereum Beacon Chain.
|
|
type Server struct {
|
|
BeaconDB db.ReadOnlyDatabase
|
|
HeadFetcher blockchain.HeadFetcher
|
|
StateFetcher statefetcher.Fetcher
|
|
}
|