Commit Graph

22 Commits

Author SHA1 Message Date
tecnovert
934aab9d8a Allow starting with a subset of configured coins. 2025-04-16 20:20:43 +02:00
tecnovert
21c0a534f2 Timeout waiting for mutex on shutdown. 2025-04-16 20:20:43 +02:00
tecnovert
6b724ece84 nmc: Add to test_xmr_persistent. 2025-04-01 16:05:41 +02:00
tecnovert
826527fea9 Log rotation. 2025-03-12 10:41:36 +02:00
tecnovert
15b2038d65 tests: Add log prefix to BaseTestWithPrepare. 2025-03-05 13:08:42 +02:00
tecnovert
a0456cb689 Avoid reentrant error in signal_handler. 2025-01-30 15:21:56 +02:00
tecnovert
f13c481b51 tests: Fix test_xmr_persistent with BTC v28. 2025-01-22 20:08:46 +02:00
tecnovert
c79ed493aa Add estimated tx fee to amount check when posting bid.
Add more log messages around balance checks.
2025-01-22 18:07:20 +02:00
tecnovert
def7aae1ec Tor port fixes (#215)
* Set bind for BCH when using tor

* prepare: Set local tor control host when not in docker mode.

* Unlink tor hosts from BSX_DOCKER_MODE and add BSX_LOCAL_TOR.
2025-01-14 06:04:47 +00:00
tecnovert
294595adbd Merge pull request #214 from tecnovert/ltc_rewrite
Remove =onion from litecoin.conf
2025-01-13 23:29:28 +00:00
tecnovert
ab04f27497 Add upgradecores function to prepare script. (#213)
* Add upgradecores function to prepare script.

Differences from preparebinonly:

- If with/withoutcoins isn't set
  - Read list of coins to update from basicswap.json
    - Only where manage_daemon or manage_wallet_daemon is true
- Store core version no in basicswap.json
  - Only update if missing or differs.
- Writes core_version_no and core_version_group to basicswap.json
  - Per core updated
  - Backup old config to timestamped file

* Upgrade unmanaged coin cores by default.

Disable with BSX_UPDATE_UNMANAGED.
2025-01-13 23:28:32 +00:00
tecnovert
110b91bb75 Remove =onion from litecoin.conf 2025-01-13 11:43:26 +02:00
tecnovert
3cea5449c9 Disable binding to the onionport for BTC. 2025-01-13 00:36:32 +02:00
tecnovert
f4f64423a4 Shutdown on SIGHUP signal (when terminal is closed) 2024-11-25 23:19:22 +02:00
tecnovert
893fc87b28 Don't log to closed file. 2024-11-18 15:43:38 +02:00
tecnovert
732c87b013 Reformat with black. 2024-11-15 18:53:54 +02:00
tecnovert
6f0123e13e Fix BCH exchange name, pipe daemon output to file from prepare. 2024-11-15 09:59:30 +02:00
tecnovert
60cca03d31 Set Bitcoincash .conf file and port from basicswap.json. 2024-11-15 09:59:27 +02:00
tecnovert
765fadb0ed tests: Move BCH code to BCH test file. 2024-11-15 09:59:27 +02:00
mainnet-pat
1b43806d51 Add bitcoincash support for prepare and run scripts, add bitcoincash to testing suite, groundwork for bch-xmr atomic swap protocol 2024-11-15 07:50:12 +00:00
tecnovert
5e71367c21 Fix websocket url in docker container. 2024-10-18 15:09:51 +02:00
tecnovert
996c67beea Convert from setup.py to pyproject.toml 2024-10-16 21:14:08 +02:00