-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: chain autoswap #139
feat: chain autoswap #139
Conversation
02a3b53
to
2095d61
Compare
524b7ef
to
74bd0c6
Compare
3b3b7be
to
1b9935e
Compare
1b9935e
to
8090b41
Compare
8090b41
to
3ed044f
Compare
3981310
to
d082fa9
Compare
d082fa9
to
705f568
Compare
c2a29f9
to
7e70fcf
Compare
Missing as discussed is targeting 10k sats buffer for chain swaps (#140 will be shipped later) |
No idea how I got into this config state, but definitely shouldn't crash.
Now it continues crashing:
Here my
|
if onchain.Network == boltz.Regtest { | ||
retry = 0 | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not on regtest?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Takes too long if you want to mock a test case where it actually isn't confirmed but is expected to
Co-authored-by: michael1011 <me@michael1011.at>
3ea3f98
to
c50f4a1
Compare
c50f4a1
to
8cb2a95
Compare
8cb2a95
to
4a7d3b8
Compare
09c30c8
to
7db9d36
Compare
7db9d36
to
d121aae
Compare
docs/autoswap.md
Outdated
**Example** | ||
- `inboundBalance` is set to 200k sats | ||
- Current inbound balance of our 500k sats channel is 100k. | ||
- Result: A 400k sats reverse swap since the inbound balance is below the set threshold. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Result: A 400k sats reverse swap since the inbound balance is below the set threshold. | |
- Result: A 400k sats reverse swap will be executed, to bring back inbound inbound balance to the full 500k sats channel capacity.``` |
No description provided.