omnilaboratory / obd

OmniBOLT daemon, a golang implementation of OmniBOLT spec, the smart assets lightning network.
MIT License
213 stars 21 forks source link

Integrate Circuit Breaker #30

Open neocarmack opened 3 years ago

neocarmack commented 3 years ago

Background

Circuit breaker allows nodes to protect themselves from being flooded with htlcs. With circuitbreaker a maximum to the number of in-flight htlcS can be set on a per-peer basis. Known and trusted peers for example can be assigned a higher maximum, while a new channel from a previously unseen node may be limited to only a few pending htlcs.

Project intro

Circuit Breaker

TO DO

Assess how to make Circuit Breaker support OmniBOLT channel.