c

org.alephium.io

SparseMerkleTrieBase

abstract class SparseMerkleTrieBase[K, V, T] extends MutableKV[K, V, T]

Linear Supertypes
MutableKV[K, V, T], ReadableKV[K, V], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparseMerkleTrieBase
  2. MutableKV
  3. ReadableKV
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SparseMerkleTrieBase()(implicit arg0: Serde[K], arg1: Serde[V])

Abstract Value Members

  1. abstract def getNode(hash: Blake2b): IOResult[Node]
  2. abstract def put(key: K, value: V): IOResult[T]
    Definition Classes
    MutableKV
  3. abstract def remove(key: K): IOResult[T]
    Definition Classes
    MutableKV
  4. abstract def rootHash: Blake2b
  5. abstract def unit: T
    Definition Classes
    MutableKV

Concrete 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 branch(hash: Blake2b, node: Node, branchIndex: Int, nibbles: ByteString, value: ByteString): IOResult[TrieUpdateActions]
    Attributes
    protected
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def deserializeKV(nibbles: ByteString, node: LeafNode, predicate: (K, V) => Boolean): IOResult[AVector[(K, V)]]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def existRaw(key: ByteString): IOResult[Boolean]
  11. def exists(key: K): IOResult[Boolean]
    Definition Classes
    SparseMerkleTrieBaseReadableKV
  12. def get(key: K): IOResult[V]
    Definition Classes
    SparseMerkleTrieBaseReadableKV
  13. def getAll(prefix: ByteString, maxNodes: Int, predicate: (K, V) => Boolean): IOResult[AVector[(K, V)]]
  14. def getAll(prefix: ByteString, maxNodes: Int): IOResult[AVector[(K, V)]]
  15. def getAllRaw(node: BranchNode, acc: ByteString, maxNodes: Int, predicate: (K, V) => Boolean): IOResult[AVector[(K, V)]]
    Attributes
    protected
  16. def getAllRaw(hash: Blake2b, acc: ByteString, maxNodes: Int, predicate: (K, V) => Boolean): IOResult[AVector[(K, V)]]
    Attributes
    protected
  17. def getAllRaw(prefix: ByteString, node: Node, acc: ByteString, maxNodes: Int, predicate: (K, V) => Boolean): IOResult[AVector[(K, V)]]
    Attributes
    protected
    Annotations
    @SuppressWarnings()
  18. def getAllRaw(prefix: ByteString, hash: Blake2b, acc: ByteString, maxNodes: Int, predicate: (K, V) => Boolean): IOResult[AVector[(K, V)]]
    Attributes
    protected
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def getOpt(node: Node, nibbles: ByteString): IOResult[Option[ByteString]]
  21. def getOpt(hash: Blake2b, nibbles: ByteString): IOResult[Option[ByteString]]
  22. def getOpt(key: K): IOResult[Option[V]]
    Definition Classes
    SparseMerkleTrieBaseReadableKV
  23. def getOptRaw(key: ByteString): IOResult[Option[ByteString]]
  24. def handleChildUpdateResult(branchHash: Blake2b, branchNode: BranchNode, nibble: Int, result: TrieUpdateActions): IOResult[TrieUpdateActions]
    Annotations
    @SuppressWarnings()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def put(hash: Blake2b, node: Node, nibbles: ByteString, value: ByteString): IOResult[TrieUpdateActions]
    Attributes
    protected
  31. def put(hash: Blake2b, nibbles: ByteString, value: ByteString): IOResult[TrieUpdateActions]
    Attributes
    protected
  32. def remove(hash: Blake2b, node: Node, nibbles: ByteString): IOResult[TrieUpdateActions]
    Attributes
    protected
    Annotations
    @SuppressWarnings()
  33. def remove(hash: Blake2b, nibbles: ByteString): IOResult[TrieUpdateActions]
    Attributes
    protected
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from MutableKV[K, V, T]

Inherited from ReadableKV[K, V]

Inherited from AnyRef

Inherited from Any

Ungrouped