Commit Graph

503 Commits

Author SHA1 Message Date
Gerlof van Ek
d08e09061f AMM (#310)
* AMM

* LINT + Fixes

* Remove unused global variables.

* BLACK

* BLACK

* AMM - Various Fixes/Features/Bug Fixes.

* FLAKE

* FLAKE

* BLACK

* Small fix

* Fix

* Auto-start option AMM + Various fixes/bugs/styling.

* Updated createoffers.py

* BLACK

* AMM Styling

* Update bid_xmr template confirm model.

* Fixed bug with Create Default Configuration + Added confirm modal.

* Fix: Better redirect.

* Fixed adjust_rates_based_on_market + Removed debug / extra logging + Various fixes.

* GUI v3.2.2

* Fix sub-header your-offers count when created offers by AMM.

* Fix math.

* Added USD prices + Add offers/bids checkbox enabled always checked.

* Donation page.

* Updated header.html + Typo.

* Update on createoffer.py + BLACK

* AMM: html updates.

* AMM: Add all, minrate, and static options.

* AMM: Amount step default 0.001

* Fix global settings.

* Update createoffers.py

* Fixed bug with autostart when save global settings + Various layout fixes.

* Fixed bug with autostart with add/edit  + Added new option Orderbook (Auto-Accept)

* Fixed debug + New feature attempt bids first.

* Fix: Orderbook (Auto-Accept)

* Added bidding strategy:  Only bid on auto-accept offers (best rates from auto-accept only)

* Fix: with_extra_info

* Small fix automation_strat_id

* Various fixes.

* Final fixes
2025-06-08 17:43:01 +02:00
tecnovert
f6914d7c30 tests: Disable test_13_locked_xmr when xmr version >= 0.18.4. 2025-05-12 00:21:37 +02:00
tecnovert
80915d9865 Deduplicate getP2SHScriptForHash 2025-05-11 14:29:02 +02:00
tecnovert
7df2f1b290 Add check for minimum sqlite version. 2025-05-05 00:38:02 +02:00
tecnovert
934aab9d8a Allow starting with a subset of configured coins. 2025-04-16 20:20:43 +02:00
tecnovert
21c0a534f2 Timeout waiting for mutex on shutdown. 2025-04-16 20:20:43 +02:00
tecnovert
3e98f174cd Add workaround for btc seed changing after encrypting wallet.
Loses wallet history, rescanblockchain won't work on pruned chains.
2025-04-14 19:27:56 +02:00
tecnovert
232e72882b Merge pull request #296 from nahuhh/xmr_open
xmr: detect corrupt wallets
2025-04-14 17:18:17 +00:00
tecnovert
db2ba19220 Improve checkSplitMessages. 2025-04-11 01:01:23 +02:00
tecnovert
fa0760b172 Add simplex chat test. 2025-04-11 01:00:19 +02:00
Gerlof van Ek
f15f073b12 Merge pull request #286 from cryptoguard/dev
Offer page: Add info whether an offer is set to auto accept bid or not
2025-04-10 21:17:29 +02:00
cryptoguard
c9ef7bec44 Offer page: Display whether offer is set to automatically accept bids or not 2025-04-10 14:08:32 -04:00
nahuhh
2d88491d48 xmr: detect corrupt wallets 2025-04-08 20:41:41 +01:00
tecnovert
c205607bb4 xmr: Default "trusted_daemon" setting to true. 2025-04-01 20:49:50 +02:00
tecnovert
8967f677c3 nmc: Create bdb wallet. 2025-03-31 00:46:56 +02:00
tecnovert
9c252323be Set expect_seed after creation.
BCH must be reseeded manually as sethdseed is disabled during IBD.
2025-03-31 00:46:04 +02:00
tecnovert
7c17ff2dd2 Shorten lookupFiatRates debug message. 2025-03-24 14:04:05 +02:00
tecnovert
5e5b404a48 Fix PIVX. 2025-03-24 13:32:36 +02:00
tecnovert
826527fea9 Log rotation. 2025-03-12 10:41:36 +02:00
tecnovert
0cf77a4854 api: Use cryptocompare pricemulti endpoint for multiple coins. 2025-03-05 23:17:31 +02:00
tecnovert
5bedc6289f Cache coin rates. 2025-03-05 13:14:25 +02:00
tecnovert
3cdab962d3 Deduplicate getCoinIdFromTicker. 2025-03-05 13:14:24 +02:00
tecnovert
f1c2b41714 Add safe_logs option to anonymise logs. (#264)
* Add safe_logs option to anonymise logs.

* Extend logger class.
2025-02-22 15:54:13 +00:00
tecnovert
71fd3d10aa Merge pull request #252 from tecnovert/descriptors
Add BTC descriptor wallet support.
2025-01-31 19:06:22 +00:00
tecnovert
a0456cb689 Avoid reentrant error in signal_handler. 2025-01-30 15:21:56 +02:00
tecnovert
37be3bcab5 Add BTC descriptor wallet support.
Set BTC_USE_DESCRIPTORS env var to true to enable descriptors in the prepare script and test_btc_xmr
A separate watchonly wallet is created when using descriptor wallets.
2025-01-29 10:16:07 +02:00
tecnovert
ff2fc35f72 Add wallet_name option to basicswap.json.
Removed "walletfile" setting for XMR and WOW, replaced with "wallet_name".
Set wallet_name in prepare script with eg: BTC_WALLET_NAME env var.
2025-01-28 09:40:29 +02:00
tecnovert
c79ed493aa Add estimated tx fee to amount check when posting bid.
Add more log messages around balance checks.
2025-01-22 18:07:20 +02:00
nahuhh
443bd6917f prepare: fix mweb wallet generation (#238)
* prepare: fix mweb wallet generation

* Restore interface_type on LTC MWEB and send it through initialiseWallet.

---------

Co-authored-by: tecnovert <tecnovert@tecnovert.net>
2025-01-21 19:09:04 +00:00
tecnovert
159974d414 tests: Improve test_02_leader_recover_a_lock_tx 2025-01-13 23:42:40 +02:00
tecnovert
e3f7b5b79b Constrain swap state when processing reversed bid accept message. 2025-01-12 22:23:20 +02:00
tecnovert
681122bcca Disable duplicate (proof of funds) balance check when sending offer.
Fix for blinded Particl offers.
Add fee to reverse offer balance check.
2025-01-10 17:47:45 +02:00
tecnovert
73ab5e7391 Test that the initial lock tx can be funded before posting an offer. 2025-01-10 01:19:58 +02:00
tecnovert
32bd44b19a tests: Move test_003_api to test_xmr and run in CI. 2025-01-07 21:03:52 +02:00
tecnovert
2929e74c78 checkWalletSeed sets expected seed id if missing. 2025-01-07 19:47:28 +02:00
tecnovert
9eacd35319 api: Fix identities command not able to modify data. 2025-01-07 18:38:01 +02:00
tecnovert
28d99c4c0f Fix recoverNoScriptTxnWithKey regression, add to more tests. 2025-01-06 20:17:21 +02:00
tecnovert
0e2be676db doge: Switch to custom binary. 2025-01-03 22:47:59 +02:00
tecnovert
3be72b3c71 Add to test_xmr_persistent. 2025-01-03 22:47:59 +02:00
nahuhh
d2733b704d doge: basicswap.py 2025-01-03 22:47:57 +02:00
tecnovert
e71589a292 Rename isCoinActive 2025-01-03 22:46:47 +02:00
tecnovert
54f56e0e2c Ignore unknown coin types in getCachedWalletsInfo 2024-12-27 16:31:07 +02:00
gerlofvanek
a1e2592965 Remove debug messages. 2024-12-25 21:11:43 +01:00
gerlofvanek
ff29100fd4 Private orderbook display + Identity stats + Various fixes. 2024-12-25 12:02:57 +01:00
tecnovert
56cd6da556 Update basicswap/basicswap.py
Co-authored-by: nahuhh <50635951+nahuhh@users.noreply.github.com>
2024-11-29 18:54:09 +00:00
tecnovert
4942f23de6 Show depth spendable when lock tx B confirming. 2024-11-29 13:28:46 +02:00
tecnovert
037851a002 ui: Add wallet_blocks to XMR wallet page. 2024-11-29 13:28:42 +02:00
tecnovert
31ead537c9 trivial: Fix lint issues. 2024-11-27 08:49:08 +02:00
nahuhh
e7a70f1e26 basicswap: revert removal of ensureWalletExists 2024-11-27 06:29:31 +00:00
tecnovert
eefaab1752 Set state for expired sent reverse bids. 2024-11-26 19:36:58 +02:00