You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Having `spot_price` and `execution_setup` as separate protocols did not bring any advantages, but was problematic because we had to ensure that `execution_setup` would be triggered after `spot_price`. Because of this dependency it is better to combine the protocols into one. Combining the protocols also allows a refactoring to get rid of the `libp2p-async-await` dependency. Alice always listens for the `swap_setup` protocol. When Bob opens a substream on that protocol the spot price is communicated, and then all execution setup messages (swap-id and signature exchange). |
3 years ago | |
---|---|---|
.. | ||
harness | 3 years ago | |
alice_and_bob_refund_using_cancel_and_refund_command.rs | 3 years ago | |
alice_and_bob_refund_using_cancel_and_refund_command_timelock_not_expired.rs | 3 years ago | |
alice_and_bob_refund_using_cancel_and_refund_command_timelock_not_expired_force.rs | 3 years ago | |
alice_manually_punishes_after_bob_dead.rs | 3 years ago | |
alice_manually_redeems_after_enc_sig_learned.rs | 3 years ago | |
alice_punishes_after_restart_bob_dead.rs | 3 years ago | |
alice_refunds_after_restart_bob_refunded.rs | 3 years ago | |
bob_refunds_using_cancel_and_refund_command_timelock_not_expired.rs | 3 years ago | |
bob_refunds_using_cancel_and_refund_command_timelock_not_expired_force.rs | 3 years ago | |
concurrent_bobs_after_xmr_lock_proof_sent.rs | 3 years ago | |
concurrent_bobs_before_xmr_lock_proof_sent.rs | 3 years ago | |
ensure_same_swap_id.rs | 3 years ago | |
happy_path.rs | 3 years ago | |
happy_path_restart_alice_after_xmr_locked.rs | 3 years ago | |
happy_path_restart_bob_after_xmr_locked.rs | 3 years ago | |
happy_path_restart_bob_before_xmr_locked.rs | 3 years ago | |
punish.rs | 3 years ago |