clboss icon indicating copy to clipboard operation
clboss copied to clipboard

Option to disable boltz.exchange swaps?

Open cryptagoras opened this issue 2 years ago • 5 comments

Is there such an option? Thanks

cryptagoras avatar May 30 '22 10:05 cryptagoras

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.

devastgh avatar May 30 '22 15:05 devastgh

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.

cryptagoras avatar Jun 07 '22 16:06 cryptagoras

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.

ZmnSCPxj avatar Jul 11 '22 23:07 ZmnSCPxj

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.

devastgh avatar Jul 14 '22 07:07 devastgh

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.

ZmnSCPxj avatar Jul 14 '22 21:07 ZmnSCPxj