68 Commits

Author SHA1 Message Date
tecnovert
9d6e566c3b backports 2025-09-29 09:55:50 +02:00
tecnovert
4ebb6d6441 timeout bids before the script coin lock tx is mined. 2025-09-14 03:37:02 +02:00
tecnovert
e73e084a6d net: Add network portals to allow swaps between networks. 2025-07-31 00:09:33 +02:00
tecnovert
d92fa0c61d Change default key derivation paths.
To allow account keys to be imported into electrum.
Only applies when using descriptor wallets.
To match keys from legacy (sethdseed) wallets set the {COIN}_USE_LEGACY_KEY_PATHS environment variable before prepare.py.
2025-07-26 01:54:34 +02:00
tecnovert
f031d41a38 prepare: Set changetype=bech32 in BTC and LTC .conf files.
Rewrite .conf files to add changetype at startup if possible.
Add combine_non_segwit_prevouts function to coin interface.
Add option to list non-segwit UTXOs and combine_non_segwit_prevouts to gui.
Add test for changetype and combine_non_segwit_prevouts.
2025-06-21 01:24:02 +02:00
tecnovert
5a4b1c737c Refresh BCH keypool. 2025-04-14 19:28:46 +02:00
tecnovert
fa0760b172 Add simplex chat test. 2025-04-11 01:00:19 +02:00
tecnovert
c28eb9ab9b prepare: Fix addcoin with encrypted wallets.
Add workaround for Dash: sethdseed error if wallet is encrypted.
2025-04-01 22:53:35 +02:00
tecnovert
e9ed334a54 nmc: Use descriptor wallets by default. 2025-03-31 00:48:55 +02:00
tecnovert
f263bb53c3 nmc: Update test. 2025-03-31 00:48:52 +02:00
tecnovert
f1c2b41714 Add safe_logs option to anonymise logs. (#264)
* Add safe_logs option to anonymise logs.

* Extend logger class.
2025-02-22 15:54:13 +00:00
tecnovert
37be3bcab5 Add BTC descriptor wallet support.
Set BTC_USE_DESCRIPTORS env var to true to enable descriptors in the prepare script and test_btc_xmr
A separate watchonly wallet is created when using descriptor wallets.
2025-01-29 10:16:07 +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
65fbcda556 Fix lint issue. 2025-01-15 18:45:16 +02:00
tecnovert
3b60472c04 tests: Switch CI tests. 2025-01-15 15:06:34 +02:00
tecnovert
681122bcca Disable duplicate (proof of funds) balance check when sending offer.
Fix for blinded Particl offers.
Add fee to reverse offer balance check.
2025-01-10 17:47:45 +02:00
tecnovert
32bd44b19a tests: Move test_003_api to test_xmr and run in CI. 2025-01-07 21:03:52 +02:00
tecnovert
28d99c4c0f Fix recoverNoScriptTxnWithKey regression, add to more tests. 2025-01-06 20:17:21 +02:00
tecnovert
4b23834af8 Rename getNewSecretKey 2025-01-03 22:48:00 +02:00
tecnovert
0e2be676db doge: Switch to custom binary. 2025-01-03 22:47:59 +02:00
tecnovert
757f8f2762 Replace sqlalchemy with manbearpigSQL 2024-11-20 08:12:14 +02:00
tecnovert
7b03ce4769 Reformat tests with black. 2024-11-15 17:21:33 +02:00
tecnovert
f6916f093b Add debugind to prevent spending coin A lock tx. 2024-11-15 09:59:30 +02:00
tecnovert
283cfc7c59 Switch BCH from using wallet watchonly to watching scripts in BSX.
Using wallet watchonly to find the lock transactions only seems to work with rescanblockchain.
2024-11-15 09:59:29 +02:00
tecnovert
e05aaeba26 Add BTC type swipe tx mercy outputs. 2024-11-15 09:59:29 +02:00
tecnovert
8d96ea7fcf Test BCH mercy tx in reverse swaps. 2024-11-15 09:59:29 +02:00
tecnovert
fc17fa41ff Detect BCH mercy txn. 2024-11-15 09:59:28 +02:00
mainnet-pat
b7da4f2096 All spend paths implemented, increasing test coverage, still some issues with refund spends and swipes to resolve 2024-11-15 07:50:12 +00:00
tecnovert
fd7977b35a wownero: Add test. 2024-06-06 22:04:26 +02:00
tecnovert
2a8c04b285 Decred xmr swap tests. 2024-06-06 22:03:35 +02:00
tecnovert
d527ec4974 Decred test_008_gettxout 2024-06-06 22:03:33 +02:00
tecnovert
8a279dc71f Raise version, transmit amount to instead of rate. 2024-04-14 14:45:13 +02:00
tecnovert
0d344a907c tests: Fix tests. 2024-02-14 13:04:32 +02:00
tecnovert
6e4feb33d7 ui: Rename unconfirmed balance to pending, include immature balance. 2024-02-09 23:48:53 +02:00
tecnovert
30a5ea1652 tests: Run more tests in ci. 2024-01-28 00:07:25 +02:00
tecnovert
81649dcf9b Set reverse bid state to error when bidaccept fails. 2024-01-25 17:04:49 +02:00
tecnovert
f5d4b8dc0d Show error when auto-accepting a bid fails. 2024-01-24 23:12:18 +02:00
tecnovert
38fa498b0b coins: Add LTC MWEB wallet 2023-12-29 15:36:00 +02:00
tecnovert
01bb3870b6 tests: Add gettxout and scantxoutset tests to test_btc_xmr.py 2023-12-02 19:32:39 +02:00
tecnovert
7053d7ee4b Use gettxout where scantxoutset is not available. 2023-11-25 00:40:52 +02:00
tecnovert
5775ac5931 Add navcoin binary 2023-08-29 23:46:14 +02:00
tecnovert
0b963bffde Add p2sh-p2wsh support, add Navcoin tests. 2023-08-29 22:06:16 +02:00
tecnovert
8f4b962285 Fix getLinkedMessageId and validateSwapType 2023-08-02 13:57:29 +02:00
tecnovert
0432fae5b5 ui: Improve fee estimation. 2023-07-19 01:19:04 +02:00
tecnovert
9888c4ebe1 ui: Fix describebid for reverse PART_ANON swaps. 2023-07-14 14:50:29 +02:00
tecnovert
7bc5fc78ba Fix BTC witness size estimate. 2023-07-14 10:44:56 +02:00
tecnovert
08d3f05c1c tests: Add more bid intent test cases.
Send bid intent amount and rate un-reversed.
2023-07-09 17:41:52 +02:00
tecnovert
be46d8a7bd doc: Describe reverse adaptor sig protocol. 2023-07-06 15:13:19 +02:00
tecnovert
f6fb11f452 Add bid intent messages. 2023-07-05 23:35:25 +02:00
tecnovert
97506850c4 Timeout bids stuck as accepted. 2023-03-09 00:53:54 +02:00