Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Sibling

import type { Sibling } from "https://raw.githubusercontent.com/marigold-dev/tzstamp/0.3.4/tezos-merkle/path.ts";

Sibling node

interface Sibling {
hash: Uint8Array;
relation: "left" | "right";
}

§Properties

§
hash: Uint8Array
[src]

Sibling node hash

§
relation: "left" | "right"
[src]

Relation of a sibling node

The hash of a left sibling node should prepended to the current hash to derive the parent node hash, whereas the hash of a right sibling node should appended.