object LightTransactionViewTree extends Serializable
- Alphabetic
- By Inheritance
- LightTransactionViewTree
- Serializable
- 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
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(hashOps: HashOps)(bytes: ByteString): Either[String, LightTransactionViewTree]
- def fromProtoV0(hashOps: HashOps)(protoT: protocol.v0.LightTransactionViewTree): Either[String, LightTransactionViewTree]
- def fromProtoVersioned(hashOps: HashOps)(protoT: VersionedLightTransactionViewTree): Either[String, LightTransactionViewTree]
- 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
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toAllFullViewTrees(trees: NonEmptyList[LightTransactionViewTree]): Either[InvalidLightTransactionViewTreeSequence, NonEmptyList[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 toFullViewTree(trees: List[LightTransactionViewTree]): Either[InvalidLightTransactionViewTreeSequence, (TransactionViewTree, List[LightTransactionViewTree])]
Converts the prefix of a sequence of lightweight transaction view trees into a full tree, returning the unused suffix.
Converts the prefix of a sequence of lightweight transaction view trees into a full tree, returning the unused suffix.
The unused suffix normally describes other full transaction view trees, and the function may be called again on the suffix. Errors on an empty sequence, or a sequence whose prefix doesn't describe a full transaction view tree.
- def toString(): String
- Definition Classes
- AnyRef → Any
- def toToplevelFullViewTrees(trees: NonEmptyList[LightTransactionViewTree]): Either[InvalidLightTransactionViewTreeSequence, NonEmptyList[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])