xmr-btc-swap/swap/tests
Raphael 11b891f530
feat(gui): Voluntary donations (#418)
* poc: monero receive pool with multiple redeem addresses for bob with given ratios

* fix: use new monero_receive_pool arg for buy_xmr

* update sweep/sweep_multi to return TxReceipt instead of String containing txid

* fix test (generate 1 block before checking balance after transfer)

* add move distribute function to rust, add property tests

* use rust distribute

* update sqlx cache/tempdb

* sqlx fix

* feat: update ui to display the monero address pool

* fix: remove unused functions, set dispatcher for tracing in wallet threads, use new subtract_fee wallet2 functionality

* Add patch system

* add wallet2_api_allow_subtract_from_fee patch

* apply git patches

* split monero-sys patches into chunks

* refactor

* .sqlx needs to be commited, revert unbound issue

* display pool on XmrRedeemInMempoolPage.tsx page, commit .sqlx folder

* fmt

* refactor

* assert MoneroAddressPool is on correct network, differntiate between stagenet and mainnet donaiton address

* looks ok

* re-add retry logic, database errors, ...

* add test

* add tests

* fmt comments, changelog

---------

Co-authored-by: Binarybaron <binarybaron@protonmail.com>
2025-06-25 16:37:47 +02:00
..
harness feat(gui): Voluntary donations (#418) 2025-06-25 16:37:47 +02:00
alice_and_bob_refund_using_cancel_and_refund_command.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00
alice_and_bob_refund_using_cancel_and_refund_command_timelock_not_expired.rs upgrade(swap): Concurrent syncing, bdk upgrade, refactors (#180) 2025-05-18 22:54:03 +02:00
alice_and_bob_refund_using_cancel_then_refund_command.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00
alice_broken_wallet_rpc_after_started_btc_early_refund.rs feat(protocol): Early Bitcoin refund (#344) 2025-06-11 20:40:16 +02:00
alice_empty_balance_after_started_btc_early_refund.rs feat(protocol): Early Bitcoin refund (#344) 2025-06-11 20:40:16 +02:00
alice_manually_punishes_after_bob_dead.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00
alice_manually_punishes_after_bob_dead_and_bob_cancels.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00
alice_manually_redeems_after_enc_sig_learned.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00
alice_punishes_after_restart_bob_dead.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00
alice_refunds_after_restart_bob_refunded.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00
bdk.sh upgrade(swap): Concurrent syncing, bdk upgrade, refactors (#180) 2025-05-18 22:54:03 +02:00
concurrent_bobs_after_xmr_lock_proof_sent.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00
concurrent_bobs_before_xmr_lock_proof_sent.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00
ensure_same_swap_id.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00
happy_path.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00
happy_path_bob_offline_while_alice_redeems_btc.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00
happy_path_restart_alice_after_xmr_locked.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00
happy_path_restart_bob_after_xmr_locked.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00
happy_path_restart_bob_before_xmr_locked.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00
punish.rs feat: cargo project at root 2024-08-08 00:49:04 +02:00