object SparseMerkleTrie
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SparseMerkleTrie
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class BranchNode(path: ByteString, children: AVector[Option[Blake2b]]) extends Node with Product with Serializable
- final case class LeafNode(path: ByteString, data: ByteString) extends Node with Product with Serializable
- sealed trait Node extends AnyRef
- final case class SMTException(message: String) extends Exception with Product with Serializable
- final case class TrieUpdateActions(nodeOpt: Option[Node], toDelete: AVector[Blake2b], toAdd: AVector[Node]) extends 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[K, V](rootHash: Blake2b, storage: KeyValueStorage[Blake2b, Node])(implicit arg0: Serde[K], arg1: Serde[V]): SparseMerkleTrie[K, V]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bytes2Nibbles(bytes: ByteString): ByteString
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getHighNibble(byte: Byte): Byte
- def getLowNibble(byte: Byte): Byte
- def getNibble(nibbles: ByteString, index: Int): Int
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def inMemory[K, V](rootHash: Blake2b, storage: KeyValueStorage[Blake2b, Node])(implicit arg0: Serde[K], arg1: Serde[V]): InMemorySparseMerkleTrie[K, V]
- def inMemoryUnsafe[K, V](storage: KeyValueStorage[Blake2b, Node], genesisKey: K, genesisValue: V)(implicit arg0: Serde[K], arg1: Serde[V]): InMemorySparseMerkleTrie[K, V]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nibbles2Bytes(nibbles: ByteString): ByteString
- 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 toNibbles[K](key: K)(implicit arg0: Serde[K]): ByteString
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unsafe[K, V](storage: KeyValueStorage[Blake2b, Node], genesisKey: K, genesisValue: V)(implicit arg0: Serde[K], arg1: Serde[V]): SparseMerkleTrie[K, V]
- 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])
- object Node
- object SMTException extends Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated