tecnovert
55275a6470
ui: Display estimate of when lock refund tx will be swipeable.
2021-12-19 14:15:32 +02:00
tecnovert
a802788cfd
tests: Manual recovery of xmrswap chain B lock tx
2021-12-19 10:55:29 +02:00
tecnovert
f289bcf2e8
Use unique key_nos for getPathKey.
2021-12-19 08:59:35 +02:00
tecnovert
e502a00341
ui: Recover noscript txn if remote key is known.
2021-12-19 01:45:17 +02:00
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
d51de1f680
Add anon and blind Particl to validateSwapType
2021-12-10 09:50:36 +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
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
fa0600fca3
Use separate chain to generate smsg addresses.
2021-11-26 03:14:15 +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
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
fafcfa4731
ui: Display watched outputs once per coin.
2021-11-15 01:47:49 +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
eff5235205
xmr: Check for existing spend of lock tx
2021-11-12 17:55:23 +02:00
tecnovert
d2b05fd57e
coins: Add startup_tries setting
2021-11-10 13:06:48 +02:00
tecnovert
b8ea028d04
ui: Skip cached info if coin was disabled
2021-11-09 17:26:26 +02:00
tecnovert
0cf3f8e3b3
ui: Can display chain A lock tx inputs.
2021-11-06 00:34:25 +02:00
tecnovert
edddf9158a
refactor: Remove encodeSegwitP2WSH and getScriptAddress
2021-11-05 11:39:25 +02:00
tecnovert
1d932cdd01
protocol: Add protocol version to order and bid messages
...
Move chain start heights to bid, use avoid scantxoutset for decred style swaps
2021-11-04 23:49:52 +02:00
tecnovert
8259df4399
doc: Simplify Windows install notes.
2021-11-03 23:20:19 +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
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
146c9b784c
Change connection errors to warnings.
2021-09-02 22:42:26 +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
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
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
9b4a256b44
protocol: Link proof-of-funds signatures to offers.
2021-01-28 14:38:28 +02:00
tecnovert
7d0d0687cf
api: Fix offers path.
2021-01-26 21:25:33 +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
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
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
tecnovert
c5faaeccf8
Fix sort by rate.
2021-01-08 20:35:39 +02:00
tecnovert
05c9d9c66d
Fix floating point bug.
2021-01-02 23:04:29 +02:00
tecnovert
0ad3856460
Add timeouts to all requests.
2020-12-31 17:30:14 +02:00
tecnovert
d2ded157f8
Start isolated docker setup.
2020-12-27 21:39:10 +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
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
5cd8286aa3
Start on network.
2020-12-15 20:00:44 +02:00
tecnovert
269d10aeda
Ensure Particl mnemonic is loaded at startup.
2020-12-13 15:43:46 +02:00
tecnovert
9a182646f0
Add display for xmr bid tx hex.
2020-12-12 14:45:30 +02:00
tecnovert
cb27fb6c4c
Lower min locktime to 1 hour for easier testing.
...
Fix blocks confirmed count.
2020-12-11 14:08:32 +02:00
tecnovert
7bb2cd7d1e
Reseed wallet option.
2020-12-11 12:41:15 +02:00
tecnovert
e70477eb64
Use max length fifo queue as temporary solution for offer revoke requests.
2020-12-11 10:41:57 +02:00
tecnovert
49705f0974
Use libsecp256k1 to sign.
...
Added 'Revoke' button to sent offers page.
2020-12-11 09:11:35 +02:00
tecnovert
8c372cc5dc
Simplify lock tx script.
...
Raise version.
2020-12-11 00:43:36 +02:00
tecnovert
2979b3e244
Show coin a lock tx blocks confirmed.
2020-12-10 16:37:26 +02:00
tecnovert
645571e47c
Check for duplicate pubkeys.
...
Add test for 'non-BIP68-final'.
2020-12-10 12:07:26 +02:00
tecnovert
4bde19fe33
Record the coin b lock tx before it's confirmed.
2020-12-09 21:30:21 +02:00
tecnovert
ffc164bc34
Use normal Particl addresses.
...
Avoids needing LearnAllRelatedScripts.
2020-12-09 00:05:28 +02:00
tecnovert
f070c972bb
Automatically upgrade database.
2020-12-08 20:56:05 +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
669a465262
Pass XMR restore height through json settings.
2020-12-05 01:59:21 +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
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
dca9f08833
Update dockerfile.
2020-12-01 22:45:03 +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
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
eb6bd444c4
Lock unspents funding lock tx.
2020-11-15 23:31:59 +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
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
615b06cfa7
Fix lint and add fallback fee to bitcoin.conf.
2020-09-11 18:32:33 +02:00
tecnovert
7928625a7b
Raise core versions.
...
Litecoin .17 -> .18 pidfile name changed from litecoin.pid -> litecoind.pid
2020-09-11 16:49:01 +02:00
tecnovert
0a2c6dafb7
Move some default values to config.py
2020-02-01 20:57:20 +02:00
tecnovert
9953a934a5
Move more methods to Base class.
2019-11-18 23:41:48 +02:00
tecnovert
617006c67a
Fix tests.
2019-11-18 23:30:31 +02:00
tecnovert
b1f5be083c
Refactor OpCodes.
2019-11-18 22:53:33 +02:00
tecnovert
e390509946
Split main class.
2019-11-10 11:14:10 +02:00
tecnovert
c7c49ae262
Delayed events.
2019-11-09 23:09:22 +02:00
tecnovert
07429e6582
ci: Fix tests.
2019-10-04 22:13:09 +02:00
tecnovert
6341b5537e
test: test_reload functions.
2019-10-02 22:38:24 +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
8731c9796a
namecoin pidfile name and workaround for ci prepare.
2019-07-31 21:22:07 +02:00
tecnovert
545b5e6975
Workaround for bicoind.pid filename.
2019-07-31 21:09:05 +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
31766508b4
Workaround missing litecoin pid file on windows.
2019-07-31 18:54:43 +02:00
tecnovert
31ed5e7142
Ensure pid file is correct before reading authcookie.
2019-07-31 18:38:19 +02:00
tecnovert
8796433c11
Add chain name to db filename.
2019-07-31 14:56:51 +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
18ee89361a
Prepare windows releases.
2019-07-28 14:45:26 +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
980bd6fc07
Move db classes to new file.
...
Started splitting tx info out into new table.
2019-07-27 18:00:13 +02:00
tecnovert
be1dad40c1
Use conf_target, default 2.
2019-07-26 23:03:56 +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
8623d291f1
html: Template for watched outputs page.
2019-07-25 23:15:35 +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
307b8ab8bf
NMC and CLTV, abs lock values still to be verified
2019-07-25 01:14:01 +02:00
tecnovert
dd692fe5ef
Add namecoin chainparams.
2019-07-24 19:26:04 +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
e039d90bee
Fix testnet mode, expanduser on paths.
2019-07-23 16:26:37 +02:00
tecnovert
5bfcdd469b
Save last_height_checked to db.
2019-07-22 23:39:00 +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
f1efb0a317
Fix strange int compare bug.
2019-07-20 21:42:04 +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
tecnovert
24d4d14ff8
Save bid in checkBidState for any change.
2019-07-19 16:52:44 +02:00
tecnovert
a49be16f9c
Remove plyvel dependency.
...
I can't get it to run under docker in windows.
2019-07-18 19:53:23 +02:00
tecnovert
6c0d82abe6
test: Wait for rpc.
2019-07-17 18:50:07 +02:00
tecnovert
e242f50b2b
Add to Github
2019-07-17 18:07:37 +02:00