erigon-pulse/cmd/restapi/apis/common.go

17 lines
260 B
Go

package apis
import (
"errors"
"github.com/ledgerwatch/turbo-geth/ethdb"
)
var ErrEntityNotFound = errors.New("entity not found")
type Env struct {
KV ethdb.KV
DB ethdb.Getter
Chaindata string
RemoteDBAddress string
}