rippled
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
ripple::HashRouter::Setup Struct Reference

Structure used to customize HashRouter behavior. More...

#include <HashRouter.h>

Collaboration diagram for ripple::HashRouter::Setup:
Collaboration graph
[legend]

Public Types

using seconds = std::chrono::seconds
 

Public Member Functions

 Setup ()=default
 Default constructor.
 

Public Attributes

seconds holdTime {300}
 Expiration time for a hash entry.
 
seconds relayTime {30}
 Amount of time required before a relayed item will be relayed again.
 

Detailed Description

Structure used to customize HashRouter behavior.

Even though these items are configurable, they are undocumented. Don't change them unless there is a good reason, and network-wide coordination to do it.

Configuration is processed in setup_HashRouter.

Definition at line 110 of file HashRouter.h.

Member Typedef Documentation

◆ seconds

Definition at line 115 of file HashRouter.h.

Constructor & Destructor Documentation

◆ Setup()

ripple::HashRouter::Setup::Setup ( )
explicitdefault

Default constructor.

Member Data Documentation

◆ holdTime

seconds ripple::HashRouter::Setup::holdTime {300}

Expiration time for a hash entry.

Definition at line 119 of file HashRouter.h.

◆ relayTime

seconds ripple::HashRouter::Setup::relayTime {30}

Amount of time required before a relayed item will be relayed again.

Definition at line 123 of file HashRouter.h.