clboss
clboss copied to clipboard
Option to disable boltz.exchange swaps?
Is there such an option? Thanks
clboss-ignore-onchain
option disables boltz swaps, and channel creation for the time you set. You can use an arbitrary high number to make it kinda permanent.
Ideally, I would like to just disable boltz swaps, but it'll still use any available onchain funds for new channels etc. At the moment it seems with this option, it disables both like you said.
Is there a particular reason why you want to disable this? I know it is costly, but it is mostly a one-time cost: either it is buying inbound liquidity, or it is consolidating onchain funds to make larger channels instead of piddling little channels when an existing channel closes.
Is there a particular reason why you want to disable this? I know it is costly, but it is mostly a one-time cost: either it is buying inbound liquidity, or it is consolidating onchain funds to make larger channels instead of piddling little channels when an existing channel closes.
Just to chime in here, it's a false assumption, that it's a one-time cost. Channels can be (and are being) closed by either party, anytime. A boltz swapped out liquidity needs to make back at least 5000ppm of the swapped amount, before breaking even. That's highly unlikely over an average channels lifetime. To be blunt, it's practically impossible to reliably be net positive with boltz.
But NeedsOnchainFunds
does not trigger on every close, only those for which the close creates onchain funds close enough to the trigger point for channel creation. This can be tweaked to reduce further.