@lelantos-org/sdk / advanced / TreeVerifyOpts
Interface: TreeVerifyOpts
Defined in: @lelantos-org/sdk/dist/sync/tree-store.d.ts:90
Extends
Properties
isKnownRoot?
ts
optional isKnownRoot?: IsKnownRoot;Defined in: @lelantos-org/sdk/dist/sync/tree-store.d.ts:95
Asks the pool whether it would accept the local root. Supplied by the caller because TreeStore has no chain access of its own.
maxChunks?
ts
optional maxChunks?: number;Defined in: @lelantos-org/sdk/dist/sync/chunk-feed.d.ts:26
Defaults to MAX_CHUNKS; paging is always bounded.
Inherited from
onProgress?
ts
optional onProgress?: (p) => void;Defined in: @lelantos-org/sdk/dist/sync/tree-store.d.ts:99
Per-chunk progress, so a stuck sync is observable.
Parameters
| Parameter | Type |
|---|---|
p | { chunkId: number; leaves: number; syncedCount: number; } |
p.chunkId | number |
p.leaves | number |
p.syncedCount | number |
Returns
void
Inherited from
signal?
ts
optional signal?: AbortSignal;Defined in: @lelantos-org/sdk/dist/sync/chunk-feed.d.ts:27