final case class ViewPosition(position: List[MerklePathElement]) extends AnyVal with Product with Serializable

A position encodes the path from a view in a transaction tree to its root. The encoding must not depend on the hashes of the nodes.

position

The path from the view to the root as a singly-linked list. The path starts at the view rather than the root so that paths to the root can be shared.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ViewPosition
  2. Serializable
  3. Product
  4. Equals
  5. AnyVal
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ViewPosition(position: List[MerklePathElement])

    position

    The path from the view to the root as a singly-linked list. The path starts at the view rather than the root so that paths to the root can be shared.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def +:(index: MerklePathElement): ViewPosition

    Adds a ViewPosition.MerklePathElement at the start of the path.

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def encodeDeterministically: ByteString
  7. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. val position: List[MerklePathElement]
  10. def productElementNames: Iterator[String]
    Definition Classes
    Product
  11. def reverse: ViewPositionFromRoot

    Reverse the position, as well as all contained MerkleSeqIndex path elements

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from Any

Ungrouped