SynchronizerFeeConfig
data class SynchronizerFeeConfig(val extraTrafficPriceUsdPerMB: BigDecimal, val minTopupAmountBytes: Long, val baseRateBurstAmountBytes: Long, val baseRateBurstWindow: Duration, val readVsWriteScalingFactor: Long)
The synchronizer usage-fee block published in AmuletRules (decentralizedSynchronizer.fees, Splice's SynchronizerFeesConfig) — what traffic costs and how much comes free.
Constructors
Link copied to clipboard
constructor(extraTrafficPriceUsdPerMB: BigDecimal, minTopupAmountBytes: Long, baseRateBurstAmountBytes: Long, baseRateBurstWindow: Duration, readVsWriteScalingFactor: Long)
Properties
Link copied to clipboard
Free base-rate traffic: at most this many bytes per baseRateBurstWindow.
Link copied to clipboard
The sliding window over which baseRateBurstAmountBytes is granted.
Link copied to clipboard
Price of extra (purchased) traffic, in USD per MB (10^6 bytes).
Link copied to clipboard
The smallest extra-traffic purchase the network accepts, in bytes — ValidatorClient.buyTraffic below this is rejected.
Link copied to clipboard
Cost of reads relative to writes, in parts per 10,000 (e.g. 4 means delivering a message to one recipient costs 4/10000 of writing it).