Commit graph

309 commits

Author SHA1 Message Date
tecnovert
3a5e40187a
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-11 16:45:09 +02:00
tecnovert
c561efaba0
Add BTC type swipe tx mercy outputs. 2024-11-08 14:18:06 +02:00
tecnovert
9d7841da46
Test BCH mercy tx in reverse swaps. 2024-11-07 23:25:38 +02:00
tecnovert
92c7cb7223
Detect BCH mercy txn. 2024-11-07 02:48:15 +02:00
tecnovert
5ee28d0aa3
Set Bitcoincash .conf file and port from basicswap.json. 2024-11-02 11:29:57 +02:00
tecnovert
51d9685af0
tests: Add BCH to test_xmr_persistent 2024-11-02 11:21:53 +02:00
tecnovert
8e00753f97
tests: Move BCH code to BCH test file. 2024-11-02 11:21:46 +02:00
tecnovert
8637811c05
tests: Merge BCH tests. 2024-10-30 23:31:22 +02:00
tecnovert
f1dcef4971
Allow BCH as coin_to in ADS swaps. 2024-10-30 23:26:55 +02:00
mainnet-pat
32df813731 Lint 2024-10-30 15:03:41 +00:00
mainnet-pat
ec1671911b Final fix to refunds path, increase test coverage 2024-10-30 15:03:41 +00:00
mainnet-pat
57513aeb06 All spend paths implemented, increasing test coverage, still some issues with refund spends and swipes to resolve 2024-10-30 15:03:41 +00:00
mainnet-pat
52e6e2b586 Continue extending bch interface and test coverage
Support reverse swap happy path
2024-10-30 15:03:41 +00:00
mainnet-pat
c009d555e7 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-10-30 15:03:12 +00:00
mainnet-pat
58b42c0d9a WIP continue implementing the BCH swap interface for XMR swap and atomic swap protocols 2024-10-30 15:03:12 +00:00
mainnet-pat
a4b411f1fd Add bitcoincash support for prepare and run scripts, add bitcoincash to testing suite, groundwork for bch-xmr atomic swap protocol 2024-10-30 15:03:08 +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
tecnovert
047fe7ba27 Encode and decode Decred addresses. 2024-06-06 22:03:31 +02:00