Commit Graph

363 Commits

Author SHA1 Message Date
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
bcfd63037a
Add limits to time delay settings. 2024-01-22 09:22:09 +02:00
tecnovert
6ad5880ba4
Remove bittrex.com rate source. 2024-01-17 20:25:28 +02:00
tecnovert
ff7e8fe0aa
Add coin name to getWalletInfo failed warning. 2024-01-07 09:12:59 +02:00
tecnovert
1068694990
Fix errors when one coin wallet fails to unlock. 2024-01-04 10:41:56 +02:00
tecnovert
66d1abd888
Fix settings apply. 2024-01-02 00:33:27 +02:00
tecnovert
192aff221e
coins: Update Bitcoin version. 2023-12-31 02:27:05 +02:00
tecnovert
03fdf44220
Fix unlock. 2023-12-30 10:31:41 +02:00
tecnovert
38fa498b0b
coins: Add LTC MWEB wallet 2023-12-29 15:36:00 +02:00
tecnovert
65c93eaee6
coins: Update valid Firo swap types. 2023-12-18 23:45:55 +02:00
tecnovert
0be5a4fca7
Add min_relay_fee option. 2023-12-01 19:16:28 +02:00
tecnovert
a4c79fb7aa
aOnly set reversed flag for ads type swaps. 2023-12-01 14:46:57 +02:00
tecnovert
5b6f447692
tests: Update swap type validation. 2023-12-01 09:23:10 +02:00
tecnovert
d4a6ad7d6f
Enable reverse adaptor sig swaps for segwit-less coins. 2023-11-30 21:46:03 +02:00
tecnovert
ce578f8025
Always use csv with adaptor sig swaps. 2023-11-30 18:16:24 +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
9a1b7db2dc
Print python version. 2023-10-17 14:42:52 +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
22e005728a
Ignore the pivx pid file on windows. 2023-09-29 00:59:32 +02:00
tecnovert
e7ae290eb5
Use threading event in main loop. 2023-09-17 22:34:48 +02:00
tecnovert
7caac8a8eb
Escape rpcauth password. 2023-09-02 14:28:08 +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
55ded71686
Add tx in mempool and in chain statuses. 2023-07-29 11:58:19 +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
d4f6286980
ui: Add new count of active received bids. 2023-07-19 20:52:03 +02:00
tecnovert
9888c4ebe1
ui: Fix describebid for reverse PART_ANON swaps. 2023-07-14 14:50:29 +02:00
tecnovert
705ac2c6fc
Add bid request accepted state. 2023-07-12 00:10:27 +02:00
tecnovert
303499fc6f
Fix session bug and add bid request state record. 2023-07-11 21:21:10 +02:00
tecnovert
4464ca1746
Fix auto accept total for reverse bids. 2023-07-10 23:14:39 +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
00bebfa371
ui: Fix active sent bids count. 2023-06-28 19:27:44 +02:00
tecnovert
57554d4fec
ui: Hide the bid abandon button. 2023-06-14 17:07:54 +02:00
tecnovert
cbb3d0ac02
ui: Add option to remove expired offers and bids. 2023-06-06 22:03:05 +02:00
tecnovert
75c5f6a905
protocol: Enforce minimum version. 2023-05-19 17:33:33 +02:00
tecnovert
9645e87961
protocol: Sign for key halves when not swapping XMR 2023-05-11 23:45:06 +02:00
tecnovert
2b2b98505b
ui: Add persistent filters, show only active bid and offer counts.
Add titles for offer clock states.
2023-05-10 17:50:40 +02:00
tecnovert
409c75851f
Replace calltx functions 2023-03-23 20:57:12 +02:00
tecnovert
22576c0316 ui: Add pagination and filters to smsgaddresses page 2023-03-18 19:45:18 +02:00
tecnovert
ea8cc70696
Ensure messages are always sent from and to the expected addresses. 2023-03-09 01:30:46 +02:00
tecnovert
97506850c4
Timeout bids stuck as accepted. 2023-03-09 00:53:54 +02:00
tecnovert
724e7f0ffc
Avoid monkeypatching PySocks 2023-02-26 22:42:44 +02:00
tecnovert
f33629f2a5
Add getTime function. 2023-02-26 22:27:38 +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
c2d6cdafdd
ui: Don't show bids on expired offers as available. 2023-02-18 00:07:27 +02:00
tecnovert
c322c9ae0c
Add total_bids_value_multiplier to automation strategies.
order value is the max value of a bid that can be accepted.
order value * total_bids_value_multiplier is the max sum of all bids that can be accepted.
2023-02-17 22:51:49 +02:00
tecnovert
c13606ab54
Improve log output for unprocessed revoke messages.
issue #24
It's normal for a node to receive revoke messages for offers it does not have.
A node will ignore offers for coins that are active.
2023-02-17 00:09:16 +02:00
tecnovert
2922b171a6
Load in-progress bids only when unlocked. 2023-02-16 22:57:55 +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
553af1a3e8
api: Add include_sent offers filter. 2023-01-11 10:35:14 +02:00
tecnovert
c4321b7740
Add PARTct to coin code. 2022-12-20 22:19:01 +02:00
tecnovert
80a78b4070
preparescript: Download BTC utxo snapshot first, allow resume. 2022-12-14 00:20:53 +02:00
tecnovert
5ce178e673
Fix checkWalletSeed 2022-12-13 07:56:46 +02:00
tecnovert
ef6653a8db
coins: Encrypt wallets before importing seeds, allow BTC to start without wallet.
Create BTC wallet on unlock if missing.
2022-12-13 00:12:28 +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
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
789cd0f6ab
system: Reload cached swaps on session errors 2022-12-01 20:51:06 +02:00
tecnovert
2a35148a4b
xmr: Support daemon rpc login details. 2022-11-28 19:54:41 +02:00
tecnovert
ba5339d8bd
ui: Add sent offer status filter. 2022-11-18 23:34:57 +02:00
tecnovert
6e5c54b447
ui: Send locked status to templates. 2022-11-18 23:31:52 +02:00
tecnovert
c5f31f0d1e
ui: Add wallet encryption templates.
tests: Test wallet encryption.
2022-11-18 00:58:14 +02:00
tecnovert
0f7df9e5f1
preparescript: Add WALLET_ENCRYPTION_PWD env var.
Removed unnecessary START_DAEMONS env var.
Remove all cached addresses from the basicswap db for a wallet after reseeding.
Check that addresses retreived from the db are owned by teh wallet before they're used/displayed
2022-11-17 00:36:13 +02:00
tecnovert
b43d58afbf
api: Add wallet/createutxo 2022-11-15 23:50:36 +02:00
tecnovert
8022ada01f
Fix xmr self bid. 2022-11-14 21:49:06 +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
ae2ddc4049
Log events for all sent transactions. 2022-11-08 23:07:58 +02:00
tecnovert
8b2d2b446b
api: Add show_extra parameter to bids endpoint
Add itx_refund_tx_est_final and ptx_refund_tx_est_final to bid extra data
2022-11-08 22:30:28 +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
f210024e93
coins: Decode pivx v3 transactions correctly. 2022-10-26 17:47:30 +02:00
tecnovert
50ed1bfccf
For CLTV coins check the lock value relative to the current time rather than the bid creation time. 2022-10-25 23:28:02 +02:00
tecnovert
59fb6c18ed
coins: Rename Pivx -> PIVX 2022-10-24 20:49:36 +02:00
tecnovert
a9f3eeefff
ui: Fix notifications. 2022-10-21 21:05:46 +02:00
tecnovert
3c2eb5f9f8
ui: Format notification timestamps. 2022-10-21 20:51:50 +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
7298867e18
dash: Add to prepare script. 2022-10-20 22:23:25 +02:00
tecnovert
9fc4fe3b79
debug: Reduce default min_sequence_lock_seconds when debug mode is active. 2022-10-18 21:18:18 +02:00
tecnovert
468d8c5cc1
xmr swap: Set correct block height on refund_tx. 2022-10-18 19:59:46 +02:00
tecnovert
842027f114
pivx: Add expected error string for stopDaemon when .cookie exists. 2022-10-14 00:58:54 +02:00
tecnovert
6ae8651d1b
ui: Hide all except 'Reseed Wallet' button if expected_seed is false. 2022-10-13 23:16:43 +02:00
tecnovert
eb9eb49bd9
Persistent notifications. 2022-10-13 22:32:53 +02:00
tecnovert
c7bbdc7022
Fail with more descriptive error when processing message involving inactive coin. 2022-10-12 22:37:35 +02:00
tecnovert
3ed6781c9f
Ignore undecryptable messages when expiring. 2022-10-12 20:48:26 +02:00