xmr-btc-swap/swap/tests
binarybaron 57c153de99
refactor(cli): Refactor RPC server and fix tests
- Use the Request trait introduced in https://github.com/UnstoppableSwap/xmr-btc-swap/pull/10 for the RPC server
- Delegate deserialization of RPC server method parameters to serde by using structs like BuyXmrArgs
- Remove `get_raw_states` RPC server method because it's not used
- Fix RPC server tests including removing test for the "log reference id" feature which was removed as part of https://github.com/UnstoppableSwap/xmr-btc-swap/pull/10
- Rename GetCurrentSwap struct to GetCurrentSwapArgs
2024-08-28 12:18:58 +02:00
..
harness fix(swap): Unit test compilation errors 2024-08-26 18:03:04 +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 feat: cargo project at root 2024-08-08 00:49:04 +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_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 feat: cargo project at root 2024-08-08 00:49:04 +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
rpc.rs refactor(cli): Refactor RPC server and fix tests 2024-08-28 12:18:58 +02:00