Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add Circuit Breaker - it is to Lightning what firewalls are to the internet #1581

Closed
openoms opened this issue Sep 22, 2020 · 3 comments
Milestone

Comments

@openoms
Copy link
Collaborator

openoms commented Sep 22, 2020

A project by Joost Jager announced in this thread: https://twitter.com/joostjgr/status/1308414374789427200
https://github.com/lightningequipment/circuitbreaker

Needs at least lnd v0.11.0

@openoms openoms added this to the 1.7 Release milestone Sep 22, 2020
@rootzoll
Copy link
Collaborator

Looks like a good fit for v1.7 when >=lnd 0.11.0 will be standard ... lets keep it on that milestone list.

@openoms
Copy link
Collaborator Author

openoms commented Sep 28, 2020

Starting off with some notes:

# create dedicate user (or just use admin to test first)
# check Go and PATH
# add symlink for .lnd and permissions for macaroons
git clone https://github.com/lightningequipment/circuitbreaker.git
cd circuitbreaker
go install
# create config file
# ~/.circuitbreaker/circuitbreaker.yaml
# include example:
# maxPendingHtlcs: 5

# create systemd service or run:
circuitbreaker --network ${chain}net

@rootzoll
Copy link
Collaborator

rootzoll commented Oct 12, 2020

Now that lnd 0.11.0 will be a foreced update for v1.6.1 we can include Circuit Breaker already as config-script.
Will be part of v1.6.1 - use to activate: /home/admin/config.scripts/bonus.circuitbreaker.sh on

More improvents planned for v1.7 release: see #1654

@rootzoll rootzoll added the final testing was fixed - needs testing label Oct 12, 2020
@rootzoll rootzoll removed the final testing was fixed - needs testing label Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants