xmr-btc-swap/swap/tests
Mohan 4ae47e57f9
refactor: swap-core / swap-machine (#530)
* progress

* fix thread safety

* move monero types from swap into swap_core

* just fmt

* move non test code above test code

* revert removed tracing in bitcoin-wallet/src/primitives.rs

* Use existing private_key_from_secp256k1_scalar

* remove unused monero chose code

* fix some clippy warnings due to imports

* move state machine types into the new `swap-machine` crate

* remove monero_c orphan submodule

* rm bdk_test and sqlx_test from ci

* move proptest.rs into swap-proptest

* increase stack size to 12mb

* properly increase stack size

* fix merge conflict in ci.yml

* don't increase stack size on mac

* fix infinite recursion

* fix integration tests

* fix some compile errors

* fix compilation errors

* rustfmt

* ignore unstaged patches we applied to monero submodule when running git status

* fix some test compilation errors

* use BitcoinWallet trait instead of concrete type everywhere

* add just test command to run integration tests

* remove test_utils features from bdk in swap-core

---------

Co-authored-by: einliterflasche <einliterflasche@pm.me>
Co-authored-by: binarybaron <binarybaron@mail.mail>
2025-10-10 16:29:00 +02:00
..
harness feat(asb): Disabled-by-default developer tip (#566) 2025-09-24 13:07:24 +02:00
alice_and_bob_refund_using_cancel_and_refund_command.rs refactor: swap-core / swap-machine (#530) 2025-10-10 16:29:00 +02:00
alice_and_bob_refund_using_cancel_and_refund_command_timelock_not_expired.rs feat(asb): Disabled-by-default developer tip (#566) 2025-09-24 13:07:24 +02:00
alice_and_bob_refund_using_cancel_then_refund_command.rs refactor: swap-core / swap-machine (#530) 2025-10-10 16:29:00 +02:00
alice_broken_wallet_rpc_after_started_btc_early_refund.rs feat(asb): Disabled-by-default developer tip (#566) 2025-09-24 13:07:24 +02:00
alice_empty_balance_after_started_btc_early_refund.rs feat(asb): Disabled-by-default developer tip (#566) 2025-09-24 13:07:24 +02:00
alice_manually_punishes_after_bob_dead.rs refactor: swap-core / swap-machine (#530) 2025-10-10 16:29:00 +02:00
alice_manually_punishes_after_bob_dead_and_bob_cancels.rs refactor: swap-core / swap-machine (#530) 2025-10-10 16:29:00 +02:00
alice_manually_redeems_after_enc_sig_learned.rs feat(asb): Disabled-by-default developer tip (#566) 2025-09-24 13:07:24 +02:00
alice_punishes_after_restart_bob_dead.rs refactor: swap-core / swap-machine (#530) 2025-10-10 16:29:00 +02:00
alice_refunds_after_restart_bob_refunded.rs feat(asb): Disabled-by-default developer tip (#566) 2025-09-24 13:07:24 +02:00
concurrent_bobs_after_xmr_lock_proof_sent.rs feat(asb): Disabled-by-default developer tip (#566) 2025-09-24 13:07:24 +02:00
concurrent_bobs_before_xmr_lock_proof_sent.rs feat(asb): Disabled-by-default developer tip (#566) 2025-09-24 13:07:24 +02:00
ensure_same_swap_id.rs feat(asb): Disabled-by-default developer tip (#566) 2025-09-24 13:07:24 +02:00
happy_path.rs feat(asb): Disabled-by-default developer tip (#566) 2025-09-24 13:07:24 +02:00
happy_path_alice_developer_tip.rs feat(asb): Disabled-by-default developer tip (#566) 2025-09-24 13:07:24 +02:00
happy_path_bob_offline_while_alice_redeems_btc.rs refactor: swap-core / swap-machine (#530) 2025-10-10 16:29:00 +02:00
happy_path_restart_alice_after_xmr_locked.rs feat(asb): Disabled-by-default developer tip (#566) 2025-09-24 13:07:24 +02:00
happy_path_restart_bob_after_xmr_locked.rs feat(asb): Disabled-by-default developer tip (#566) 2025-09-24 13:07:24 +02:00
happy_path_restart_bob_before_xmr_locked.rs feat(asb): Disabled-by-default developer tip (#566) 2025-09-24 13:07:24 +02:00
punish.rs feat(asb): Disabled-by-default developer tip (#566) 2025-09-24 13:07:24 +02:00