tecnovert
b5a4df9908
tests: Fix network test.
2023-03-18 19:45:18 +02:00
tecnovert
97506850c4
Timeout bids stuck as accepted.
2023-03-09 00:53:54 +02:00
tecnovert
0a2133f43f
tests: Test script template enabled flags.
2023-02-21 11:02:40 +02:00
tecnovert
06065958b7
ui: Fix xmr svg path, edit offer automation strategy.
2023-02-21 00:08:18 +02:00
tecnovert
09cc523ac3
Added restrict_unknown_seed_wallets setting.
2023-02-19 21:52:22 +02:00
tecnovert
577849f01c
api: Start automationstrategies
2023-02-19 16:31:11 +02:00
tecnovert
b6046fdbf3
api: getcoinseed shows seed id
2023-02-18 01:47:44 +02:00
tecnovert
2922b171a6
Load in-progress bids only when unlocked.
2023-02-16 22:57:55 +02:00
tecnovert
3234e3fba3
api: Add ability to abandon bids.
2023-02-16 12:37:16 +02:00
tecnovert
ac16fc07a4
Add automation override option.
2023-02-16 10:38:38 +02:00
tecnovert
dc0bd147b8
tests: Add script test
2023-02-14 23:35:11 +02:00
tecnovert
9117e2b723
Fix XMR withdrawals
2023-02-09 23:21:52 +02:00
tecnovert
c9e04332fc
tests: Update test_wallet_restore
2023-01-15 10:56:12 +02:00
tecnovert
ef71ca7ef4
scripts: Start example offer script.
2023-01-09 01:26:59 +02:00
tecnovert
c4321b7740
Add PARTct to coin code.
2022-12-20 22:19:01 +02:00
tecnovert
3f71dffe5a
Fix Dash checkseed.
2022-12-12 01:30:33 +02:00
tecnovert
2a9e423eaa
Handle lost noscript lock transaction.
2022-12-11 20:31:43 +02:00
tecnovert
6860279faa
tests: Add prefunded itx and xmr protocol tests
2022-12-11 01:26:42 +02:00
tecnovert
7101a5d1ee
ui: Switch offers offer/bid amounts when sent.
2022-12-08 16:02:53 +02:00
tecnovert
ef51719e62
tests: Fix test_xmr_persistent
2022-12-08 14:38:40 +02:00
tecnovert
0e1cb6d03d
Support xmr-protocol swaps to BTC and PART
2022-12-08 03:42:59 +02:00
tecnovert
7d43512845
xmr: Add prefunded itx.
2022-12-08 03:33:14 +02:00
tecnovert
c90fa6f2c6
system: Allow preselecting inputs for atomic swaps.
2022-12-05 17:04:23 +02:00
tecnovert
a250daca8b
xmr: Ensure incoming transfers are unlocked.
2022-12-02 13:58:26 +02:00
tecnovert
2a35148a4b
xmr: Support daemon rpc login details.
2022-11-28 19:54:41 +02:00
tecnovert
b5b43a8bf3
tests: Fix test_reload for Particl v23
2022-11-21 15:54:22 +02:00
tecnovert
7bc411eb98
tests: Call reservebalance to trigger WakeThreadStakeMiner
...
Node 0 needs a short advantage to stake the first few blocks to avoid prevout-not-found errors.
2022-11-21 13:04:11 +02:00
tecnovert
c5f31f0d1e
ui: Add wallet encryption templates.
...
tests: Test wallet encryption.
2022-11-18 00:58:14 +02:00
tecnovert
b43d58afbf
api: Add wallet/createutxo
2022-11-15 23:50:36 +02:00
tecnovert
5d4db2c1df
ui: Fix shutdown link.
2022-11-14 22:56:30 +02:00
tecnovert
8022ada01f
Fix xmr self bid.
2022-11-14 21:49:06 +02:00
tecnovert
d08e85e73e
tests: Wait for height before starting
2022-11-14 15:01:48 +02:00
tecnovert
54e434e1c9
ui: Connect new settings.
2022-11-13 23:18:33 +02:00
tecnovert
bbe7556d18
Disable v23 descriptor wallets.
...
Missing sethdseed, signmessage doesn't work and dumprivkey is missing (preventing a workaround).
2022-11-12 22:17:49 +02:00
tecnovert
fc31615a97
api: Add wallet lock/unlock commands and getcoinseed.
2022-11-12 18:22:23 +02:00
tecnovert
601d469801
test: Fix test class inheritance
2022-11-10 23:41:59 +02:00
tecnovert
c440f9e3a3
coins: Fix Firo seedid
2022-11-08 16:43:44 +02:00
tecnovert
ca264db0d0
Add non-segwit Firo support.
...
Rework tests to combine atomic and xmr test cases.
Modify btc interface to support P2WSH_nested_in_BIP16_P2SH
Add coin feature tests to test_btc_xmr.py
2022-11-08 13:14:03 +02:00
tecnovert
515e6655e8
Disable HttpServer log messages.
2022-10-26 18:15:09 +02:00
tecnovert
f210024e93
coins: Decode pivx v3 transactions correctly.
2022-10-26 17:47:30 +02:00
tecnovert
18974d9458
test: Fix RESET_TEST=false
2022-10-25 21:51:54 +02:00
tecnovert
aa14da27af
dash: Fix initialiseWallet
...
Only the upgradetohd command sets the hdseed
upgradetohd can only run once the chain is synced
Basicswap stores the hash of the root_key in it's db to check for the expected seed.
Prefer not to store the real key.
2022-10-21 18:39:19 +02:00
tecnovert
4866ff4db8
dash: Add tests.
2022-10-21 00:37:45 +02:00
tecnovert
b0f6865c90
tests: Add pivx withdrawal test.
2022-10-12 19:19:23 +02:00
tecnovert
46d1856f71
ui: Render 404 for unknown pages.
...
Wait for wallet update to complete, to handle corner case where user opens wallet page before refreshing.
Withdraw txn in selenium test.
2022-09-23 22:07:41 +02:00
tecnovert
146698425d
tests: Fix test_xmr_persistent
...
basicswap_prepare env vars are initialised when importing downloadPIVXParams
Fixed by reloading module
2022-09-10 13:47:48 +02:00
tecnovert
d74699992b
coins: Add PIVX
...
No CSV or segwit.
sethdseed requires a fully synced chain, manual intervention required to set a key derived from the master mnemonic.
Requires a pivxd version with a backported scantxoutset command.
2022-09-01 12:37:18 +02:00
tecnovert
e4e35b0d89
preparescript: Fix addcoin
2022-08-18 00:23:51 +02:00
tecnovert
48e5dcbcc9
refactor: Add createRawSignedTransaction to interface
2022-08-16 20:53:58 +02:00
tecnovert
b179667cc5
ui: Fix missing coin from data.
2022-08-10 23:58:53 +02:00
tecnovert
20c0c372d0
refactor: Move all coin interfaces to a dir
2022-08-09 00:10:37 +02:00
tecnovert
80f0098a3d
ui: Rates table example
2022-08-04 11:47:27 +02:00
tecnovert
412770d399
ui: rateslist returns js list of rates.
2022-08-03 23:59:57 +02:00
tecnovert
1c4f208d27
refactor: E275 missing whitespace after keyword
2022-07-31 20:09:43 +02:00
tecnovert
7a3b41a11b
ui: Fix js value updates when sending bid.
2022-07-29 00:47:32 +02:00
tecnovert
871bdb918e
ui: Update to bittrex v3 api.
2022-07-28 17:01:11 +02:00
tecnovert
2f1a9cbfae
tests: Fix tests
2022-07-26 23:23:49 +02:00
tecnovert
cd5af7032f
ui: Use coin tickers as wallet keys in json/wallets
2022-07-25 23:10:58 +02:00
tecnovert
18a444b071
ui: Add json endpoint to list all coin types.
2022-07-25 12:55:55 +02:00
tecnovert
8b09607083
tests: Prevent out of sequence refund in test_13_itx_refund
2022-07-21 00:27:22 +02:00
tecnovert
fa74b9982c
tests: Add xmr swap failure states to tests.
2022-07-20 00:24:14 +02:00
tecnovert
2c49d13aa0
tests: Add non xmr swap failure states to tests.
2022-07-18 22:57:16 +02:00
tecnovert
3ad87df844
tests: Add swap to wallet restore test.
2022-07-17 22:34:39 +02:00
tecnovert
ede01d3fc8
tests: Start wallet restore test.
...
Fix LTC pidfile in config.
Update LTC onion port for core version 21.
2022-07-15 17:04:24 +02:00
tecnovert
a2830afc06
tests: Deduplicate setup code.
2022-07-13 23:28:38 +02:00
tecnovert
585bef6076
tests: return mnemonic from prepare script.
2022-07-08 18:41:01 +02:00
tecnovert
0580f9ebac
tests: Fix NMC tests.
2022-07-04 22:29:49 +02:00
tecnovert
02bd90053a
refactor: Use read_json_api in more tests.
2022-07-04 00:47:30 +02:00
tecnovert
0c620ea388
doc, tests: Test sequence diagrams are accurate.
...
Add delay between detecting PTX and redeeming ITX.
Add bid state history to json api.
Hide Tx none states in bid state history.
2022-07-03 23:58:16 +02:00
tecnovert
a2afd3f00f
refactor: Separate MSG4F and lock txn sending
2022-07-01 16:37:10 +02:00
tecnovert
b64437db84
coins: Raise Litecoin version to 0.21.2
2022-06-16 15:58:59 +02:00
tecnovert
844db9c541
coins: Raise Monero version to 0.17.3.2
2022-06-16 14:45:56 +02:00
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
08c10bc69e
Raise Particl version to 0.21.2.9
2022-05-23 23:51:48 +02:00
tecnovert
8daa76f937
refactor: Add automation tables.
2022-05-23 23:51:06 +02:00
tecnovert
f4649d34b2
Raise Particl version to 0.21.2.8
2022-04-13 20:59:41 +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
cf797afae9
Raise Particl version to 0.21.2.7
2022-03-02 17:03:00 +02:00
tecnovert
843379325f
tests: Add use_segwit to required settings.
2022-02-05 01:16:04 +02:00
tecnovert
d6f6a73324
tests: Allow passing extra config to Particl nodes.
2022-02-01 21:05:34 +02:00
tecnovert
0fbdd32908
coins: Raise Monero version to 0.17.3.0
2022-01-23 14:12:27 +02:00
tecnovert
f90a96d9ca
ui: Split wallet page
2022-01-23 14:01:01 +02:00
tecnovert
1c09a8b79e
coins: Raise Particl version
2022-01-13 11:09:25 +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
053c263751
ui: Add option to set debug tweak option from bid page.
2021-12-15 16:14:23 +02:00
tecnovert
6590481b9f
coins: Raise Particl version
2021-12-10 09:55:48 +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
8a9f4f9e38
ui: Add rate lookup helper when creating offers.
2021-11-21 22:59:39 +02:00
tecnovert
f9f26c92c2
coins: Raise Particl Version
2021-11-01 16:47:32 +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
d392193d7e
Raise Particl and Monero versions.
2021-09-04 18:54:48 +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
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
3e858888ac
tests: Start selenium test.
2021-02-16 02:12:35 +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
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
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
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
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
64caceebfe
Persistent test.
2021-01-16 21:29:54 +02:00
tecnovert
3cfc7d1437
Split tests.
2021-01-12 00:15:06 +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
bce20d1e59
Update monero core to 0.17.1.9
2021-01-09 15:03:29 +02:00
tecnovert
088e1f4411
Prepare only Particl core by default.
2021-01-05 20:11:13 +02:00
tecnovert
b36b6fb306
Test random amounts.
2021-01-03 00:59:21 +02:00
tecnovert
13f2ffa9ec
Update XMR version.
2020-12-31 10:06:37 +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
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
9a182646f0
Add display for xmr bid tx hex.
2020-12-12 14:45:30 +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
645571e47c
Check for duplicate pubkeys.
...
Add test for 'non-BIP68-final'.
2020-12-10 12:07:26 +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
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