PrivacySmartRouterConfig
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / PrivacySmartRouterConfig
Interface: PrivacySmartRouterConfig
Section titled “Interface: PrivacySmartRouterConfig”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19519
Configuration for SmartRouter backend selection
Properties
Section titled “Properties”prioritize
Section titled “prioritize”prioritize:
RouterPriority
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19521
What to prioritize when selecting backend
minAnonymitySet?
Section titled “minAnonymitySet?”
optionalminAnonymitySet:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19523
Minimum anonymity set size (for pool mixers)
requireViewingKeys?
Section titled “requireViewingKeys?”
optionalrequireViewingKeys:boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19525
Require viewing key support
allowComputePrivacy?
Section titled “allowComputePrivacy?”
optionalallowComputePrivacy:boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19527
Allow compute privacy backends
preferredBackend?
Section titled “preferredBackend?”
optionalpreferredBackend:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19529
Preferred backend name (hint, not requirement)
excludeBackends?
Section titled “excludeBackends?”
optionalexcludeBackends:string[]
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19531
Excluded backend names
maxCost?
Section titled “maxCost?”
optionalmaxCost:bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19533
Maximum acceptable cost
maxLatency?
Section titled “maxLatency?”
optionalmaxLatency:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19535
Maximum acceptable latency in ms
enableFallback?
Section titled “enableFallback?”
optionalenableFallback:boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19540
Enable automatic fallback to alternative backends on failure
Default
Section titled “Default”trueincludeUnhealthy?
Section titled “includeUnhealthy?”
optionalincludeUnhealthy:boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19545
Include unhealthy backends (circuit open) in selection
Default
Section titled “Default”falsemaxFallbackAttempts?
Section titled “maxFallbackAttempts?”
optionalmaxFallbackAttempts:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19550
Maximum number of fallback attempts
Default
Section titled “Default”3