Skip to content

Latest commit

 

History

History
62 lines (33 loc) · 1.27 KB

VerkleTreeOpts.md

File metadata and controls

62 lines (33 loc) · 1.27 KB

@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