Commit Graph

570 Commits (91fe18a79657e7d8ee100c931a2b2fcce0f1cd0f)
 

Author SHA1 Message Date
Daniel Karzel 4ec2da29a0
Modularize Bob's test setup (separate init for state, event_loop)
4 years ago
Daniel Karzel 9a930af33f
Remove duplicated restart+refund test, move tests into separate files
4 years ago
Daniel Karzel 91d4d5da25
Cleanup swap execution to not return EventLoopHandle, refactor both_refund test
4 years ago
Daniel Karzel 3692046758
Bob's recover function
4 years ago
Daniel Karzel bf39c34ada
Alice restart and refund test if restarted before encsig learner
4 years ago
Daniel Karzel 8c929564ef
Refactor container initialization
4 years ago
rishflab 143d8bc07d
Move message0 response handler out of NB
4 years ago
Daniel Karzel 4143394767
Add recovery function for Alice
4 years ago
rishflab 4b00141c29
Fix happy path test
4 years ago
Franck Royer 7092af457a
Introduced DB for Alice & Bob
4 years ago
Franck Royer 4ce8695dfc
Align with origin/database
4 years ago
Franck Royer 1a5b9f9fa9
Update tests after rebase
4 years ago
Franck Royer c4cdd098fd
Use from instead of try_from for Alice state conversion
4 years ago
Franck Royer caf903acda
wip: Add test for when bob restarts
4 years ago
Franck Royer 905fc6cf35
Save Bob state during swap
4 years ago
Franck Royer 7e0a1ffe84
Remove generator for bob
4 years ago
Franck Royer c6af5eb9ac
Introduce test where alice restarts before all communications are done
4 years ago
Franck Royer 3580b7ed2c
Add test where Alice restart after encsign is learned
4 years ago
Franck Royer a22efaa7bc
Remove unneeded peer id argument
4 years ago
Franck Royer 9323f22009
Reorder calls
4 years ago
Franck Royer a24d1a49b9
Remove unneeded `as_ref_calls`
4 years ago
Franck Royer 1c7cc7ee46
Scope futures' instanciation
4 years ago
Franck Royer 6226e5789f
Introduce test where alice restart mid-swap
4 years ago
Franck Royer 71a0832ef4
Add zero const to monero::Amount
4 years ago
Franck Royer 64b021daf4
Save Alice states in db
4 years ago
Franck Royer 238f6a989d
Extract spend key as soon as possible
4 years ago
Franck Royer c095693a5f
Refund swap if resumed from a step that requires further communication
4 years ago
Franck Royer 11cea9ba69
Remove passing alice peer id
4 years ago
bors[bot] bbe454d269
Merge #72
4 years ago
rishflab d8d6477ee9 Remove and fix comments
4 years ago
rishflab 6ff440d0cc Remove unused function
4 years ago
rishflab 082f4eb005 Use unused port in refund test
4 years ago
rishflab 9b7b44ceba Remove old refund test
4 years ago
rishflab 7af4b6980a Test Alice refunds after Bob refund
4 years ago
rishflab 773390886b Test that Bob refunds if Alice fails to act
4 years ago
rishflab 78c6a1a78f Add Bob refund execution
4 years ago
rishflab f806ad7231 Assert balances after punish
4 years ago
bors[bot] 9fecf7008e
Merge #61
4 years ago
Daniel Karzel 03b8e5f52e Upgrade CLI for mainnet test
4 years ago
bors[bot] 12b7fc1196
Merge #66
4 years ago
Daniel Karzel aad7a22f81 Utility function for initializing tracing for tests
4 years ago
bors[bot] 9d564b73bf
Merge #74
4 years ago
Franck Royer 1d806b9661
Update bors with the current jobs
4 years ago
rishflab c2956b9d2c
Merge pull request #71 from comit-network/eventloop-review
4 years ago
Franck Royer c0478d7191
Move expiries to config
4 years ago
rishflab 205b879967
Merge pull request #65 from comit-network/eventloop
4 years ago
rishflab 8f5eac8201
Merge pull request #68 from comit-network/ci-time
4 years ago
Franck Royer ef6e8fc723
Clean-up unused code
4 years ago
Franck Royer e71bf7d8e9
Add comment regarding processing in network behaviour
4 years ago
Franck Royer 2c9fb7b1da
Rename var to match type name
4 years ago