CI

Circuit Breaker

Your Lightning Node's Firewall

Budgeting & Finance ★ 124 stars Easy setup free

It 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. Furthermore it is possible to apply rate limits to the number of forwarded HTLCs. This offers protection against DoS/spam attacks that rely on large numbers of fast-resolving HTLCs. Rate limiting is implemented with a Token bucket. Via the UI the minimum interval between .

Strengths

  • Easy to set up — beginner-friendly
  • First-class Docker support for quick deployment
  • One-click install on common self-host platforms
  • Written in Go

Is Circuit Breaker secure?

OSV.dev has no published security advisories for Circuit Breaker's repository. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.

Source: OSV.dev, checked 2026-10-14. How this is measured.

Health badge

Maintain Circuit Breaker? Add its health score to your README. The badge links back to this page.

SelfHostIndex: 5 · at risk

Markdown
[![SelfHostIndex health score for Circuit Breaker](https://selfhostindex.com/badge/circuitbreaker.svg)](https://selfhostindex.com/app/circuitbreaker/)
HTML
<a href="https://selfhostindex.com/app/circuitbreaker/"><img src="https://selfhostindex.com/badge/circuitbreaker.svg" alt="SelfHostIndex health score for Circuit Breaker"></a>
reStructuredText
.. image:: https://selfhostindex.com/badge/circuitbreaker.svg
   :alt: SelfHostIndex health score for Circuit Breaker
   :target: https://selfhostindex.com/app/circuitbreaker/

The score is recomputed on every nightly rebuild from public repository data — see how it is calculated.

Similar budgeting & finance apps