ethereumjs-monorepo

@ethereumjs/verkle / BaseVerkleNode

Class: BaseVerkleNode<T>

Type parameters

Name Type
T extends VerkleNodeType

Hierarchy

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new BaseVerkleNode<T>(options)

Type parameters

Name Type
T extends VerkleNodeType

Parameters

Name Type
options VerkleNodeOptions[T]

Defined in

node/baseVerkleNode.ts:11

Properties

commitment

commitment: Point

Defined in

node/baseVerkleNode.ts:8


depth

depth: number

Defined in

node/baseVerkleNode.ts:9

Methods

commit

Abstract commit(): Point

Returns

Point

Implementation of

VerkleNodeInterface.commit

Defined in

node/baseVerkleNode.ts:16


hash

hash(): Uint8Array

Returns

Uint8Array

Implementation of

VerkleNodeInterface.hash

Defined in

node/baseVerkleNode.ts:19


insert

Abstract insert(key, value, nodeResolverFn): void

Parameters

Name Type
key Uint8Array
value Uint8Array
nodeResolverFn () => void

Returns

void

Defined in

node/baseVerkleNode.ts:23


raw

Abstract raw(): Uint8Array[]

Returns

Uint8Array[]

Defined in

node/baseVerkleNode.ts:25


serialize

serialize(): Uint8Array

Returns

Uint8Array

the RLP serialized node

Implementation of

VerkleNodeInterface.serialize

Defined in

node/baseVerkleNode.ts:30