ReplaySupport

scalus.cardano.node.stream.ReplaySupport

How far back a provider can start a subscription.

Replay is not a yes/no property, for the same reason pushdown is not: on a REST backend an address's history is one paginated endpoint away while the chain's history is unreachable.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Buffered(depth: Int)

Replay within a bounded in-memory window of this many blocks.

Replay within a bounded in-memory window of this many blocks.

Attributes

case FullHistory extends ReplaySupport

Arbitrary start point, arbitrary query.

Arbitrary start point, arbitrary query.

Attributes

case NoReplay extends ReplaySupport

Live only, from the tip.

Live only, from the tip.

Attributes

final case class Scoped(kinds: Set[PushdownKind])

Replay works for subscriptions whose query pushes down to these kinds, and only those. Blockfrost is Scoped(Set(Address, Asset)) — which is checkpoint-and-resume for the common case, without a chain store anywhere.

Replay works for subscriptions whose query pushes down to these kinds, and only those. Blockfrost is Scoped(Set(Address, Asset)) — which is checkpoint-and-resume for the common case, without a chain store anywhere.

Attributes