ethereumjs-monorepo

@ethereumjs/statemanager


@ethereumjs/statemanager / StatefulBinaryTreeStateManagerOpts

Interface: StatefulBinaryTreeStateManagerOpts

Defined in: types.ts:77

Options for constructing a StatefulBinaryTreeStateManager.

Extends

Properties

caches?

optional caches?: Caches

Defined in: types.ts:83

Read-through caches for account, code, and storage.


common?

optional common?: Common

Defined in: types.ts:14

The common to use

Inherited from

BaseStateManagerOpts.common


hashFunction?

optional hashFunction?: (data) => Uint8Array

Defined in: types.ts:79

Node hash function (defaults to the tree’s hash function).

Parameters

data

Uint8Array

Returns

Uint8Array


tree?

optional tree?: BinaryTree

Defined in: types.ts:81

Pre-existing BinaryTree instance.