Package

org.ergoplatform.wallet.protocol

context

Permalink

package context

Visibility
  1. Public
  2. All

Type Members

  1. trait ErgoLikeParameters extends AnyRef

    Permalink

    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.

  2. trait ErgoLikeStateContext extends AnyRef

    Permalink

    Blockchain context used in transaction validation.

  3. case class InputContext(selfIndex: Short, extension: ContextExtension) extends Product with Serializable

    Permalink

    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

  4. case class TransactionContext(boxesToSpend: IndexedSeq[ErgoBox], dataBoxes: IndexedSeq[ErgoBox], spendingTransaction: ErgoLikeTransactionTemplate[_ <: UnsignedInput]) extends Product with Serializable

    Permalink

    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

Ungrouped