mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-08 02:31:19 +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>
20 lines
762 B
Go
20 lines
762 B
Go
// Package events defines a gRPC events service implementation,
|
|
// following the official API standards https://ethereum.github.io/beacon-apis/#/.
|
|
// This package includes the events endpoint.
|
|
package events
|
|
|
|
import (
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/blockchain"
|
|
opfeed "github.com/prysmaticlabs/prysm/v5/beacon-chain/core/feed/operation"
|
|
statefeed "github.com/prysmaticlabs/prysm/v5/beacon-chain/core/feed/state"
|
|
)
|
|
|
|
// Server defines a server implementation of the gRPC events service,
|
|
// providing RPC endpoints to subscribe to events from the beacon node.
|
|
type Server struct {
|
|
StateNotifier statefeed.Notifier
|
|
OperationNotifier opfeed.Notifier
|
|
HeadFetcher blockchain.HeadFetcher
|
|
ChainInfoFetcher blockchain.ChainInfoFetcher
|
|
}
|