case class CostingDataContext(_dataInputs: Coll[Box], headers: Coll[Header], preHeader: PreHeader, inputs: Coll[Box], outputs: Coll[Box], height: Int, selfBox: Box, lastBlockUtxoRootHash: AvlTree, _minerPubKey: Coll[Byte], vars: Coll[AnyValue], isCost: Boolean) extends Context with Product with Serializable
A default implementation of Context interface.
- See also
Context for detailed descriptions
- Alphabetic
- By Inheritance
- CostingDataContext
- Serializable
- Serializable
- Product
- Equals
- Context
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
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
-
def
HEIGHT: Int
Height (block number) of the block which is currently being validated.
Height (block number) of the block which is currently being validated.
- Definition Classes
- CostingDataContext → Context
- Annotations
- @inline()
-
def
INPUTS: Coll[Box]
A collection of inputs of the current transaction, the transaction where selfBox is one of the inputs.
A collection of inputs of the current transaction, the transaction where selfBox is one of the inputs.
- Definition Classes
- CostingDataContext → Context
- Annotations
- @inline()
-
def
LastBlockUtxoRootHash: AvlTree
Authenticated dynamic dictionary digest representing Utxo state before current state.
Authenticated dynamic dictionary digest representing Utxo state before current state.
- Definition Classes
- CostingDataContext → Context
- Annotations
- @inline()
-
def
OUTPUTS: Coll[Box]
A collection of outputs of the current transaction.
A collection of outputs of the current transaction.
- Definition Classes
- CostingDataContext → Context
- Annotations
- @inline()
-
def
SELF: Box
Box whose proposition is being currently executing
Box whose proposition is being currently executing
- Definition Classes
- CostingDataContext → Context
- Annotations
- @inline()
- val _dataInputs: Coll[Box]
- val _minerPubKey: Coll[Byte]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
builder: SigmaDslBuilder
- Definition Classes
- CostingDataContext → Context
- Annotations
- @inline()
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
dataInputs: Coll[Box]
A collection of inputs of the current transaction that will not be spent.
A collection of inputs of the current transaction that will not be spent.
- Definition Classes
- CostingDataContext → Context
- Annotations
- @inline()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getVar[T](id: Byte)(implicit tT: RType[T]): Option[T]
- Definition Classes
- CostingDataContext → Context
-
val
headers: Coll[Header]
A fixed number of last block headers in descending order (first header is the newest one)
A fixed number of last block headers in descending order (first header is the newest one)
- Definition Classes
- CostingDataContext → Context
- Since
2.0
- val height: Int
- val inputs: Coll[Box]
- var isCost: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastBlockUtxoRootHash: AvlTree
-
def
minerPubKey: Coll[Byte]
- Definition Classes
- CostingDataContext → Context
- Annotations
- @inline()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val outputs: Coll[Box]
-
val
preHeader: PreHeader
- Definition Classes
- CostingDataContext → Context
- Since
2.0
- val selfBox: Box
-
val
selfBoxIndex: Int
Zero based index in
inputs
ofselfBox
.Zero based index in
inputs
ofselfBox
. -1 if self box is not in the INPUTS collection.- Definition Classes
- CostingDataContext → Context
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
vars: Coll[AnyValue]
- Definition Classes
- CostingDataContext → Context
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withUpdatedVars(bindings: (Int, AnyValue)*): CostingDataContext
Return a new context instance with variables collection updated.
Return a new context instance with variables collection updated.
- bindings
a new binding of the context variables with new values.
- returns
a new instance (if
bindings
non-empty) with the specified bindings. other existing bindings are copied to the new instance