Files

24 lines
473 B
Go

// Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package handlers
import (
"github.com/luxfi/evmgpu/core/state/snapshot"
"github.com/luxfi/geth/common"
"github.com/luxfi/geth/core/types"
)
type BlockProvider interface {
GetBlock(common.Hash, uint64) *types.Block
}
type SnapshotProvider interface {
Snapshots() *snapshot.Tree
}
type SyncDataProvider interface {
BlockProvider
SnapshotProvider
}