Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 772 Bytes

dumpNodeHashes.md

File metadata and controls

33 lines (17 loc) · 772 Bytes

@ethereumjs/verkle


@ethereumjs/verkle / dumpNodeHashes

Function: dumpNodeHashes()

dumpNodeHashes(tree, startingNode): Promise<undefined | [`0x${string}`, `0x${string}`][]>

Defined in: util.ts:55

Recursively walks down the tree from a given starting node and returns all the node paths and hashes

Parameters

tree

VerkleTree

The verkle tree

startingNode

Uint8Array

The starting node

Returns

Promise<undefined | [`0x${string}`, `0x${string}`][]>

An array of key-value pairs containing the tree paths and associated hashes