Commit Graph

19 Commits (6c446825b7570fbd508f74d59770571368cafb35)

Author SHA1 Message Date
Thomas Eizinger acfd2dd6bb
Store Monero receive address in database and load it on resume
3 years ago
Thomas Eizinger d49f4ea60d
Test saving and loading of addresses in isolation
3 years ago
Thomas Eizinger ec4234fbb9
Merge `--seller-addr` and `--seller-peer-id` into `--seller` parameter
3 years ago
Daniel Karzel d90496931b
Save Alice's peer-id in the db for Bob
3 years ago
Daniel Karzel 1c129d58c4
Distinguish loading all swaps for alice or bob on db level
3 years ago
Thomas Eizinger 4138039ea0
Make sure all error messages start with an uppercase letter
3 years ago
Thomas Eizinger d0db6cba10
Favour individual logs over one in main
3 years ago
Thomas Eizinger 6d9b21cb47
Change `imports_granularity` to module
3 years ago
Daniel Karzel 1b167f3eb6 Cleanup swap initialization for Alice and Bob
3 years ago
Thomas Eizinger b47b06aa23 Import anyhow::Result across the codebase
3 years ago
Daniel Karzel 433704e48c Top to bottom `pub mod` then `mod` then `pub use` then `use` (incl. `use crate` and `use self`)
3 years ago
Daniel Karzel 44c4b5dcea Remove newlines from import statements to avoid problems
3 years ago
Daniel Karzel 8615aaed6e Make lock-tx id available in redeem/punish state to be able to assert exact fees
3 years ago
rishflab 387a4da2f6 Make modules private
3 years ago
rishflab c900d12593 Merge xmr_btc crate
3 years ago
Franck Royer e1e8533862
Embed state mod in database mod
4 years ago
Franck Royer 59708c57e6
Move Alice and Bob db states in separate modules
4 years ago
Franck Royer b410de01df
Move state.rs under database module
4 years ago
Franck Royer 8c7964bfee
Rename storage.rs to database.rs to reduce terminology variants
4 years ago