mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 11:32:20 +00:00
dba3363b52
* Not hash, keep the files * Calculate savings * Fix * Fix * Fix * Fix * RestAPI to support local boltdb * Not error on read-only db * Changes so far * Continue * More * Roll back a bit * Restore newline * something compiles * Fix restapi * Fix block number * Fix reads * Use plain writer * Maps for storage reads and writes * Clean up coersions * Fix accounts/abi/bind * Fix tests * More fixes * more fixes * More fixes * Fixes * Fixed core/state * Fixed eth tests * Move code, fix linter * Fix test * Fix linter * Fix linter * Fix linter, badger_db to support AbstractKV * Increase IdealBatchSize for badger * Fix linter * Fix linter
16 lines
230 B
Go
16 lines
230 B
Go
package apis
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"github.com/ledgerwatch/turbo-geth/ethdb"
|
|
)
|
|
|
|
var ErrEntityNotFound = errors.New("entity not found")
|
|
|
|
type Env struct {
|
|
DB ethdb.KV
|
|
BoltPath string
|
|
RemoteDBAddress string
|
|
}
|