c

org.alephium.io

InMemorySparseMerkleTrie

final class InMemorySparseMerkleTrie[K, V] extends SparseMerkleTrieBase[K, V, Unit]

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

Instance Constructors

  1. new InMemorySparseMerkleTrie(rootHash: Blake2b, storage: KeyValueStorage[Blake2b, Node], cache: Map[Blake2b, Node])(implicit arg0: Serde[K], arg1: Serde[V])

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

Inherited from MutableKV[K, V, Unit]

Inherited from ReadableKV[K, V]

Inherited from AnyRef

Inherited from Any

Ungrouped