Commit graph

283 commits

Author SHA1 Message Date
tecnovert
fb48797298
tests: Fix lint issues. 2023-12-19 13:21:15 +02:00
tecnovert
61845a7a84
tests: Prune Firo tests. 2023-12-19 01:30:52 +02:00
tecnovert
65c93eaee6
coins: Update valid Firo swap types. 2023-12-18 23:45:55 +02:00
tecnovert
0a9db22828
Replace all hashlib ripemd160 functions. 2023-12-16 09:38:34 +02:00
tecnovert
258b730c41
scripts: Print errors if offer/bid creation fails. 2023-12-09 13:25:03 +02:00
tecnovert
01bb3870b6
tests: Add gettxout and scantxoutset tests to test_btc_xmr.py 2023-12-02 19:32:39 +02:00
tecnovert
5b6f447692
tests: Update swap type validation. 2023-12-01 09:23:10 +02:00
tecnovert
28baa597cc
coins: Read Firo ProgPow blocks 2023-12-01 00:19:54 +02:00
tecnovert
d4a6ad7d6f
Enable reverse adaptor sig swaps for segwit-less coins. 2023-11-30 21:46:03 +02:00
tecnovert
fd0bf9ed73
Raise version to 0.12.1 2023-11-25 11:08:00 +02:00
tecnovert
7053d7ee4b
Use gettxout where scantxoutset is not available. 2023-11-25 00:40:52 +02:00
tecnovert
22cd3cf9f1
test: Fix selenium tests. 2023-11-09 22:34:50 +02:00
tecnovert
2a2f1ca3b6
tests: Print expected and actual states on failure. 2023-10-16 21:02:49 +02:00
tecnovert
db0e85d37c
tests: Ensure XMR new subaddress is unique.
Fix xmr test 9.1 wait for event type.
Fix node shutdown issue.
2023-10-12 16:02:44 +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
68ff57ebdc
refactor: Lazy load interfaces. 2023-08-06 13:37:49 +02:00
tecnovert
8f4b962285
Fix getLinkedMessageId and validateSwapType 2023-08-02 13:57:29 +02:00
tecnovert
a13a5d4bf6
test: Fix lint issues. 2023-08-01 15:57:01 +02:00
tecnovert
547e50acb6
ui: Fix repeat offer selected coins. 2023-07-29 15:30:41 +02:00
tecnovert
c3b33c502e
ui: Show ITX and PTX status for adaptor sig type swaps. 2023-07-28 17:08:04 +02:00
tecnovert
67624a252b
Remove DB records for expired offers option. 2023-07-24 21:55:48 +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
04d4d89e96
coins: Update DASH version.
See https://github.com/dashpay/dash/releases/tag/v19.1.0
When upgrading from a version < 19.0, a migration process will occur.

It's recommended to start the DASH node manually to complete the migration and get on the correct chain.
2023-06-18 22:48:00 +02:00
tecnovert
75c5f6a905
protocol: Enforce minimum version. 2023-05-19 17:33:33 +02:00
tecnovert
409c75851f
Replace calltx functions 2023-03-23 20:57:12 +02:00
tecnovert
b5a4df9908 tests: Fix network test. 2023-03-18 19:45:18 +02:00
tecnovert
97506850c4
Timeout bids stuck as accepted. 2023-03-09 00:53:54 +02:00
tecnovert
0a2133f43f
tests: Test script template enabled flags. 2023-02-21 11:02:40 +02:00
tecnovert
06065958b7
ui: Fix xmr svg path, edit offer automation strategy. 2023-02-21 00:08:18 +02:00
tecnovert
09cc523ac3
Added restrict_unknown_seed_wallets setting. 2023-02-19 21:52:22 +02:00
tecnovert
577849f01c
api: Start automationstrategies 2023-02-19 16:31:11 +02:00
tecnovert
b6046fdbf3
api: getcoinseed shows seed id 2023-02-18 01:47:44 +02:00
tecnovert
2922b171a6
Load in-progress bids only when unlocked. 2023-02-16 22:57:55 +02:00
tecnovert
3234e3fba3
api: Add ability to abandon bids. 2023-02-16 12:37:16 +02:00
tecnovert
ac16fc07a4
Add automation override option. 2023-02-16 10:38:38 +02:00
tecnovert
dc0bd147b8
tests: Add script test 2023-02-14 23:35:11 +02:00
tecnovert
9117e2b723
Fix XMR withdrawals 2023-02-09 23:21:52 +02:00
tecnovert
c9e04332fc
tests: Update test_wallet_restore 2023-01-15 10:56:12 +02:00
tecnovert
ef71ca7ef4
scripts: Start example offer script. 2023-01-09 01:26:59 +02:00
tecnovert
c4321b7740
Add PARTct to coin code. 2022-12-20 22:19:01 +02:00
tecnovert
3f71dffe5a
Fix Dash checkseed. 2022-12-12 01:30:33 +02:00
tecnovert
2a9e423eaa
Handle lost noscript lock transaction. 2022-12-11 20:31:43 +02:00
tecnovert
6860279faa
tests: Add prefunded itx and xmr protocol tests 2022-12-11 01:26:42 +02:00
tecnovert
7101a5d1ee
ui: Switch offers offer/bid amounts when sent. 2022-12-08 16:02:53 +02:00
tecnovert
ef51719e62
tests: Fix test_xmr_persistent 2022-12-08 14:38:40 +02:00
tecnovert
0e1cb6d03d
Support xmr-protocol swaps to BTC and PART 2022-12-08 03:42:59 +02:00
tecnovert
7d43512845
xmr: Add prefunded itx. 2022-12-08 03:33:14 +02:00
tecnovert
c90fa6f2c6
system: Allow preselecting inputs for atomic swaps. 2022-12-05 17:04:23 +02:00
tecnovert
a250daca8b
xmr: Ensure incoming transfers are unlocked. 2022-12-02 13:58:26 +02:00
tecnovert
2a35148a4b
xmr: Support daemon rpc login details. 2022-11-28 19:54:41 +02:00
tecnovert
b5b43a8bf3
tests: Fix test_reload for Particl v23 2022-11-21 15:54:22 +02:00
tecnovert
7bc411eb98
tests: Call reservebalance to trigger WakeThreadStakeMiner
Node 0 needs a short advantage to stake the first few blocks to avoid prevout-not-found errors.
2022-11-21 13:04:11 +02:00
tecnovert
c5f31f0d1e
ui: Add wallet encryption templates.
tests: Test wallet encryption.
2022-11-18 00:58:14 +02:00
tecnovert
b43d58afbf
api: Add wallet/createutxo 2022-11-15 23:50:36 +02:00
tecnovert
5d4db2c1df
ui: Fix shutdown link. 2022-11-14 22:56:30 +02:00
tecnovert
8022ada01f
Fix xmr self bid. 2022-11-14 21:49:06 +02:00
tecnovert
d08e85e73e
tests: Wait for height before starting 2022-11-14 15:01:48 +02:00
tecnovert
54e434e1c9
ui: Connect new settings. 2022-11-13 23:18:33 +02:00
tecnovert
bbe7556d18
Disable v23 descriptor wallets.
Missing sethdseed, signmessage doesn't work and dumprivkey is missing (preventing a workaround).
2022-11-12 22:17:49 +02:00
tecnovert
fc31615a97
api: Add wallet lock/unlock commands and getcoinseed. 2022-11-12 18:22:23 +02:00
tecnovert
601d469801
test: Fix test class inheritance 2022-11-10 23:41:59 +02:00
tecnovert
c440f9e3a3
coins: Fix Firo seedid 2022-11-08 16:43:44 +02:00
tecnovert
ca264db0d0
Add non-segwit Firo support.
Rework tests to combine atomic and xmr test cases.
Modify btc interface to support P2WSH_nested_in_BIP16_P2SH
Add coin feature tests to test_btc_xmr.py
2022-11-08 13:14:03 +02:00
tecnovert
515e6655e8
Disable HttpServer log messages. 2022-10-26 18:15:09 +02:00
tecnovert
f210024e93
coins: Decode pivx v3 transactions correctly. 2022-10-26 17:47:30 +02:00
tecnovert
18974d9458
test: Fix RESET_TEST=false 2022-10-25 21:51:54 +02:00
tecnovert
aa14da27af
dash: Fix initialiseWallet
Only the upgradetohd command sets the hdseed
upgradetohd can only run once the chain is synced

Basicswap stores the hash of the root_key in it's db to check for the expected seed.
Prefer not to store the real key.
2022-10-21 18:39:19 +02:00
tecnovert
4866ff4db8
dash: Add tests. 2022-10-21 00:37:45 +02:00
tecnovert
b0f6865c90
tests: Add pivx withdrawal test. 2022-10-12 19:19:23 +02:00
tecnovert
46d1856f71
ui: Render 404 for unknown pages.
Wait for wallet update to complete, to handle corner case where user opens wallet page before refreshing.
Withdraw txn in selenium test.
2022-09-23 22:07:41 +02:00
tecnovert
146698425d
tests: Fix test_xmr_persistent
basicswap_prepare env vars are initialised when importing downloadPIVXParams
Fixed by reloading module
2022-09-10 13:47:48 +02:00
tecnovert
d74699992b
coins: Add PIVX
No CSV or segwit.
sethdseed requires a fully synced chain, manual intervention required to set a key derived from the master mnemonic.
Requires a pivxd version with a backported scantxoutset command.
2022-09-01 12:37:18 +02:00
tecnovert
e4e35b0d89
preparescript: Fix addcoin 2022-08-18 00:23:51 +02:00
tecnovert
48e5dcbcc9
refactor: Add createRawSignedTransaction to interface 2022-08-16 20:53:58 +02:00
tecnovert
b179667cc5
ui: Fix missing coin from data. 2022-08-10 23:58:53 +02:00
tecnovert
20c0c372d0
refactor: Move all coin interfaces to a dir 2022-08-09 00:10:37 +02:00
tecnovert
80f0098a3d
ui: Rates table example 2022-08-04 11:47:27 +02:00
tecnovert
412770d399
ui: rateslist returns js list of rates. 2022-08-03 23:59:57 +02:00
tecnovert
1c4f208d27
refactor: E275 missing whitespace after keyword 2022-07-31 20:09:43 +02:00
tecnovert
7a3b41a11b
ui: Fix js value updates when sending bid. 2022-07-29 00:47:32 +02:00
tecnovert
871bdb918e
ui: Update to bittrex v3 api. 2022-07-28 17:01:11 +02:00
tecnovert
2f1a9cbfae
tests: Fix tests 2022-07-26 23:23:49 +02:00
tecnovert
cd5af7032f
ui: Use coin tickers as wallet keys in json/wallets 2022-07-25 23:10:58 +02:00
tecnovert
18a444b071
ui: Add json endpoint to list all coin types. 2022-07-25 12:55:55 +02:00
tecnovert
8b09607083
tests: Prevent out of sequence refund in test_13_itx_refund 2022-07-21 00:27:22 +02:00
tecnovert
fa74b9982c
tests: Add xmr swap failure states to tests. 2022-07-20 00:24:14 +02:00
tecnovert
2c49d13aa0
tests: Add non xmr swap failure states to tests. 2022-07-18 22:57:16 +02:00
tecnovert
3ad87df844
tests: Add swap to wallet restore test. 2022-07-17 22:34:39 +02:00
tecnovert
ede01d3fc8
tests: Start wallet restore test.
Fix LTC pidfile in config.
Update LTC onion port for core version 21.
2022-07-15 17:04:24 +02:00
tecnovert
a2830afc06
tests: Deduplicate setup code. 2022-07-13 23:28:38 +02:00
tecnovert
585bef6076
tests: return mnemonic from prepare script. 2022-07-08 18:41:01 +02:00
tecnovert
0580f9ebac
tests: Fix NMC tests. 2022-07-04 22:29:49 +02:00
tecnovert
02bd90053a
refactor: Use read_json_api in more tests. 2022-07-04 00:47:30 +02:00
tecnovert
0c620ea388
doc, tests: Test sequence diagrams are accurate.
Add delay between detecting PTX and redeeming ITX.
Add bid state history to json api.
Hide Tx none states in bid state history.
2022-07-03 23:58:16 +02:00