ContractStoreLimits

data class ContractStoreLimits(val maxContracts: Int, val maxStatusHistoryPerContract: Int)

Capacity limits of DefaultSmartContractService's in-memory stores. Reaching maxContracts makes DefaultSmartContractService.createDraft fail loudly (nothing is evicted); the status history of one contract keeps only its most recent maxStatusHistoryPerContract changes.

Constructors

Link copied to clipboard
constructor(maxContracts: Int, maxStatusHistoryPerContract: Int)

Properties

Link copied to clipboard