@orangecheck/stamp-ots / AnchorVerifierConfig
Interface: AnchorVerifierConfig
Defined in: anchor.ts:24
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-headersource"></a> headerSource | BlockHeaderSource | Source of Bitcoin block headers: a full node, SPV, a headers snapshot, or mempoolHeaderSource(). This is the verifier's trust anchor. | anchor.ts:40 |
<a id="property-walkproof"></a> walkProof? | (input: { blockHeight?: number; digest: Uint8Array; proofBytes: Uint8Array; }) => Promise< | { blockHeight: number; merkleRoot: Uint8Array; } | null> | Parse the proof bytes and return the Merkle root the proof walks to, plus its block height. Optional: the built-in OTS parser is used when omitted. blockHeight is the declared height, for proofs that carry attestations at more than one height. | anchor.ts:31 |