PrivacySmartRouterConfig
SIP Protocol API Reference v0.12.0
SIP Protocol API Reference / PrivacySmartRouterConfig
Interface: PrivacySmartRouterConfig
Section titled “Interface: PrivacySmartRouterConfig”Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:19819
Configuration for SmartRouter backend selection
Properties
Section titled “Properties”prioritize
Section titled “prioritize”prioritize:
RouterPriority
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:19821
What to prioritize when selecting backend
minAnonymitySet?
Section titled “minAnonymitySet?”
optionalminAnonymitySet?:number
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:19823
Minimum anonymity set size (for pool mixers)
requireViewingKeys?
Section titled “requireViewingKeys?”
optionalrequireViewingKeys?:boolean
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:19825
Require viewing key support
allowComputePrivacy?
Section titled “allowComputePrivacy?”
optionalallowComputePrivacy?:boolean
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:19827
Allow compute privacy backends
preferredBackend?
Section titled “preferredBackend?”
optionalpreferredBackend?:string
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:19829
Preferred backend name (hint, not requirement)
excludeBackends?
Section titled “excludeBackends?”
optionalexcludeBackends?:string[]
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:19831
Excluded backend names
maxCost?
Section titled “maxCost?”
optionalmaxCost?:bigint
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:19833
Maximum acceptable cost
maxLatency?
Section titled “maxLatency?”
optionalmaxLatency?:number
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:19835
Maximum acceptable latency in ms
enableFallback?
Section titled “enableFallback?”
optionalenableFallback?:boolean
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:19840
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-rqQpCeVM.d.ts:19845
Include unhealthy backends (circuit open) in selection
Default
Section titled “Default”falsemaxFallbackAttempts?
Section titled “maxFallbackAttempts?”
optionalmaxFallbackAttempts?:number
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:19850
Maximum number of fallback attempts
Default
Section titled “Default”3