MerkleTrieState

org.sigilaris.core.merkle.MerkleTrieState
See theMerkleTrieState companion class

Companion object for MerkleTrieState with constructors.

Attributes

Companion
class
Source
MerkleTrieState.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

Creates an empty state with no root or base.

Creates an empty state with no root or base.

Attributes

Source
MerkleTrieState.scala

Creates a state from a root hash.

Creates a state from a root hash.

Sets both root and base to the given hash with empty diff.

Value parameters

root

the root hash

Attributes

Returns

new state

Source
MerkleTrieState.scala

Creates a state from an optional root hash.

Creates a state from an optional root hash.

Sets both root and base to the given option with empty diff.

Value parameters

root

the optional root hash

Attributes

Returns

new state

Source
MerkleTrieState.scala