stale root
key being read
witness against a stale root
Merkle Patricia Tree horizontally caches nodes to some depth and vertically caches most recent keys
Verifies that a Witness is correct for the given root and key.
A [[Buffer]] containing the root of the tree to check
A [[Buffer]] containing the key to check
The Witness to verify
A promise, which is resolved if the witness was valid. Otherwise, the promise is completed exceptionally with the failure reason.
Generated using TypeDoc
Verifies a witness against a staleRoot, constructs newest witness from the recentState and verifies it