Commit Graph

1027 Commits (master)

Author SHA1 Message Date
Lucas Soriano del Pino 02075c2a1d Support saving multiple swaps
4 years ago
Lucas Soriano del Pino 823add218e Remove temporary test tracing guards
4 years ago
Lucas Soriano del Pino a26890001b Fix swap e2e test
4 years ago
Lucas Soriano del Pino 934ddb366a Save state for Alice at specific points in the swap
4 years ago
rishflab ea08778b2f Save state for Bob at specific points in the swap
4 years ago
Philipp Hoenisch 981fcacc95
Make swap e2e test work with new monerod lib
4 years ago
Philipp Hoenisch 70d64f74ae
Testcontainers upgrade
4 years ago
Philipp Hoenisch 0b9e8c145e
Update xmr-btc lib to use new monero-harness
4 years ago
rishflab a44303f839 Add monerod to config
4 years ago
rishflab 7afd316210 Construct tor transport for Bob
4 years ago
rishflab 3b008c38a6 Remove redundant code and stale comments
4 years ago
rishflab 249f273d1b Remove stale comments
4 years ago
rishflab 5971ef1f28 Fix clippy warnings
4 years ago
rishflab 606c48c752 Format swap crate Cargo.toml
4 years ago
rishflab 796d0b3439 Extract transport creation and remove tor conditional compile
4 years ago
rishflab 0ca511bf8a Remove hardcoded configuration
4 years ago
Lucas Soriano del Pino 92c7e8e84f Run swap e2e test without tor feature
4 years ago
Lucas Soriano del Pino 792fa351c8 Upgrade bitcoin-harness dependency
4 years ago
Lucas Soriano del Pino 7fa7641feb Clean up some logs and comments
4 years ago
Tobin C. Harding 4d4acde476 Bubble up an event when Bob receives message 3 response
4 years ago
Lucas Soriano del Pino a37f43a1ba wip: Provide enough funds to both parties
4 years ago
Lucas Soriano del Pino eb6bbe6180 wip: Fix bug where bob was sending two amount request
4 years ago
Lucas Soriano del Pino 9f32cd988e wip: Use same timelock value for refund and punish
4 years ago
Lucas Soriano del Pino 62c4501926 wip: Add xmr_btc tracing filter
4 years ago
Lucas Soriano del Pino ae87c10cae wip: fixed message0
4 years ago
Tobin C. Harding 119f2a7c54 Add error logging to request_response
4 years ago
Tobin C. Harding b8ab4b4eee wip: add env filter
4 years ago
Tobin C. Harding 3e2f0b74a2 Do not trace events meant for other NBs
4 years ago
Tobin C. Harding c464555f5e Enable trace output
4 years ago
Tobin C. Harding 39f86154ce Use serde_cbor instead of serde_json
4 years ago
Tobin C. Harding 2bd4977fe4 Increase read buffer size
4 years ago
Lucas Soriano del Pino 9384b0cf3c [WIP] Swap app e2e test
4 years ago
Lucas Soriano del Pino 9e30bd5151 Generate addresses as late as possible
4 years ago
Lucas Soriano del Pino 3f43581da7 Implement traits Receive{BitcoinRedeemEncsig, TransferProof}
4 years ago
Lucas Soriano del Pino a4e4c27bee Execute Bob's on-chain protocol after handshake
4 years ago
Lucas Soriano del Pino 4ee82a5a2a Execute Alice's on-chain protocol after handshake
4 years ago
Philipp Hoenisch b8fd9a734f
Use full path imports for dependencies to reduce cfg hell
4 years ago
Tobin C. Harding a1351e5461 Do not declare 'port' variable
4 years ago
Tobin C. Harding 464b699426 Fail if user passes in local port for non-tor usage
4 years ago
Tobin C. Harding 42d194f758 Use fully qualified path for bail
4 years ago
Tobin C. Harding 5e35904101 Use an option for the local port
4 years ago
Philipp Hoenisch 8811a0a205
Add Tor to main
4 years ago
Lucas Soriano cf8accf30d
Merge pull request #28 from comit-network/re-work-swap-functions
4 years ago
Tobin C. Harding b22f265cf3 Send back an empty response to Message2
4 years ago
Tobin C. Harding 194a19cf1d Add todos
4 years ago
Tobin C. Harding 6be5d64c1c Remove stale, ugly, type conversion
4 years ago
Lucas Soriano 58aa2b5a2b
Merge pull request #23 from comit-network/remove-re-export
4 years ago
Tobin C. Harding 8f5a989ad1 Use 'amounts' for local varibale name
4 years ago
Tobin C. Harding b8130d23a6 Only break if Bob has requested amounts already
4 years ago
Tobin C. Harding 5da84a3d48
Merge pull request #25 from comit-network/unused-assigments
4 years ago
Lucas Soriano del Pino ba4ae09cd1 Remove allow(unused_assignments) attribute
4 years ago
Tobin C. Harding cbccc282ef Send Message2 from Bob to Alice
4 years ago
Lucas Soriano del Pino 0dd01c3a3b Do not re-export curve25519_dalek
4 years ago
rishflab ec71f98252 Revert re-imports to qualified paths
4 years ago
rishflab fea6b29da9 Test monero amount serialisation
4 years ago
Franck Royer 9ea708b2a5 Remove custom implementation of bitcoin amount serde
4 years ago
rishflab c781ee949d Move storage into application crate
4 years ago
Philipp Hoenisch 17b32fed90
Moving tor into swap
4 years ago
Tobin C. Harding 97363cb05c Fix build after merge
4 years ago
Tobin C. Harding 19f065575d Do a bunch of cleanups
4 years ago
Tobin C. Harding 6e34f9c978 Use const TIMEOUT instead of an argument
4 years ago
Tobin C. Harding cc61079826 Use VerifiedAmounts
4 years ago
Tobin C. Harding eed5e8e9a4 Move monero serde code to lib
4 years ago
Tobin C. Harding 30298bdf1f Do some more cleanups
4 years ago
Tobin C. Harding 2059158dad Bump to libp2p v29
4 years ago
Tobin C. Harding ad006fae6a Do a bunch of cleanups
4 years ago
Tobin C. Harding 0f17ec076c Add message1
4 years ago
Tobin C. Harding ad0d8d5713 Emit message0 out of NB (both parties)
4 years ago
Tobin C. Harding bb94643943 Remove data from message until Message0 impl serde
4 years ago
Tobin C. Harding e7504de76c Add state0 -> state1 messages
4 years ago
Tobin C. Harding 08ec776daa Move monero/bitcoin modules to files
4 years ago
Tobin C. Harding aaf1363c05 Refine peer tracker and amounts protocol
4 years ago
Tobin C. Harding 47eaa44f76 Remove unneeded From<Never> impl
4 years ago
Tobin C. Harding 40e97ffdc3 Add todo to check amounts calculation
4 years ago
Tobin C. Harding 1251681cfd Calculate amounts from BTC
4 years ago
Tobin C. Harding 3492c46e71 Verify amounts with user
4 years ago
Tobin C. Harding 05766d3146 Add swap/
4 years ago