orb.logic.normalized_events module

class orb.logic.normalized_events.ChanRoutingData(alias, chan_id, vals)

Bases: object

Simple dataclass that holds data for normal distribution calculation.

class orb.logic.normalized_events.Event(amt, ppm)

Bases: object

Simple dataclass that holds an Event for normal distribution calculation.

orb.logic.normalized_events.get_best_fee(c, include_zero)

Get the most frequent fee-rate. If include_zero is False then filter out 0 ppms

orb.logic.normalized_events.get_descritized_routing_events(c)
orb.logic.normalized_events.get_normal_distribution(c)