llarp::path::BuildLimiter
limiter for path builds prevents overload and such
#include <pathbuilder.hpp>
Public Functions
| Name | |
|---|---|
| bool | Attempt(const RouterID & router) attempt a build return true if we are allowed to continue |
| void | Decay(llarp_time_t now) decay limit entries |
| bool | Limited(const RouterID & router) const return true if this router is currently limited |
Public Functions Documentation
function Attempt
bool Attempt(
const RouterID & router
)
attempt a build return true if we are allowed to continue
function Decay
void Decay(
llarp_time_t now
)
decay limit entries
function Limited
bool Limited(
const RouterID & router
) const
return true if this router is currently limited
Updated on 2026-01-10 at 22:49:45 +0000