Commit Graph

32 Commits (638a169a040adced947ec2ba258b39ff8c9faadc)

Author SHA1 Message Date
Thomas Eizinger cde3f0f74a
Remove connection handling from swap execution
3 years ago
Thomas Eizinger 804b34f6b0
Listen on all swarm events instead of just behaviour events
3 years ago
Thomas Eizinger 2200fce3f3
Pass Swarm into EventLoop
3 years ago
Thomas Eizinger 2c9ab4f6eb
Improve code structure and error messages for running swaps
3 years ago
Thomas Eizinger 9979cc9f1f
Unify transfer-proof protocol to a single one
3 years ago
Thomas Eizinger 4138039ea0
Make sure all error messages start with an uppercase letter
3 years ago
Thomas Eizinger 601bf07255
Introduce `quote` protocol and display it to the user before they fund
3 years ago
Thomas Eizinger 3da01ea44a
Rename local variables according to new protocol name
3 years ago
Thomas Eizinger ead5db3f45
Re-order fields to group them semantically
3 years ago
Thomas Eizinger bc176bc4fb
Minor import optimizations
3 years ago
Thomas Eizinger 6d9b21cb47
Change `imports_granularity` to module
3 years ago
Thomas Eizinger 7042ed9441
Replace quote with spot-price protocol
3 years ago
Thomas Eizinger 089ac0806e
Simplify constructor of Bob's EventLoop
3 years ago
Thomas Eizinger b7c3524b4f
Abort the eventloop if the dialling fails
3 years ago
Thomas Eizinger bbbe5f7ae8
Demote / promote log messages to their appropriate level
3 years ago
Thomas Eizinger 7387884e6d
Move log messages to the appropriate abstraction layer
3 years ago
Daniel Karzel bb1537d6f2 Error feedback for the user upon communication errors
3 years ago
Daniel Karzel e66e84085b Rename Bob's Behavior Failure to CommunicationError
3 years ago
Franck Royer 9ded728879
The first message is actually a quote or rate request
3 years ago
Franck Royer bfc19d5628
Remove acknowledgements processing
3 years ago
Franck Royer eefb1b3b16
Use event_process = false for Bob
3 years ago
Franck Royer 081237bb6f
Remove unused behaviours
3 years ago
Franck Royer 3fa4ffa82c
Implement new behaviour for execution setup
3 years ago
Franck Royer cc76b201b5
Do not consider encrypted signature sent until it's ack'd
3 years ago
rishflab 77fc5743a2
Upgrade tokio to 1.0
3 years ago
Franck Royer b62ef9c2d9
Harmonizing naming
3 years ago
Franck Royer 8fd2620b83
Improve names for messages 4 and 5
3 years ago
Franck Royer d2a1937f51
Use `Message4`
3 years ago
Franck Royer 9a5e35c1bd
Rename `bob::Message2` to `Message5`
3 years ago
Franck Royer ae8134f04e
Replace amounts messages with swap res/req
3 years ago
Daniel Karzel 67e925fe1f Refactor Bob's peer-id and identity to be handled on the outside
3 years ago
rishflab c900d12593 Merge xmr_btc crate
3 years ago