TreasuryConfig

data class TreasuryConfig(val safetyMarginNumerator: Int = 11, val safetyMarginDenominator: Int = 10, val reservationTtl: Duration = Reservation.DEFAULT_TTL, val clock: Clock = Clock.System)

Clock + safety-margin knobs lifted out of the interface so production deployments can tune them without subclassing.

Constructors

Link copied to clipboard
constructor(safetyMarginNumerator: Int = 11, safetyMarginDenominator: Int = 10, reservationTtl: Duration = Reservation.DEFAULT_TTL, clock: Clock = Clock.System)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard