Bitcoin Forum
November 13, 2024, 10:15:13 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Electrum 4.5.0 released  (Read 285 times)
nc50lc
Legendary
*
Offline Offline

Activity: 2590
Merit: 6393


Self-proclaimed Genius


View Profile
January 16, 2024, 11:38:55 AM
Last edit: February 02, 2024, 07:08:52 AM by nc50lc
Merited by ABCbits (1)
 #21

* Plugins:
   - new: swapserver plugin (#8489)
Does anyone understand what this plugin does? I briefly checked relevant pull link at 8489, but i only can figure out it's related with LN.
Yes, it's related to Lightning.
It's a plugin that enables the user to set a custom "swapserver" by adding the lines below or by using "setconfig" commands via daemon:
  •    "use_swapserver": true,
  •    "swapserver_address": "swapserver_address:swapserver_port",

By default, Electrum uses Boltz for submarine swaps.
I can't find any official documentation on how to set up the swapserver though.

-edit-
"swapserver_address" changed to 'port' after this commit (in v4.5.1): https://github.com/spesmilo/electrum/commit/f30d81a98fe8d7cde6daae4e15eba7b4852e43d9

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
ghost43
Newbie
*
Offline Offline

Activity: 24
Merit: 48


View Profile
January 17, 2024, 01:25:40 AM
Merited by nc50lc (1)
 #22

* Plugins:
   - new: swapserver plugin (#8489)
Does anyone understand what this plugin does? I briefly checked relevant pull link at 8489, but i only can figure out it's related with LN.
Yes, it's related to Lightning.
It's a plugin that enables the user to set a custom "swapserver"
By default, Electrum uses Boltz for submarine swaps.

It's a plugin to run your own swap server, it is an alternative implementation to Boltz.

- You can point the client to any remote swap server by setting the "swapserver_url" config key (unrelated to plugin),
- and it is possible to run a swap server yourself locally using this new plugin (which itself is a server implementation in python).

We wrote the plugin for our own use, to replace Boltz, as they changed their license from AGPL to a non-free license around 2023-04.
Since around 2023-08 we are no longer using Boltz. That is, the official swap server is now an electrum daemon with this plugin enabled.
nc50lc
Legendary
*
Offline Offline

Activity: 2590
Merit: 6393


Self-proclaimed Genius


View Profile
January 17, 2024, 04:06:20 AM
 #23

We wrote the plugin for our own use, to replace Boltz, as they changed their license from AGPL to a non-free license around 2023-04.
Since around 2023-08 we are no longer using Boltz. That is, the official swap server is now an electrum daemon with this plugin enabled.
Okay, so this is the reason why there's always a "The swap server errored or is unreachable" error whenever I try using submarine swap.
It would've been great if this info is mentioned in the release notes, though.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!