org.sigilaris.node.jvm.runtime

Members list

Packages

HotStuff consensus protocol implementation for the Sigilaris node runtime.

HotStuff consensus protocol implementation for the Sigilaris node runtime.

Attributes

Type members

Classlikes

object NodeExecution

Entry point for composing node runtime lifecycle: bootstrap, initialize, and serve.

Entry point for composing node runtime lifecycle: bootstrap, initialize, and serve.

Attributes

Source
NodeExecution.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait NodeInitializer[F[_], -Services]

Effectful initialization step executed after runtime bootstrap and before serving.

Effectful initialization step executed after runtime bootstrap and before serving.

Type parameters

F

effect type

Services

the service bundle type (contravariant)

Attributes

Companion
object
Source
NodeInitializer.scala
Supertypes
class Object
trait Matchable
class Any

Companion for NodeInitializer providing a functional constructor.

Companion for NodeInitializer providing a functional constructor.

Attributes

Companion
trait
Source
NodeInitializer.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class NodeRuntime[Services, Layout](services: Services, storage: StorageMode[Layout])

Handle holding the bootstrapped services and the active storage mode.

Handle holding the bootstrapped services and the active storage mode.

Type parameters

Layout

the persistent storage layout type

Services

the service bundle type

Value parameters

services

the bootstrapped service bundle

storage

the storage mode used by this runtime

Attributes

Companion
object
Source
NodeRuntime.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object NodeRuntime

Companion for NodeRuntime providing resource-based construction.

Companion for NodeRuntime providing resource-based construction.

Attributes

Companion
class
Source
NodeRuntime.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
trait NodeRuntimeBootstrap[F[_], Config, Services, Layout]

Strategy for bootstrapping node services in either in-memory or persistent mode.

Strategy for bootstrapping node services in either in-memory or persistent mode.

Type parameters

Config

configuration type

F

effect type

Layout

the persistent storage layout type

Services

the service bundle type to produce

Attributes

Source
NodeRuntimeBootstrap.scala
Supertypes
class Object
trait Matchable
class Any
enum StorageMode[+Layout]

Discriminates between in-memory and persistent storage backends.

Discriminates between in-memory and persistent storage backends.

Type parameters

Layout

the persistent storage layout type (covariant)

Attributes

Companion
object
Source
StorageMode.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object StorageMode

Companion for StorageMode providing CLI argument parsing.

Companion for StorageMode providing CLI argument parsing.

Attributes

Companion
enum
Source
StorageMode.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type