Commit Graph

101 Commits

Author SHA1 Message Date
tecnovert
3ed6eca95f ui: Show bids that can be accepted. 2022-06-15 00:35:33 +02:00
tecnovert
0edcf249aa refactor: Add bid states to db. 2022-06-11 23:56:21 +02:00
tecnovert
89c60851ac automation: Accept multiple concurrent bids. 2022-06-08 22:23:44 +02:00
tecnovert
d909115ea4 refactor: Rename EventQueue table to Action 2022-06-06 23:03:31 +02:00
tecnovert
88c94c4acd Set default anon tx ring size to 12 and add setting. 2022-04-11 00:11:51 +02:00
tecnovert
d1e015962c basicswap-prepare can enable and disable tor config. 2022-03-24 00:00:35 +02:00
tecnovert
053c263751 ui: Add option to set debug tweak option from bid page. 2021-12-15 16:14:23 +02:00
tecnovert
cd4103ce3e tests: Deduplicate test_run.py 2021-11-27 17:58:58 +02:00
tecnovert
58e4b506fe ui: Add debug ind option. 2021-11-27 01:02:51 +02:00
tecnovert
99534756de Variable bid amount and rate. 2021-11-22 22:24:48 +02:00
tecnovert
6e82961da9 particl: Can swap PARTct -> XMR 2021-11-01 15:52:40 +02:00
tecnovert
1ef71ea79b particl: Can swap anon outputs 2021-10-23 16:00:32 +02:00
tecnovert
6a9e759629 xmr: Cache main wallet address 2021-10-20 21:52:06 +02:00
tecnovert
a40519737d protocol: Enable private offers
Users can send private offers that will only be seen by one address.

To send a private offer:
 1. recipient creates a new address to receive offers on
 2. recipient sends the pubkey for the newly created address to the offerer
 3. offerer imports the recipient's pubkey
 4. offerer sends a new offer to the recipients key instead of the public network

Nodes will ignore offers sent on keys other than the network key or keys created for offer-receiving.
2021-10-20 21:50:45 +02:00
tecnovert
f63815b26b ui: Add page to manage SMSG addresses 2021-10-19 20:59:18 +02:00
tecnovert
bf00f80b4d ui: Start describing xmr bid states. 2021-10-18 20:48:48 +02:00
tecnovert
e69409514c tests: Fix intermittent failure 2021-09-05 01:18:34 +02:00
tecnovert
0d0ffe6fe4 XMR: Use sweep_all if trying to withdraw all coin with subfee. 2021-07-29 22:58:14 +02:00
tecnovert
1b2ec61816 Fix withdrawal error. 2021-07-28 13:51:17 +02:00
tecnovert
36a40b5fa3 ui: Expose offer valid time. 2021-02-14 00:54:01 +02:00
tecnovert
f2018184e7 protocol: Start adding anon particl option. 2021-02-11 16:01:47 +02:00
tecnovert
c4fc2c70dc api: Add withdraw. 2021-02-07 12:01:58 +02:00
tecnovert
deb71856e8 Poll chainstates.
Litecoin download link changed.
Fix fee comparison tx weight difference.
Remove format8.
New stalled for test bid state.
Moved sequence code to coin interfaces.
Display estimated time lock refund tx will be valid.
2021-02-03 16:01:27 +02:00
tecnovert
c66160fb09 Add more event log types.
Auto accept only bids of the exact offer amount.
Retry sending lock B refund tx.
2021-01-31 14:26:32 +02:00
tecnovert
a27cfcba0f tests: Reduce test amounts. 2021-01-31 10:15:37 +02:00
tecnovert
f934b2d8f2 Update Bitcoin and Particl cores to 0.21
wallet.dat is no longer loaded by default.
2021-01-16 23:01:23 +02:00
tecnovert
60b477e3c0 Increase version, add test for bids sent while recipient is offline. 2021-01-11 23:48:46 +02:00
tecnovert
a3ba5cf7e6 setup.py test -> pytest / tox 2021-01-10 20:30:07 +02:00
tecnovert
b36b6fb306 Test random amounts. 2021-01-03 00:59:21 +02:00
tecnovert
2f47fd0d5c Add fee priority setting for XMR. 2020-12-22 13:21:25 +02:00
tecnovert
5cd8286aa3 Start on network. 2020-12-15 20:00:44 +02:00
tecnovert
325a846f47 Split test update thread. 2020-12-13 17:11:18 +02:00
tecnovert
269d10aeda Ensure Particl mnemonic is loaded at startup. 2020-12-13 15:43:46 +02:00
tecnovert
645571e47c Check for duplicate pubkeys.
Add test for 'non-BIP68-final'.
2020-12-10 12:07:26 +02:00
tecnovert
2346858145 Call setLastHeightChecked() in watchXmrSwap()
Remove old notes and config.
New html template for XMR bids.
Check the mempool for lock spend txid.
Retry sepnding coin B lock tx.
2020-12-06 19:34:56 +02:00
tecnovert
4c200fe8d4 XMR withdrawals work.
spendBLockTx uses sweep_all.
2020-12-05 13:22:22 +02:00
tecnovert
28d5848f3a Reload xmr swaps in-progress. 2020-12-04 23:30:20 +02:00
tecnovert
5a163e0f86 basicswap-prepare tries to initialise coin wallets from Particl mnemonic
Bitcoin 0.20: 'Cannot set a new HD seed while still in Initial Block Download.' Removed in 0.21
2020-12-04 01:46:01 +02:00
tecnovert
8c9105ce01 Raise versions, add release notes.
Add event log table.
Offers can be revoked.
Added separate range for retry delays.
2020-12-02 13:24:52 +02:00
tecnovert
0823e79e4d Prepare script extracts monero binaries. 2020-11-30 19:13:33 +02:00
tecnovert
7f4be161d7 Lint fixes and multiple bids test. 2020-11-30 19:13:25 +02:00
tecnovert
4913ac7a2b Watch for spends to function without txindex.
BTC -> XMR works.
2020-11-30 01:05:30 +02:00
tecnovert
9b4a0dd276 Replaced watched_outputs tuple with class. 2020-11-29 15:51:04 +02:00
tecnovert
2d4131d4ee XMR amounts in http interface. 2020-11-29 01:04:26 +02:00
tecnovert
327394e81b Move js functions to new file. 2020-11-28 00:20:35 +02:00
tecnovert
bc60527940 PART -> XMR tests pass. 2020-11-27 19:52:26 +02:00
tecnovert
0e2011e085 XMR successful swap works. 2020-11-21 15:16:27 +02:00
tecnovert
18a5322f10 MSG3L
Debug mode is disabled by default.
2020-11-15 19:02:46 +02:00
tecnovert
009729aa96 Send MSG2F 2020-11-15 00:13:11 +02:00
tecnovert
acae8b4de3 Fix contract_count not inserted in db 2020-11-07 13:08:07 +02:00