Documentation
¶
Index ¶
Constants ¶
View Source
const APISTATUS = "status"
APISTATUS is the namespace of the status service
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoints ¶
type Endpoints struct {
// contains filtered or unexported fields
}
Endpoints contains implementations for the "status" RPC endpoints
func NewEndpoints ¶
func NewEndpoints(db db.DB, gapsDetector GapsDetector) *Endpoints
NewEndpoints returns Endpoints
type GapsDetector ¶
type GapsDetector interface {
// Gaps returns a map of gaps in the offchain data
Gaps() map[uint64]uint64
}
GapsDetector is an interface for detecting gaps in the offchain data
Click to show internal directories.
Click to hide internal directories.