HotStuffBootstrapArmeriaAdapter

org.sigilaris.node.jvm.transport.armeria.gossip.HotStuffBootstrapArmeriaAdapter

Server-side Armeria/Tapir adapter for HotStuff bootstrap protocol endpoints.

Exposes finalized suggestion, snapshot fetch, proposal replay, and historical backfill endpoints with transport authentication and bootstrap capability verification.

Attributes

Source
HotStuffBootstrapArmeriaAdapter.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def endpoints[F[_] : Async, A](sessionRuntime: TxGossipRuntime[F, A], bootstrapServices: HotStuffBootstrapServices[F], transportAuth: StaticPeerTransportAuth): List[ServerEndpoint[Any, F]]

Creates the list of Tapir server endpoints for the HotStuff bootstrap protocol.

Creates the list of Tapir server endpoints for the HotStuff bootstrap protocol.

Type parameters

A

the gossip artifact type

F

the effect type

Value parameters

bootstrapServices

services providing finalized suggestions, snapshots, replay, and backfill

sessionRuntime

runtime for authorizing gossip sessions

transportAuth

transport authentication for verifying peer requests

Attributes

Returns

list of server endpoints

Source
HotStuffBootstrapArmeriaAdapter.scala