Commit Graph

637 Commits (27bb9498d5ce7f9a2a2c9307adfffced93febec5)
 

Author SHA1 Message Date
Franck Royer 3c68026cfe
Move init event loop in `bob::SwapFactory`
4 years ago
Franck Royer 96b1b18037
Keep terminology consistent
4 years ago
bors[bot] 05669c749c
Merge #147
4 years ago
Daniel Karzel 28429fa9fe Revert log statement
4 years ago
Daniel Karzel 37f619dbfc Move StartingBalances into protocol module
4 years ago
Daniel Karzel 41e335fc2d Error messages instead of unreachable
4 years ago
Daniel Karzel 2dceab28a4 Derive Default
4 years ago
Daniel Karzel acfd43ee79 Rename Test to TestContext and argument to ctx
4 years ago
Daniel Karzel e91987e23f Fix rand import
4 years ago
Daniel Karzel 170e90ffed Rename do_run_until to _run_until_internal
4 years ago
Daniel Karzel 82974412b2 Remove roles from SwapFactory name as implied by module and cleanup
4 years ago
Daniel Karzel 75f89f3b25 Use Bob swap factory in production
4 years ago
Daniel Karzel e56c48ee23 Remove unused type
4 years ago
Daniel Karzel 3398ef8236 Use Alice swap factory in production
4 years ago
Daniel Karzel 67e925fe1f Refactor Bob's peer-id and identity to be handled on the outside
4 years ago
Daniel Karzel 0c19af9090 Refactor Alice's peer-id and identity to be handled on the outside
4 years ago
Daniel Karzel 8bf467b550 Make the factory code usable in production
4 years ago
Daniel Karzel e4795fa4ee Fix recursive call to swap by using run_until
4 years ago
bors[bot] 35c42263df
Merge #145
4 years ago
bors[bot] f2c14c10c0
Merge #146
4 years ago
bors[bot] a7f68e4aa1
Merge #144
4 years ago
Franck Royer 9a823dca4c
Do not introduced State6
4 years ago
bors[bot] 974b6ebf6f
Merge #136
4 years ago
Daniel Karzel d4316f0cfe Print each monero confirmation for Bob
4 years ago
Daniel Karzel 8615aaed6e Make lock-tx id available in redeem/punish state to be able to assert exact fees
4 years ago
Daniel Karzel 317b251302 Re-arrange order of structs/functions in testutils
4 years ago
Daniel Karzel 7832ee94f3 Remove unused code and only expose necessary functionality
4 years ago
Daniel Karzel 8ef8240771 Refactor refund test
4 years ago
Daniel Karzel 55024572ae Refactor punish test and punish assertions
4 years ago
Daniel Karzel 73a2841ec5 Refactor happy path bob restart tests
4 years ago
Daniel Karzel 8a2eb07928 Harmonize names and structure
4 years ago
Daniel Karzel bede1c13dd Refactor Bob's side (happy path + alice restart)
4 years ago
Daniel Karzel 59f9a1c286 Fix usage of StartingBalance in Alice and Bob
4 years ago
Daniel Karzel 87edec0d50 Rename Alice's factory to harness and include redeem assertions
4 years ago
Daniel Karzel 152c8d7eba Refactor Alice restart test by introducing factory for creating Alices
4 years ago
Daniel Karzel b031bc5e42 Re-export run_until
4 years ago
rishflab 537d05e01e Add reusable test function
4 years ago
rishflab 9cbf6e9774 Re-export event loop handles
4 years ago
rishflab 6040f2ae63 Re-export event loops
4 years ago
rishflab e8fdf62623 Re-export swap function
4 years ago
rishflab f5cfe014be Fix imports
4 years ago
bors[bot] a4cd75d394
Merge #141
4 years ago
Franck Royer 39d95e141d
Merge pull request #140 from comit-network/revamp-network
4 years ago
Franck Royer 6003f87301
In phase A, message can be send simultaneously so calling them both 0.
4 years ago
Franck Royer c5bfbf8da9
Clarify who is user/SP
4 years ago
Franck Royer 31c63f0c4d
Remove dead code
4 years ago
Franck Royer 0852f90473
Remove unused variant
4 years ago
Franck Royer eecee30d99
Use exact xmr amount, Remove ACK
4 years ago
Franck Royer 8ff33bd386
Use exact xmr amount
4 years ago
Franck Royer 6b4a02427a
Use global counter to name messages
4 years ago