TARAXA
Loading...
Searching...
No Matches
taraxa.hpp File Reference
#include "Common.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dev::p2p::TaraxaNetworkConfig
 
struct  dev::p2p::Capability
 
struct  dev::p2p::SessionCapability
 

Namespaces

namespace  dev
 
namespace  dev::p2p
 

Typedefs

using dev::p2p::CapabilityNameAndVersion = CapDesc
 
using dev::p2p::Capabilities = std::map< CapabilityNameAndVersion, Capability >
 
using dev::p2p::SessionCapabilities = std::map< std::string, SessionCapability >
 

Class Documentation

◆ dev::p2p::TaraxaNetworkConfig

struct dev::p2p::TaraxaNetworkConfig
Class Members
unsigned chain_id = 0
uint expected_parallelism = 1
unsigned ideal_peer_count = 11
bool is_boot_node = false
seconds log_active_peers_interval {30}
milliseconds main_loop_interval {100}
seconds peer_healthcheck_interval {30}
seconds peer_healthcheck_timeout {1}
unsigned peer_stretch = 7