case class ProofCostConfig(txBindCost: Long = 50, emptyCost: Long = 1, lockedCost: Long = 1, digestCost: Long = 50, digitalSignatureCost: Long = 100, heightRangeCost: Long = 5, tickRangeCost: Long = 5, exactMatchCost: Long = 10, lessThanCost: Long = 10, greaterThanCost: Long = 10, equalToCost: Long = 10, thresholdCost: Long = 1, andCost: Long = 1, orCost: Long = 1, notCost: Long = 1) extends Product with Serializable
Configuration values for individual proof cost components
- txBindCost
The cost to verify a TxBind (hash verification)
- emptyCost
The cost to verify an empty proof
- lockedCost
The cost to verify a locked proof
- digestCost
The cost to verify a digest/hash
- digitalSignatureCost
The cost to verify a digital signature (likely EC)
- heightRangeCost
The cost to verify a height range (probably cheap, statically provided value)
- tickRangeCost
The cost to verify a tick range (probably cheap, statically provided value)
- exactMatchCost
The cost to verify an exact match (probably cheap, lookup function)
- lessThanCost
The cost to verify a less than (probably cheap, lookup function)
- greaterThanCost
The cost to verify a greater than (probably cheap, lookup function)
- equalToCost
The cost to verify an equal to (probably cheap, lookup function)
- thresholdCost
The base cost to verify a threshold (recursive calls will be added)
- andCost
The base cost to verify an and (recursive calls will be added)
- orCost
The base cost to verify an or (recursive calls will be added)
- notCost
The base cost to verify a not (recursive call will be added)
- Alphabetic
- By Inheritance
- ProofCostConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ProofCostConfig(txBindCost: Long = 50, emptyCost: Long = 1, lockedCost: Long = 1, digestCost: Long = 50, digitalSignatureCost: Long = 100, heightRangeCost: Long = 5, tickRangeCost: Long = 5, exactMatchCost: Long = 10, lessThanCost: Long = 10, greaterThanCost: Long = 10, equalToCost: Long = 10, thresholdCost: Long = 1, andCost: Long = 1, orCost: Long = 1, notCost: Long = 1)
- txBindCost
The cost to verify a TxBind (hash verification)
- emptyCost
The cost to verify an empty proof
- lockedCost
The cost to verify a locked proof
- digestCost
The cost to verify a digest/hash
- digitalSignatureCost
The cost to verify a digital signature (likely EC)
- heightRangeCost
The cost to verify a height range (probably cheap, statically provided value)
- tickRangeCost
The cost to verify a tick range (probably cheap, statically provided value)
- exactMatchCost
The cost to verify an exact match (probably cheap, lookup function)
- lessThanCost
The cost to verify a less than (probably cheap, lookup function)
- greaterThanCost
The cost to verify a greater than (probably cheap, lookup function)
- equalToCost
The cost to verify an equal to (probably cheap, lookup function)
- thresholdCost
The base cost to verify a threshold (recursive calls will be added)
- andCost
The base cost to verify an and (recursive calls will be added)
- orCost
The base cost to verify an or (recursive calls will be added)
- notCost
The base cost to verify a not (recursive call will be added)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val andCost: Long
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val digestCost: Long
- val digitalSignatureCost: Long
- val emptyCost: Long
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val equalToCost: Long
- val exactMatchCost: Long
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val greaterThanCost: Long
- val heightRangeCost: Long
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lessThanCost: Long
- val lockedCost: Long
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val notCost: Long
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val orCost: Long
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thresholdCost: Long
- val tickRangeCost: Long
- val txBindCost: Long
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)