ethereumjs-monorepo

@ethereumjs/binarytree


@ethereumjs/binarytree / CheckpointDBOpts

Interface: CheckpointDBOpts

Defined in: types.ts:35

Properties

cacheSize?

optional cacheSize?: number

Defined in: types.ts:49

Cache size (default: 0)


db

db: DB<string, string | Uint8Array<ArrayBufferLike>>

Defined in: types.ts:39

A database instance.


valueEncoding?

optional valueEncoding?: ValueEncoding

Defined in: types.ts:44

ValueEncoding of the database (the values which are put/get in the db are of this type). Defaults to string