ethereumjs-monorepo

@ethereumjs/verkle / VerkleTreeOpts

Interface: VerkleTreeOpts

Table of contents

Properties

Properties

cacheSize

Optional cacheSize: number

LRU cache for tree nodes to allow for faster node retrieval.

Default: 0 (deactivated)

Defined in

types.ts:84


db

Optional db: DB<Uint8Array, Uint8Array>

A database instance.

Defined in

types.ts:67


root

Optional root: Uint8Array

A Uint8Array for the root of a previously stored tree

Defined in

types.ts:72


useRootPersistence

Optional useRootPersistence: boolean

Store the root inside the database after every write operation

Defined in

types.ts:77