org.sigilaris.node.gossip.tx.TxCascadeStrategy
See theTxCascadeStrategy companion object
Strategy for selecting which live events to deliver based on peer-declared filters and known ids.
Type parameters
-
A
-
the artifact payload type
Attributes
-
Companion
-
object
-
Source
-
TxGossipRuntimeSupport.scala
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
Members list
Selects live events from candidates, filtering out known and Bloom-matched artifacts.
Selects live events from candidates, filtering out known and Bloom-matched artifacts.
Value parameters
-
candidates
-
the candidate events to filter
-
exactKnownIds
-
exact known artifact ids from the peer
-
filter
-
optional Bloom filter from the peer
Attributes
-
Returns
-
the selected events, or a backfill-unavailable rejection
-
Source
-
TxGossipRuntimeSupport.scala