object LightTransactionViewTree extends HasVersionedMessageWithContextCompanion[LightTransactionViewTree, HashOps]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LightTransactionViewTree
  2. HasVersionedMessageWithContextCompanion
  3. HasVersionedMessageCompanionCommon
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Deserializer = (HashOps, ByteString) => ParsingResult[LightTransactionViewTree]
  2. final case class InvalidLightTransactionViewTree(message: String) extends RuntimeException with Product with Serializable
  3. type Serializer = (LightTransactionViewTree) => ByteString
  4. case class ProtoCodec(fromInclusive: ProtocolVersion, deserializer: Deserializer, serializer: Serializer) extends Product with Serializable
  5. case class SupportedProtoVersions extends Product with Serializable

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def create(tree: GenTransactionTree, subviewHashes: Seq[ViewHash], protocolVersion: ProtocolVersion): Either[String, LightTransactionViewTree]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def fromByteString(ctx: HashOps)(bytes: ByteString): ParsingResult[LightTransactionViewTree]
  10. def fromProtoVersioned(ctx: HashOps)(proto: VersionedMessage[LightTransactionViewTree]): ParsingResult[LightTransactionViewTree]
  11. def fromTransactionViewTree(tvt: FullTransactionViewTree, protocolVersion: ProtocolVersion): LightTransactionViewTree

    Turns a full transaction view tree into a lightweight one.

    Turns a full transaction view tree into a lightweight one. Not stack-safe.

  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val name: String

    The name of the class as used for pretty-printing and error reporting

    The name of the class as used for pretty-printing and error reporting

    Definition Classes
    LightTransactionViewTreeHasVersionedMessageCompanionCommon
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def supportedProtoVersion[Proto <: GeneratedMessage](p: GeneratedMessageCompanion[Proto])(fromProto: (HashOps, Proto) => ParsingResult[LightTransactionViewTree]): (HashOps, ByteString) => ParsingResult[LightTransactionViewTree]
    Attributes
    protected
    Definition Classes
    HasVersionedMessageWithContextCompanion
  20. val supportedProtoVersions: SupportedProtoVersions

    Proto versions that are supported by fromProtoVersioned, fromByteString, toProtoVersioned and toByteString.

    Proto versions that are supported by fromProtoVersioned, fromByteString, toProtoVersioned and toByteString. See the helpers supportedProtoVersion and supportedProtoVersionMemoized below to define a ProtoCodec.

    Definition Classes
    LightTransactionViewTreeHasVersionedMessageCompanionCommon
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toFullViewTrees[A, B](lens: PLens[A, B, LightTransactionViewTree, FullTransactionViewTree], protocolVersion: ProtocolVersion, hashOps: HashOps, topLevelOnly: Boolean)(lightViewTrees: Seq[A]): (Seq[B], Seq[A], Seq[A])

    Converts a sequence of light transaction view trees to the corresponding full view trees.

    Converts a sequence of light transaction view trees to the corresponding full view trees. A light transaction view tree can be converted to its corresponding full view tree if and only if all descendants can be converted.

    To make the method more generic, light view trees are represented as A and full view trees as B and the lens parameter is used to convert between these types, as needed.

    topLevelOnly

    whether to return only top-level full view trees

    lightViewTrees

    the light transaction view trees to convert

    returns

    A triple consisting of (1) the full view trees that could be converted, (2) the light view trees that could not be converted due to missing descendants, and (3) duplicate light view trees in the input. The view trees in the output are sorted by view position, i.e., in pre-order. If the input contains the same view several times, then the output (1) contains one occurrence and the output (3) every other occurrence of the view.

  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def tryCreate(tree: GenTransactionTree, subviewHashes: Seq[ViewHash], protocolVersion: ProtocolVersion): LightTransactionViewTree

    Exceptions thrown

    InvalidLightTransactionViewTree if the tree is not a legal lightweight transaction view tree

  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. object SupportedProtoVersions extends Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Ungrouped