SnapshotNodeStore

org.sigilaris.node.jvm.runtime.consensus.hotstuff.SnapshotNodeStore
See theSnapshotNodeStore companion object
trait SnapshotNodeStore[F[_]]

Store for Merkle trie nodes used during snapshot synchronization.

Attributes

Companion
object
Source
SnapshotSync.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def get(hash: MerkleHash): F[Option[MerkleTrieNode]]

Attributes

Source
SnapshotSync.scala
def put(node: SnapshotTrieNode): F[Unit]

Attributes

Source
SnapshotSync.scala

Concrete methods

def contains(hash: MerkleHash)(using Functor[F]): F[Boolean]

Attributes

Source
SnapshotSync.scala
def putAll(nodes: Vector[SnapshotTrieNode])(using Applicative[F]): F[Unit]

Attributes

Source
SnapshotSync.scala