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

18 lines
293 B
Go
Raw Normal View History

2020-02-09 10:31:52 +00:00
package apis
import (
"errors"
"github.com/ledgerwatch/turbo-geth/ethdb"
)
2020-02-09 10:31:52 +00:00
var ErrEntityNotFound = errors.New("entity not found")
type Env struct {
KV ethdb.KV
DB ethdb.Database
Back ethdb.Backend
Chaindata string
RemoteDBAddress string
}