Back to Site
Loading...
Searching...
No Matches
librats::GossipSubConfig Struct Reference

GossipSub configuration parameters. More...

#include <gossipsub.h>

Public Member Functions

 GossipSubConfig ()
 

Public Attributes

int mesh_low
 
int mesh_high
 
int mesh_optimal
 
int fanout_size
 
std::chrono::milliseconds fanout_ttl
 
int gossip_factor
 
int gossip_lazy
 
std::chrono::milliseconds gossip_retransmit
 
std::chrono::milliseconds heartbeat_interval
 
std::chrono::milliseconds message_cache_ttl
 
int max_ihave_messages
 
int max_iwant_messages
 
double score_threshold_accept
 
double score_threshold_gossip
 
double score_threshold_mesh
 
double score_threshold_publish
 

Detailed Description

GossipSub configuration parameters.

Definition at line 107 of file gossipsub.h.

Constructor & Destructor Documentation

◆ GossipSubConfig()

librats::GossipSubConfig::GossipSubConfig ( )
inline

Definition at line 136 of file gossipsub.h.

Member Data Documentation

◆ fanout_size

int librats::GossipSubConfig::fanout_size

Definition at line 114 of file gossipsub.h.

◆ fanout_ttl

std::chrono::milliseconds librats::GossipSubConfig::fanout_ttl

Definition at line 115 of file gossipsub.h.

◆ gossip_factor

int librats::GossipSubConfig::gossip_factor

Definition at line 118 of file gossipsub.h.

◆ gossip_lazy

int librats::GossipSubConfig::gossip_lazy

Definition at line 119 of file gossipsub.h.

◆ gossip_retransmit

std::chrono::milliseconds librats::GossipSubConfig::gossip_retransmit

Definition at line 120 of file gossipsub.h.

◆ heartbeat_interval

std::chrono::milliseconds librats::GossipSubConfig::heartbeat_interval

Definition at line 123 of file gossipsub.h.

◆ max_ihave_messages

int librats::GossipSubConfig::max_ihave_messages

Definition at line 127 of file gossipsub.h.

◆ max_iwant_messages

int librats::GossipSubConfig::max_iwant_messages

Definition at line 128 of file gossipsub.h.

◆ mesh_high

int librats::GossipSubConfig::mesh_high

Definition at line 110 of file gossipsub.h.

◆ mesh_low

int librats::GossipSubConfig::mesh_low

Definition at line 109 of file gossipsub.h.

◆ mesh_optimal

int librats::GossipSubConfig::mesh_optimal

Definition at line 111 of file gossipsub.h.

◆ message_cache_ttl

std::chrono::milliseconds librats::GossipSubConfig::message_cache_ttl

Definition at line 126 of file gossipsub.h.

◆ score_threshold_accept

double librats::GossipSubConfig::score_threshold_accept

Definition at line 131 of file gossipsub.h.

◆ score_threshold_gossip

double librats::GossipSubConfig::score_threshold_gossip

Definition at line 132 of file gossipsub.h.

◆ score_threshold_mesh

double librats::GossipSubConfig::score_threshold_mesh

Definition at line 133 of file gossipsub.h.

◆ score_threshold_publish

double librats::GossipSubConfig::score_threshold_publish

Definition at line 134 of file gossipsub.h.


The documentation for this struct was generated from the following file: