LocalWorkBudget
@totemsdk/edge / LocalWorkBudget
Interface: LocalWorkBudget
Local work budget — Edge-level policy for whether the machine is willing to perform a challenge. Cryptographic verification still depends on challenge.target, not local timing estimates.
Properties
maxCumulativeWorkPerNegotiation?
optionalmaxCumulativeWorkPerNegotiation?:bigint
Maximum cumulative expected hashes across the whole negotiation.
maxEstimatedLocalMs?
optionalmaxEstimatedLocalMs?:number
Maximum estimated local duration (ms) for a single challenge.
maxExpectedHashes?
optionalmaxExpectedHashes?:bigint
Maximum expected hashes for a single challenge.
requireMinimaBacked?
optionalrequireMinimaBacked?:boolean
Require Minima-backed proofs (superLevel >= 0) when true.