Commit Graph

151 Commits

Author SHA1 Message Date
tecnovert
82e2b128c9
Log events when xmr refund and refund spend txns are seen. 2021-12-16 14:26:59 +02:00
tecnovert
4a7eff0118
Log traceback to file in debug mode. 2021-12-16 10:44:10 +02:00
tecnovert
053c263751
ui: Add option to set debug tweak option from bid page. 2021-12-15 16:14:23 +02:00
tecnovert
81e9924654
ui: New offer, when 'Lock Rate' is set rate must update if it's empty.
Remove invalid coins from coin from list.
2021-12-11 22:14:49 +02:00
tecnovert
4b7b16145f
ui: Identity labels 2021-12-06 01:06:34 +02:00
tecnovert
1e01851152
ui: Display XMR subaddress on wallets page. 2021-12-04 12:44:27 +02:00
tecnovert
58e4b506fe
ui: Add debug ind option. 2021-11-27 01:02:51 +02:00
tecnovert
f459a6295e
ui: Add pagination to the bids page. 2021-11-25 15:01:47 +02:00
tecnovert
dd7440b897
Create CachedMainWalletAddress if missing. 2021-11-24 23:54:31 +02:00
tecnovert
4d3b842ea8
ui: Connected XMR wallet to rpc page. 2021-11-24 18:28:15 +02:00
tecnovert
99534756de
Variable bid amount and rate. 2021-11-22 22:24:48 +02:00
tecnovert
8a9f4f9e38
ui: Add rate lookup helper when creating offers. 2021-11-21 22:59:39 +02:00
tecnovert
20c59663c1
Count failed and successful bids by peer address. 2021-11-15 01:26:43 +02:00
tecnovert
b152150932
ui, xmr: List of candidate remote XMR daemon urls can be set through the http ui 2021-11-13 23:15:09 +02:00
tecnovert
b8fd4ad85b
ui: Enable Particl CT and RCT to XMR swaps. 2021-11-02 16:36:07 +02:00
tecnovert
6e82961da9
particl: Can swap PARTct -> XMR 2021-11-01 15:52:40 +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
1b2ec61816
Fix withdrawal error. 2021-07-28 13:51:17 +02:00
tecnovert
6516c6d138
client: Hide offers where coins are not enabled.
Better rate calculation.
2021-02-15 23:49:18 +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
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
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
7a9cafb520
api: Handle json content-type. 2021-01-28 01:55: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
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
69ed836496
Clear event queue when abandoning a bid. 2021-01-09 00:12:08 +02:00
tecnovert
05c9d9c66d
Fix floating point bug. 2021-01-02 23:04:29 +02:00
tecnovert
1ba2ad6f0b
Add favicon and css, inc version. 2021-01-02 18:16:44 +02:00
tecnovert
0c9429bfa5
Display xmr-swap script coin lock spend tx fees. 2021-01-02 16:59:34 +02:00
tecnovert
2f47fd0d5c
Add fee priority setting for XMR. 2020-12-22 13:21:25 +02:00
tecnovert
31bf80f579
Fix fee_src error. 2020-12-18 23:04:06 +02:00
tecnovert
c348621c96
gui: Add another step to creating an offer. 2020-12-17 15:52:39 +02:00
tecnovert
b3c00efe16 gui: Added confirm step and fee options.
Fee options only apply to the script coin side of xmr swaps.
2020-12-16 23:19:39 +02:00
tecnovert
9a182646f0
Add display for xmr bid tx hex. 2020-12-12 14:45:30 +02:00
tecnovert
7bb2cd7d1e
Reseed wallet option. 2020-12-11 12:41:15 +02:00
tecnovert
49705f0974
Use libsecp256k1 to sign.
Added 'Revoke' button to sent offers page.
2020-12-11 09:11:35 +02:00
tecnovert
3c4c2c528f
Dynamic fee selection.
Display xmr offer fees.
Display bid events.
html create offer uses correct coin amount scales.
2020-12-08 20:23:00 +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
e7afd5e67d
Display warning when wallet seedid doesn't match expected. 2020-12-04 19:06:50 +02:00
tecnovert
7f4be161d7 Lint fixes and multiple bids test. 2020-11-30 19:13:25 +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
5d84d54e6f
Replace makeInt with make_int 2020-10-31 22:44:52 +02:00
tecnovert
4636d31ea9
LICENSE.txt -> LICENSE 2020-10-30 10:57:26 +02:00
tecnovert
6341b5537e
test: test_reload functions. 2019-10-02 22:38:24 +02:00
tecnovert
cf3ac816d0
Reload test transmits an offer and bid. 2019-09-30 22:21:25 +02:00
tecnovert
b5216e1d96
Raise core version, more prepare options. 2019-08-15 21:14:28 +02:00
tecnovert
3e542e6bd0
Adding settings page. 2019-08-06 00:04:40 +02:00
tecnovert
4405a130f5
Started stutdown and explorer pages.
Bid state can be manually edited.
2019-08-05 20:31:02 +02:00
tecnovert
321ec4acb2
New particl core version.
Display core versions on the wallets page.
2019-08-04 15:22:25 +02:00
tecnovert
da9f95fd61
html: More offer filtering. 2019-08-01 18:21:23 +02:00
tecnovert
d6341eceb7
Validate string amount decimal places. 2019-07-31 20:49:45 +02:00
tecnovert
9a0f237019
Remember coin on rpc page and check chains are synced to send offers and
bids.
2019-07-31 20:21:41 +02:00
tecnovert
4f83da0f26
Show unconfirmed coin on wallets page, disable staking for particl. 2019-07-31 14:25:54 +02:00
tecnovert
1baf13c5a8
Add clear filters button, display tx statuses on active page. 2019-07-31 10:41:35 +02:00
tecnovert
ef77a9e012
Fix wallet headings, loading existing smsges and amount compare precision. 2019-07-30 23:06:33 +02:00
tecnovert
9b95c66605
Offers can be filtered. 2019-07-29 12:14:46 +02:00
tecnovert
4bc0ec98eb
Fix tx state display in lists.
selectable address for send_from.
2019-07-28 21:57:20 +02:00
tecnovert
3c5577c3e1
Small fixes. 2019-07-27 23:34:15 +02:00
tecnovert
cf73707643
started rpc page. 2019-07-27 23:14:28 +02:00
tecnovert
7ccf191192
Refactor participate_tx 2019-07-27 21:50:50 +02:00
tecnovert
4a07c891f6
Refactor initiate_tx. 2019-07-27 20:51:50 +02:00
tecnovert
d5d60eabc5
Start reload test 2019-07-27 19:26:06 +02:00
tecnovert
551381f076
html: wallets template. 2019-07-26 22:33:07 +02:00
tecnovert
27929d41ec
html: offer page templates. 2019-07-26 22:15:53 +02:00
tecnovert
4baa476d5d
html: template for bid page. 2019-07-26 18:07:32 +02:00
tecnovert
7a8c0ed9f2
html: templates for bids and offers pages. 2019-07-26 15:26:20 +02:00
tecnovert
900358e7c3
Use PackageLoader for templates. 2019-07-26 12:36:44 +02:00
tecnovert
1ce87bb58d
Add travis build status to readme.
Move templates dir.
Add version to index.
Remove bitcoin config from docker json config - extra coins can be enabled with
prepare -addcoin.
2019-07-26 12:07:25 +02:00
tecnovert
267ff02d3f
Don't timeout if initiate tx is known. 2019-07-26 00:35:02 +02:00
tecnovert
41ad7201e9
html: template for active swaps. 2019-07-25 23:30:27 +02:00
tecnovert
8623d291f1
html: Template for watched outputs page. 2019-07-25 23:15:35 +02:00
tecnovert
b920f926c1
html: Start migrating to Jinja2. 2019-07-25 22:26:06 +02:00
tecnovert
95729275b6
html: display estimated contract fee on the wallets page.. 2019-07-25 20:09:46 +02:00
tecnovert
a5de9dbee4
html: Add created_at to orders and bids lists 2019-07-25 16:45:58 +02:00
tecnovert
bd93899066
Add preparebinonly option to basicswap-prepare,
Download, verify and extract coin cores only.
2019-07-25 14:06:58 +02:00
tecnovert
aedfe796b8
Fix CLTV mode. 2019-07-25 11:29:48 +02:00
tecnovert
c51e28103e
getWalletsInfo reports errors per wallet. 2019-07-24 02:07:54 +02:00
tecnovert
683c6e6661
Add bid error state. 2019-07-24 00:33:27 +02:00
tecnovert
d155774dbc
Added an rudimentary address pool. 2019-07-23 19:19:31 +02:00
tecnovert
b02ddb3bec
Load watched outputs from db. 2019-07-23 17:08:12 +02:00
tecnovert
589e4ca1d6
html: variable contract locktime. 2019-07-21 22:10:21 +02:00
tecnovert
c9954bef1a
Add subfee option to wallets page. 2019-07-21 21:39:44 +02:00
tecnovert
76af4a941e
Add txn 1st seen height to bid.
Format balance amount.
Start prepare script.
2019-07-21 18:26:56 +02:00
tecnovert
7c57dff1a9
Set last chain height for itx.
Raise timeout to 20m.
display ticker by txids in bid page.
2019-07-20 19:29:48 +02:00