Skip to main content

Module ads

Module ads 

Source
Expand description

E08.6 — verified topology facts vs untrusted price/energy/latency adverts.

Structs§

AdvertisedMetric
PathAdvert
Advert bound to a planned first hop. Untrusted copies never admit a new path.

Enums§

MetricProvenance

Constants§

MAX_EXPLORE
At most this many untrusted adverts are explored, and only among feasible paths.

Functions§

admit_advert
Untrusted ads cannot make an infeasible verified edge feasible.
explore_untrusted
Among already-feasible paths only, consider at most MAX_EXPLORE untrusted ads.
overlay_metrics
Overlay advert metrics. Unknown energy stays unknown, never a free zero.