Commit graph

310 commits

Author SHA1 Message Date
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
tecnovert
60cca03d31 Set Bitcoincash .conf file and port from basicswap.json. 2024-11-15 09:59:27 +02:00
tecnovert
f02920721f tests: Add BCH to test_xmr_persistent 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
tecnovert
bff3c45976 tests: Merge BCH tests. 2024-11-15 09:59:26 +02:00
tecnovert
17308f9a66
Allow BCH as coin_to in ADS swaps. 2024-11-15 09:58:33 +02:00
mainnet-pat
465f910812 Lint 2024-11-15 07:50:12 +00:00
mainnet-pat
a7c2fbba1f Final fix to refunds path, increase test coverage 2024-11-15 07:50:12 +00: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
mainnet-pat
b73907bb84 Continue extending bch interface and test coverage
Support reverse swap happy path
2024-11-15 07:50:12 +00:00
mainnet-pat
b83f289013 Continue building out the BCH interface
Adapt the swap flow to BCH specifics - txids change after funding and when signing inputs
BCH happy path (lock-spend) done
2024-11-15 07:50:12 +00:00
mainnet-pat
3ea832bd03 WIP continue implementing the BCH swap interface for XMR swap and atomic swap protocols 2024-11-15 07:50:12 +00: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
745d1460e5
script: Parse more than one page limit of offers.
Some checks failed
lint / build (3.12) (push) Has been cancelled
2024-10-30 09:18:47 +02:00
tecnovert
2296198b44
tests: Catch when local key is provided to recoverNoScriptTxnWithKey.
Some checks are pending
lint / build (3.12) (push) Waiting to run
2024-10-29 07:49:52 +02:00
tecnovert
cc3ef1c065
tests: Add Selenium webdriver options.
Some checks are pending
lint / build (3.12) (push) Waiting to run
2024-10-28 22:05:45 +02:00
tecnovert
1d5d6004bc
Fix recoverNoScriptTxnWithKey for reverse bids.
Some checks are pending
lint / build (3.12) (push) Waiting to run
2024-10-28 10:15:30 +02:00
tecnovert
19c6cff7d3 Freeze dependencies. 2024-10-16 21:14:08 +02:00
tecnovert
996c67beea Convert from setup.py to pyproject.toml 2024-10-16 21:14:08 +02:00
tecnovert
3f963f3329 scripts: Rename 'min_amount' to 'amount_step'.
Some checks failed
lint / build (3.12) (push) Has been cancelled
2024-10-08 21:06:43 +00:00
tecnovert
8c6ea947ba script: Add min_amount offer setting.
If min_amount is set offers will be created for amounts between "min_coin_from_amt" and "amount" in increments of "min_amount".
2024-10-08 21:06:43 +00:00
tecnovert
f2a3fc1da1
Fix bug when manually setting bid state. 2024-10-08 22:31:17 +02:00
tecnovert
771ad2586a
tests: Add BSX_TEST_MODE env var to prepare script to manage all daemons by default.
Some checks are pending
lint / build (3.12) (push) Waiting to run
2024-10-07 20:44:09 +02:00
tecnovert
f307332409
Use subaddr_indices_all with sweep_all. 2024-06-19 23:11:41 +02:00
tecnovert
a977cfe857
Fix start height not being set. 2024-06-14 02:35:18 +02:00
tecnovert
fd7977b35a wownero: Add test. 2024-06-06 22:04:26 +02:00
tecnovert
c3cd1871ef Add disableall option to smsgaddresses command. Ensure used addresses are active. 2024-06-06 22:03:41 +02:00
tecnovert
3e4c3f10cf scripts: Set offer min_bid_amount from offer template min_swap_amount value. 2024-06-06 22:03:41 +02:00
tecnovert
ad7d23a8de Fix reloading Decred bids. 2024-06-06 22:03:40 +02:00
tecnovert
5f6819afcb refactor: Make db mutex non-recursive. 2024-06-06 22:03:39 +02:00
tecnovert
ae1df0b556 Include mnemonic dependency directly. 2024-06-06 22:03:38 +02:00
tecnovert
d3e3c3c95b Remove protobuf dependency. 2024-06-06 22:03:38 +02:00
tecnovert
adc80eabb0 Add simple protobuf encoder and decoder. 2024-06-06 22:03:38 +02:00
tecnovert
57bc1d5ccf ui: Improve rpc page. 2024-06-06 22:03:37 +02:00
tecnovert
76445146fb Integrate Decred with wallet encryption.
dcrwallet requires the password to be entered at the first startup when encrypted.
basicswap-run with --startonlycoin=decred and the WALLET_ENCRYPTION_PWD environment var set can be used for the initial sync.
2024-06-06 22:03:36 +02:00
tecnovert
aa1e1fd79c Decred: test_010_txn_size 2024-06-06 22:03:35 +02:00
tecnovert
446d6fe357 Decred: Add to test_xmr_persistent 2024-06-06 22:03:35 +02:00
tecnovert
2a8c04b285 Decred xmr swap tests. 2024-06-06 22:03:35 +02:00
tecnovert
76879a2ff5 Decred: Secret hash swap tests. 2024-06-06 22:03:34 +02:00
tecnovert
d527ec4974 Decred test_008_gettxout 2024-06-06 22:03:33 +02:00
tecnovert
74c7072926 Decred CSV test. 2024-06-06 22:03:33 +02:00
tecnovert
ab472c04be Decred sighash and signing. 2024-06-06 22:03:33 +02:00
tecnovert
150caeec40 Add Decred transaction to and from bytes. 2024-06-06 22:03:32 +02:00
tecnovert
761d0ca505 Get Decred account key from seed. 2024-06-06 22:03:32 +02:00
tecnovert
9160bfe452 Add Decred rpc 2024-06-06 22:03:32 +02:00
tecnovert
942b436974 tests: Start dcrd 2024-06-06 22:03:31 +02:00