package context
Type Members
- trait ErgoLikeParameters extends AnyRef
Blockchain parameters readjustable via miners voting and voting-related data.
Blockchain parameters readjustable via miners voting and voting-related data. All these fields are included into extension section of a first block of a voting epoch.
- trait ErgoLikeStateContext extends AnyRef
Blockchain context used in transaction validation.
- case class InputContext(selfIndex: Short, extension: ContextExtension) extends Product with Serializable
Part of execution context regarding a box to be spent.
Part of execution context regarding a box to be spent. It includes index of the box in inputs and also context extension (additional key-value pairs provided during the spending)
- selfIndex
- index of the box in spending transaction inputs
- extension
- input-provided context extension
- case class TransactionContext(boxesToSpend: IndexedSeq[ErgoBox], dataBoxes: IndexedSeq[ErgoBox], spendingTransaction: ErgoLikeTransactionTemplate[_ <: UnsignedInput]) extends Product with Serializable
Part of the execution context in regards with spending transaction
Part of the execution context in regards with spending transaction
- boxesToSpend
- inputs of the transaction
- dataBoxes
- data (read-only) inputs of the transaction
- spendingTransaction
- spending transaction