object ErgoTree extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ErgoTree
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val ConstantSegregationFlag: Byte

    Header flag to indicate that constant segregation should be applied.

  5. val ConstantSegregationHeader: Byte

    Default header with constant segregation enabled.

  6. val DefaultHeader: Byte

    Default value of ErgoTree.header byte

  7. val EmptyConstants: IndexedSeq[Constant[SType]]
  8. val SizeFlag: Byte

    Header flag to indicate that whole size of ErgoTree should be saved before tree content.

  9. val VersionFlag: Byte

    Current version of ErgoTree serialization format (aka bite-code language version)

  10. val VersionMask: Byte

    Header mask to extract version bits.

  11. def apply(header: Byte, constants: IndexedSeq[Constant[SType]], root: SigmaPropValue): ErgoTree
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. implicit def fromProposition(prop: SigmaPropValue): ErgoTree
  18. implicit def fromSigmaBoolean(pk: SigmaBoolean): ErgoTree
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def getVersion(header: Byte): Byte
    Annotations
    @inline()
  21. final def hasSize(header: Byte): Boolean
    Annotations
    @inline()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def isConstantSegregation(header: Byte): Boolean
    Annotations
    @inline()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def substConstants(root: SValue, constants: IndexedSeq[Constant[SType]]): SValue
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  34. def withSegregation(value: SigmaPropValue): ErgoTree
  35. def withSegregation(headerFlags: Byte, value: SigmaPropValue): ErgoTree

    Build ErgoTree via serialization of the value with ConstantSegregationHeader, constants segregated from the tree and ConstantPlaceholders referring to the segregated constants.

    Build ErgoTree via serialization of the value with ConstantSegregationHeader, constants segregated from the tree and ConstantPlaceholders referring to the segregated constants.

    This method uses single traverse of the tree to: 1) find and segregate all constants; 2) replace constants with ConstantPlaceholders in the tree; 3) write the tree to the Writer's buffer obtaining treeBytes; 4) deserialize tree with ConstantPlaceholders.

  36. def withoutSegregation(root: SigmaPropValue): ErgoTree

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped