Commit Graph

1070 Commits

Author SHA1 Message Date
tecnovert
1ef71ea79b particl: Can swap anon outputs 2021-10-23 16:00:32 +02:00
tecnovert
6dd6063182 refactor: Replace asserts. 2021-10-22 00:47:04 +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
4ce8c58872 ui: Reseed wallet must trigger update 2021-10-18 22:28:42 +02:00
tecnovert
bf00f80b4d ui: Start describing xmr bid states. 2021-10-18 20:48:48 +02:00
tecnovert
062283c31a ui: Improved wallets page. 2021-10-15 01:13:48 +02:00
tecnovert
4475e5b643 Add View Lock Wallet Transfers button to bid page. 2021-09-05 18:10:42 +02:00
tecnovert
e69409514c tests: Fix intermittent failure 2021-09-05 01:18:34 +02:00
tecnovert
2562aec4bd ui: Display shared address for XMR swaps. 2021-09-05 00:15:25 +02:00
tecnovert
146c9b784c Change connection errors to warnings. 2021-09-02 22:42:26 +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
2be16465fb preparescript: Support production docker config. 2021-06-30 16:37:21 +02:00
tecnovert
398ef268a6 Raise Bitcoin, Particl and Monero versions. 2021-06-25 23:02:54 +02:00
tecnovert
bbd3d701c0 preparescript: Fix UI_HTML_PORT bug.
Warn on os.chmod failure, workaround for mounted ntfs volumes.

client: Set delay_event in stopRunning()
Raise version
2021-02-16 23:41:07 +02:00
tecnovert
a5dcd9f77d refactor: Move getTicker() to coin interface. 2021-02-16 01:20:24 +02:00
tecnovert
6516c6d138 client: Hide offers where coins are not enabled.
Better rate calculation.
2021-02-15 23:49:18 +02:00
tecnovert
b6ece37a8d Raise version.
Explicitly set docker logging.
2021-02-15 16:40:16 +02:00
tecnovert
5beb1d17b9 ui: Expose bid valid for.
Set smsgsregtestadjust to false in tests.
Fix offer smsg valid for.
Set active_ind on bid records.
api: All times returned should be in unix-time.
2021-02-15 15:34:47 +02:00
tecnovert
1953820cd1 client: Bug fix, coin_name() is capitalised. 2021-02-14 16:53:44 +02:00
tecnovert
d6a1ff6030 docker: Set timezone in TZ env var. 2021-02-14 15:06:46 +02:00
tecnovert
3217918f7c coins: Fix getoutput for v18 cores. 2021-02-14 14:19:30 +02:00
tecnovert
e3033799b0 ui: Enable/disable coins through settimgs page. 2021-02-14 12:12:41 +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
b1ea76dcb6 ui: Expose Particl blinded and anon balances. 2021-02-07 00:35:12 +02:00
tecnovert
e14dca47e0 tests: sqlalchemy hangs when tests run with tox. 2021-02-05 12:02:12 +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
5a0263ba5e tests: Fix persistent test xmr chain. 2021-01-30 18:24:20 +02:00
tecnovert
df732713ac tests: Use debug_ind in non-xmr swaps. 2021-01-30 16:29:07 +02:00
tecnovert
2e0edef9da Raise max signature size for fee estimate.
Fix logging.
Valid sequence lock range settings.
Bid debugind can be set through api.
2021-01-30 01:45:24 +02:00
tecnovert
4ea4e0656a api: Allow coin type to be specified by ticker. 2021-01-28 15:50:26 +02:00
tecnovert
9b4a256b44 protocol: Link proof-of-funds signatures to offers. 2021-01-28 14:38:28 +02:00
tecnovert
7a9cafb520 api: Handle json content-type. 2021-01-28 01:55:42 +02:00
tecnovert
7d0d0687cf api: Fix offers path. 2021-01-26 21:25:33 +02:00
tecnovert
c180f34f66 Sum keys in libsecp256k1 2021-01-24 17:53:41 +02:00
tecnovert
5e5bf31156 Don't describe state for xmr style swaps. 2021-01-20 01:28:29 +02:00
tecnovert
c3cff91fca Raise version. Verify message with coincurve. 2021-01-19 15:10:42 +02:00
tecnovert
d12e24cecb Fixed bid cancel btn sends bid.
Fixed inverted proof amounts.
Added conf_target to settings page.
Load new offer default conf_target from settings.
2021-01-19 01:08:13 +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
ed22fe7d12 Fix missing events, show seconds delayed. 2021-01-12 08:56:43 +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
da56a5e2c8 Unlock inputs when abandoning a bid. 2021-01-09 15:00:25 +02:00
tecnovert
69ed836496 Clear event queue when abandoning a bid. 2021-01-09 00:12:08 +02:00