Commit Graph

151 Commits

Author SHA1 Message Date
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
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
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
c48f35a12e
Added contrib dir. 2020-09-11 18:50:25 +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
e3b2213fe1
Replace deprecated urllib.parse.splittype and splithost with urlparse. 2020-02-11 00:33:29 +02:00
tecnovert
adbb0268ff
Split rpc functions into new file. 2020-02-02 01:18:29 +02:00
tecnovert
0a2c6dafb7
Move some default values to config.py 2020-02-01 20:57:20 +02:00
tecnovert
388ada154e
Raise bitcoin version. 2019-11-29 00:45:10 +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
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
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
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
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