Move alice/bob definition comment

This commit is contained in:
Tobin C. Harding 2020-10-09 09:46:44 +11:00
parent 1f89ea122e
commit 30767ec755

View File

@ -3,6 +3,11 @@ XMR to BTC Atomic Swap
This repository is a proof of concept for atomically swapping XMR for BTC. This repository is a proof of concept for atomically swapping XMR for BTC.
We define:
- Alice to be the actor that initially holds XMR.
- Bob to be the actor that initially holds BTC.
In the best-case scenario the protocol looks like this: In the best-case scenario the protocol looks like this:
1. Alice and Bob exchange a set of addresses, keys, zero-knowledge proofs and signatures. 1. Alice and Bob exchange a set of addresses, keys, zero-knowledge proofs and signatures.
@ -18,11 +23,6 @@ When doing so she leaks her Monero secret key `s_a` to Bob through the magic of
![BTC/XMR atomic swap protocol](https://github.com/comit-network/xmr-btc-swap/blob/readme/BTC_XMR_atomic_swap_protocol.svg) ![BTC/XMR atomic swap protocol](https://github.com/comit-network/xmr-btc-swap/blob/readme/BTC_XMR_atomic_swap_protocol.svg)
We define:
- Alice to be the actor that initially holds XMR.
- Bob to be the actor that initially holds BTC.
The repository is structured as a library and a single test function that executes the swap. The repository is structured as a library and a single test function that executes the swap.
The library has the following modules: The library has the following modules: