Browse Source

swapserver plugin: fix doc

master
SomberNight 2 years ago
parent
commit
f30d81a98f
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/plugins/swapserver/__init__.py
  2. 3
      electrum/simple_config.py

2
electrum/plugins/swapserver/__init__.py

@ -7,7 +7,7 @@ Submarine swap server for an Electrum daemon.
Example setup:
electrum -o setconfig use_swapserver True
electrum -o setconfig swapserver_address localhost:5455
electrum -o setconfig swapserver_port 5455
electrum daemon -v
"""

3
electrum/simple_config.py

@ -1173,8 +1173,9 @@ This will result in longer routes; it might increase your fees and decrease the
WIZARD_DONT_CREATE_SEGWIT = ConfigVar('nosegwit', default=False, type_=bool)
CONFIG_FORGET_CHANGES = ConfigVar('forget_config', default=False, type_=bool)
# submarine swap server
# connect to remote submarine swap server
SWAPSERVER_URL = ConfigVar('swapserver_url', default=_default_swapserver_url, type_=str)
# run submarine swap server locally
SWAPSERVER_PORT = ConfigVar('swapserver_port', default=5455, type_=int)
TEST_SWAPSERVER_REFUND = ConfigVar('test_swapserver_refund', default=False, type_=bool)

Loading…
Cancel
Save