Trait

scorex.core.transaction.state.authenticated

BoxMinimalState

Related Doc: package authenticated

Permalink

trait BoxMinimalState[P <: Proposition, BX <: Box[P], BTX <: BoxTransaction[P, BX], M <: PersistentNodeViewModifier[P, BTX], BMS <: BoxMinimalState[P, BX, BTX, M, BMS]] extends MinimalState[P, BX, BTX, M, BMS]

Self Type
BMS
Linear Supertypes
MinimalState[P, BX, BTX, M, BMS], NodeViewComponent, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BoxMinimalState
  2. MinimalState
  3. NodeViewComponent
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type NVCT >: BoxMinimalState.this.type <: NodeViewComponent

    Permalink
    Definition Classes
    NodeViewComponent

Abstract Value Members

  1. abstract def applyChanges(changes: StateChanges[P, BX], newVersion: VersionTag): Try[BMS]

    Permalink
    Definition Classes
    MinimalState
  2. abstract def boxesOf(proposition: P): Seq[BX]

    Permalink
    Definition Classes
    MinimalState
  3. abstract def changes(mod: M): Try[StateChanges[P, BX]]

    Permalink
    Definition Classes
    MinimalState
  4. abstract def closedBox(boxId: Array[Byte]): Option[BX]

    Permalink
    Definition Classes
    MinimalState
  5. abstract def rollbackTo(version: VersionTag): Try[BMS]

    Permalink
    Definition Classes
    MinimalState
  6. abstract def semanticValidity(tx: BTX): Try[Unit]

    Permalink
  7. abstract def version: VersionTag

    Permalink
    Definition Classes
    MinimalState

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def applyModifier(mod: M): Try[BMS]

    Permalink
    Definition Classes
    MinimalState
  5. def applyModifiers(mods: Seq[M]): Try[BMS]

    Permalink
    Definition Classes
    MinimalState
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def filterValid(txs: Seq[BTX]): Seq[BTX]

    Permalink
    Definition Classes
    MinimalState
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def isValid(tx: BTX): Boolean

    Permalink
    Definition Classes
    MinimalState
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. def validate(tx: BTX): Try[Unit]

    Permalink

    A transaction is valid against a state if: - boxes a transaction is opening are stored in the state as closed - sum of values of closed boxes = sum of values of open boxes - fee - all the signatures for open boxes are valid(against all the txs bytes except of sigs)

    A transaction is valid against a state if: - boxes a transaction is opening are stored in the state as closed - sum of values of closed boxes = sum of values of open boxes - fee - all the signatures for open boxes are valid(against all the txs bytes except of sigs)

    - fee >= 0

    specific semantic rules are applied

    tx

    - transaction to check against the state

    Definition Classes
    BoxMinimalStateMinimalState
  22. def validate(mod: M): Try[Unit]

    Permalink
    Definition Classes
    MinimalState
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MinimalState[P, BX, BTX, M, BMS]

Inherited from NodeViewComponent

Inherited from AnyRef

Inherited from Any

Ungrouped