GossipFilter

org.sigilaris.node.gossip.GossipFilter
See theGossipFilter companion trait
object GossipFilter

Companion for GossipFilter defining concrete filter types.

Attributes

Companion
trait
Source
GossipSessionProtocol.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class TxBloomFilter(bitset: ByteVector, numHashes: Int, hashFamilyId: String) extends GossipFilter

A Bloom filter for probabilistic transaction deduplication.

A Bloom filter for probabilistic transaction deduplication.

Value parameters

bitset

the filter bit array

hashFamilyId

identifier of the hash family (e.g. "murmur3-32")

numHashes

the number of hash functions used

Attributes

Source
GossipSessionProtocol.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait GossipFilter
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala