object LightTransactionViewTree extends HasVersionedMessageWithContextCompanion[LightTransactionViewTree, HashOps] with Serializable
- Alphabetic
- By Inheritance
- LightTransactionViewTree
- Serializable
- HasVersionedMessageWithContextCompanion
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class InvalidLightTransactionViewTree(message: String) extends RuntimeException with Product with Serializable
- case class InvalidLightTransactionViewTreeSequence(message: String) extends RuntimeException with Product with Serializable
- type Parser = (HashOps, ByteString) => ParsingResult[LightTransactionViewTree]
- Definition Classes
- HasVersionedMessageWithContextCompanion
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(tree: GenTransactionTree): LightTransactionViewTree
- Exceptions thrown
InvalidLightTransactionViewTree
if the tree is not a legal lightweight transaction view tree
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def create(tree: GenTransactionTree): Either[String, LightTransactionViewTree]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromByteString(ctx: HashOps)(bytes: ByteString): ParsingResult[LightTransactionViewTree]
- Definition Classes
- HasVersionedMessageWithContextCompanion
- def fromProtoV0(hashOps: HashOps, protoT: protocol.v0.LightTransactionViewTree): ParsingResult[LightTransactionViewTree]
- def fromProtoVersioned(ctx: HashOps)(proto: VersionedMessage[LightTransactionViewTree]): ParsingResult[LightTransactionViewTree]
- Definition Classes
- HasVersionedMessageWithContextCompanion
- def fromTransactionViewTree(tvt: TransactionViewTree): LightTransactionViewTree
Turns a full transaction view tree into a lightweight one.
Turns a full transaction view tree into a lightweight one. Not stack-safe.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- LightTransactionViewTree → HasVersionedMessageWithContextCompanion
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def supportedProtoVersion[Proto <: GeneratedMessage](p: GeneratedMessageCompanion[Proto])(fromProto: (HashOps, Proto) => ParsingResult[LightTransactionViewTree]): (HashOps, ByteString) => ParsingResult[LightTransactionViewTree]
- Attributes
- protected
- Definition Classes
- HasVersionedMessageWithContextCompanion
- val supportedProtoVersions: Map[Int, Parser]
- Definition Classes
- LightTransactionViewTree → HasVersionedMessageWithContextCompanion
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toAllFullViewTrees(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)
- def toString(): String
- Definition Classes
- AnyRef → Any
- def toToplevelFullViewTrees(trees: NonEmpty[Seq[LightTransactionViewTree]]): Either[InvalidLightTransactionViewTreeSequence, NonEmpty[Seq[TransactionViewTree]]]
Returns the top-level full transaction view trees described by a sequence of lightweight ones
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])