Commit Graph
100 Commits
Author SHA1 Message Date
tecnovert 484d811fe7 docker: Add script container fragment.
Example:
python3 ./scripts/build_yml_files.py -c bitcoin monero dash pivx --withscript
2023-03-09 15:38:45 +02:00
tecnovert ea8cc70696 Ensure messages are always sent from and to the expected addresses. 2023-03-09 01:30:46 +02:00
tecnovert 97506850c4 Timeout bids stuck as accepted. 2023-03-09 00:53:54 +02:00
tecnovert 724e7f0ffc Avoid monkeypatching PySocks 2023-02-26 22:42:44 +02:00
tecnovert f33629f2a5 Add getTime function. 2023-02-26 22:27:38 +02:00
tecnovert d8de9a6aa7 scripts: Set more default configuration values 2023-02-22 15:59:21 +02:00
tecnovert 114e8e4d2b scripts: Remove save state delay. 2023-02-21 12:39:45 +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 5b0c1e9b51 ui: Fix pagination clearing filters 2023-02-19 17:24:08 +02:00
tecnovert 577849f01c api: Start automationstrategies 2023-02-19 16:31:11 +02:00
tecnovert 6ccfd93997 ui: Hide undefined data on identity page. 2023-02-18 19:50:31 +02:00
tecnovert b6046fdbf3 api: getcoinseed shows seed id 2023-02-18 01:47:44 +02:00
tecnovert c2d6cdafdd ui: Don't show bids on expired offers as available. 2023-02-18 00:07:27 +02:00
tecnovert c322c9ae0c Add total_bids_value_multiplier to automation strategies.
order value is the max value of a bid that can be accepted.
order value * total_bids_value_multiplier is the max sum of all bids that can be accepted.
2023-02-17 22:51:49 +02:00
tecnovert c13606ab54 Improve log output for unprocessed revoke messages.
issue #24
It's normal for a node to receive revoke messages for offers it does not have.
A node will ignore offers for coins that are active.
2023-02-17 00:09:16 +02:00
tecnovert c5bd58afc2 ui: Improve rpc page. 2023-02-16 23:44:07 +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 3241616d68 docker: Add build args for repo. 2023-02-15 11:33:18 +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 a2fa2ff9de doc: Update help text. 2023-01-11 23:06:05 +02:00
tecnovert 1a136cd219 Fix offer creation. 2023-01-11 11:15:18 +02:00
tecnovert 553af1a3e8 api: Add include_sent offers filter. 2023-01-11 10:35:14 +02:00
tecnovert 9729dcf526 coins: Add PIVX 5.5.0 release. 2023-01-11 10:22:22 +02:00
tecnovert ef71ca7ef4 scripts: Start example offer script. 2023-01-09 01:26:59 +02:00
tecnovert 149616a59f preparescript: Download pgp pubkey before checking btc fastsync sig 2023-01-04 13:45:16 +02:00
tecnovert 9677c48f39 docker: Add helper script to build docker config from fragments.
Set PIVX_PARAMSDIR automatically when usecontainers is set.
Fix PIVX wallet encryption when added.
2023-01-03 20:04:46 +02:00
tecnovert ac10c9db76 doc: Add missing --usecontainers to docker notes. 2022-12-27 20:35:42 +02:00
tecnovert c4321b7740 Add PARTct to coin code. 2022-12-20 22:19:01 +02:00
tecnovert 2a3d89b112 ui: Add swap type. 2022-12-18 16:45:07 +02:00
tecnovert fb5e8ff8b1 guix: Update packed version. 2022-12-15 11:30:02 +02:00
tecnovert ac07727da7 guix: Add SSL_CERT_DIR 2022-12-15 10:55:20 +02:00
tecnovert 80a78b4070 preparescript: Download BTC utxo snapshot first, allow resume. 2022-12-14 00:20:53 +02:00
tecnovert 5ce178e673 Fix checkWalletSeed 2022-12-13 07:56:46 +02:00
tecnovert ef6653a8db coins: Encrypt wallets before importing seeds, allow BTC to start without wallet.
Create BTC wallet on unlock if missing.
2022-12-13 00:12:28 +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 80df3b1a34 preparescript: Remove particl_mnemonic=auto option 2022-12-09 19:40:43 +02:00
tecnovert 31aaacf4e1 ui: Fix prepopulated new offer coin from after error 2022-12-08 16:22:34 +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 1d0a3fbc12 preparescript: Fix intermittent addcoin issue. 2022-12-08 03:35:04 +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 23e89882a4 doc: Add windows install notes. 2022-12-03 01:07:41 +02:00
tecnovert a250daca8b xmr: Ensure incoming transfers are unlocked. 2022-12-02 13:58:26 +02:00
tecnovert 789cd0f6ab system: Reload cached swaps on session errors 2022-12-01 20:51:06 +02:00
tecnovert 2a35148a4b xmr: Support daemon rpc login details. 2022-11-28 19:54:41 +02:00
tecnovert 9370eff4a6 ui: Add warning to unlock page. 2022-11-22 10:28:02 +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 47c1237f6d guix: pack. 2022-11-20 22:22:10 +02:00
tecnovert d15cf3dd6f guix: Add guix.scm 2022-11-20 20:58:10 +02:00
tecnovert ba5339d8bd ui: Add sent offer status filter. 2022-11-18 23:34:57 +02:00
tecnovert 6e5c54b447 ui: Send locked status to templates. 2022-11-18 23:31:52 +02:00
tecnovert c5f31f0d1e ui: Add wallet encryption templates.
tests: Test wallet encryption.
2022-11-18 00:58:14 +02:00
tecnovert 0f7df9e5f1 preparescript: Add WALLET_ENCRYPTION_PWD env var.
Removed unnecessary START_DAEMONS env var.
Remove all cached addresses from the basicswap db for a wallet after reseeding.
Check that addresses retreived from the db are owned by teh wallet before they're used/displayed
2022-11-17 00:36:13 +02:00
tecnovert cb6e773848 ui: Invert get/send when offer sent. 2022-11-16 17:47:02 +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 8ec6d55963 Fix decodeAddress without bech32 hrp 2022-11-14 13:54: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 093a36c8d2 coins: Update Bitcoin, Monero and Particl versions. 2022-11-12 18:22:44 +02:00
tecnovert fc31615a97 api: Add wallet lock/unlock commands and getcoinseed. 2022-11-12 18:22:23 +02:00
tecnovert d78ff8573c preparescript: Make coin names case insensitive. 2022-11-11 00:49:08 +02:00
tecnovert 09394c58a6 Fix Firo osx release name. 2022-11-11 00:18:15 +02:00
tecnovert eb8aa18224 Merge branch 'firo' into GUI 2022-11-10 23:51:36 +02:00
tecnovert 601d469801 test: Fix test class inheritance 2022-11-10 23:41:59 +02:00
tecnovert f65ae07cf9 docker: Add PIVX, Dash and Firo to isolated config
Changed pivx-params location to PIVX datadir.

Still need a way to set the Firo wallet seed.
2022-11-09 19:10:17 +02:00
tecnovert ae2ddc4049 Log events for all sent transactions. 2022-11-08 23:07:58 +02:00
tecnovert 8b2d2b446b api: Add show_extra parameter to bids endpoint
Add itx_refund_tx_est_final and ptx_refund_tx_est_final to bid extra data
2022-11-08 22:30:28 +02:00
tecnovert 5a73fab045 coins: Add temporary firo release. 2022-11-08 16:48:25 +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 c0c2c8b9bb ui: Combine viewkeys sections. 2022-10-26 21:13:29 +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 45d6b9ecbf ui: Show red clock for revoked offers. 2022-10-25 23:41:51 +02:00
tecnovert 50ed1bfccf For CLTV coins check the lock value relative to the current time rather than the bid creation time. 2022-10-25 23:28:02 +02:00
tecnovert 18974d9458 test: Fix RESET_TEST=false 2022-10-25 21:51:54 +02:00
tecnovert 9da907aa1e ui: Add expired flag to offers. 2022-10-24 21:34:12 +02:00
tecnovert 59fb6c18ed coins: Rename Pivx -> PIVX 2022-10-24 20:49:36 +02:00
tecnovert e46fd193fe ui: Restore xmr bid sequence diagrams. 2022-10-23 16:07:32 +02:00
tecnovert 9557da8714 ui: Add spaces in coin names. 2022-10-23 10:54:02 +02:00
tecnovert a9f3eeefff ui: Fix notifications. 2022-10-21 21:05:46 +02:00
tecnovert 3c2eb5f9f8 ui: Format notification timestamps. 2022-10-21 20:51:50 +02:00
tecnovert 5701f6e830 Freeze SQLAlchemy version. 2022-10-21 19:00:13 +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 7298867e18 dash: Add to prepare script. 2022-10-20 22:23:25 +02:00