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. case class InvalidLightTransactionViewTree(message: String) extends RuntimeException with Product with Serializable
  3. case class InvalidLightTransactionViewTreeSequence(message: String) extends RuntimeException with Product with Serializable
  4. type Serializer = (LightTransactionViewTree) => ByteString
  5. case class ProtoCodec(fromInclusive: ProtocolVersion, deserializer: Deserializer, serializer: Serializer) extends Product with Serializable
  6. 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: TransactionViewTree, 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 toAllFullViewTrees(protocolVersion: ProtocolVersion, hashOps: HashOps)(trees: NonEmpty[Seq[LightTransactionViewTree]]): Either[InvalidLightTransactionViewTreeSequence, NonEmpty[Seq[TransactionViewTree]]]

    Get all the full transaction view trees described by a sequence of lightweight trees.

    Get all the full transaction view trees described by a sequence of lightweight trees.

    Note that this repeats subtrees. More precisely, the following holds: toAllFullViewTrees(GenTransactionTree.allLightTransactionViewTrees) == (GenTransactionTree.allTransactionViewTrees)

  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def toToplevelFullViewTrees(protocolVersion: ProtocolVersion, hashOps: HashOps)(trees: NonEmpty[Seq[LightTransactionViewTree]]): Either[InvalidLightTransactionViewTreeSequence, NonEmpty[Seq[TransactionViewTree]]]

    Returns the top-level full transaction view trees described by a sequence of lightweight ones

  25. def tryCreate(tree: GenTransactionTree, subviewHashes: Seq[ViewHash], protocolVersion: ProtocolVersion): LightTransactionViewTree

    Exceptions thrown

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

  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. 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

Ungrouped