erigon-pulse/cmd/restapi/apis/common.go
Alex Sharov 068463dff4
Store transactions individually (#1358)
* Store transactions individually

* Store transactions individually

* save progress

* checkIndex

* merge
2020-11-22 21:25:26 +00:00

18 lines
293 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.Database
Back ethdb.Backend
Chaindata string
RemoteDBAddress string
}