Commit Graph

65 Commits (daa572e5bf7fd1f42c26adaecff08e0b4989a32a)

Author SHA1 Message Date
Daniel Karzel daa572e5bf
Move recovery commands in dedicated module
3 years ago
Daniel Karzel 4deb96a3c5
ASB manual recovery commands
3 years ago
Daniel Karzel 52f648e1de
Alice's spot price logic into dedicated behaviour
3 years ago
Thomas Eizinger 11b45cd8c0
Move messages into `protocol` module
3 years ago
Thomas Eizinger 1de0b39b32
Unify encrypted-signature protocol to a single one
3 years ago
Thomas Eizinger 9979cc9f1f
Unify transfer-proof protocol to a single one
3 years ago
Thomas Eizinger 05849505b1
Inline `wait_for_bitcoin_refund`
3 years ago
Thomas Eizinger 09c41f89c4
Rename ExecutionParams to EnvironmentConfig
3 years ago
Thomas Eizinger bc43ed6ebd
Pass execution params directly into wallet for initialization
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
Daniel Karzel 1b167f3eb6 Cleanup swap initialization for Alice and Bob
3 years ago
Franck Royer 144da75270
Remove redundant data
3 years ago
Franck Royer 9ded728879
The first message is actually a quote or rate request
3 years ago
Franck Royer 6e6dc320b4
Alice event loop now handles the creation of new swaps
3 years ago
Franck Royer b5b990257a
Move `Behaviour` in dedicated module
3 years ago
Franck Royer 87be9aeb2a
Prepare separation of event loop initialisation to swap initialisation
3 years ago
Franck Royer 530b9b2ea8
Remove possible mix up of timelocks when using `State0::new`
3 years ago
Franck Royer f35ed436ce
Allow `EventLoop` to hold a database ready to pass to `alice::Buider`
3 years ago
Franck Royer fd084b764d
Move generation of keys inside `State0::new`
3 years ago
Franck Royer a7b89e2fe4
Use event_process = false for Alice
3 years ago
Franck Royer 554ae6c00e
Remove Request Response types
3 years ago
Franck Royer cfc5cb5206
Remove dead code and combine swap request & one shot codecs
3 years ago
Franck Royer 88bf080dc0
rename alice::Message0 to Message1
3 years ago
Franck Royer 0d1be52966
Rename alice::Message1 to Message3
3 years ago
Franck Royer 081237bb6f
Remove unused behaviours
3 years ago
Franck Royer ecb54958ee
Preemptively Box few messages
3 years ago
Franck Royer 3fa4ffa82c
Implement new behaviour for execution setup
3 years ago
Franck Royer e82383bcf6
Avoid carrying rng
3 years ago
Daniel Karzel 89b3775e05 Rename config to execution_params
3 years ago
Daniel Karzel 802dc61e7e Configuration for RPC urls and Bitcoin wallet name
3 years ago
Franck Royer c25d5ff07e
Improve network logging
3 years ago
Franck Royer f9f17b0e23
Do not consider transfer proof sent until it's ack'd
3 years ago
rishflab 1597f5336b
Restart event loop in tests
3 years ago
rishflab 77fc5743a2
Upgrade tokio to 1.0
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 124d6f1ebb
Introduced Message 4 sent by Alice to replace message 2 response
3 years ago
Franck Royer 9a5e35c1bd
Rename `bob::Message2` to `Message5`
3 years ago
Franck Royer f2a25ee49b
Move definitions out of lib.rs
3 years ago
Daniel Karzel 44c4b5dcea Remove newlines from import statements to avoid problems
3 years ago
Franck Royer ae8134f04e
Replace amounts messages with swap res/req
3 years ago
Franck Royer c44b867d01
Delay the wrapping in Arc
3 years ago
Franck Royer 83b72c0a45
Make `make_init_state` and `init_loop` associated to `alice::SwapFactory`
3 years ago
Franck Royer c11042ff0d
Use `builder` terminology instead of `factory`
3 years ago
Franck Royer 652bfa14a9
Remove unnecessary `pub` qualifiers
3 years ago
Franck Royer b21dc03ed0
`alice::SwapFactory` should be consumed once a swap is returned
3 years ago
Franck Royer 9b32409b8d
Remove unnecessary `allow(clippy)`
3 years ago
Franck Royer 9e3ef7ea24
Remove `StartingBalances` from release code
3 years ago
Franck Royer 181999e04f
Remove unnecessary `alice` qualifiers in `alice::SwapFactor`
3 years ago