Commit Graph

43 Commits (daa572e5bf7fd1f42c26adaecff08e0b4989a32a)

Author SHA1 Message Date
Daniel Karzel ea76ae5821
Return proper error to CLI for all expected scenarios
3 years ago
Thomas Eizinger a99d12b9df
Add a configurable spread to the ASB
3 years ago
Thomas Eizinger 16dfea035b
Simplify code within BobState::XmrLockProofReceived
3 years ago
Thomas Eizinger c2329b19a2
Tell the user more about the monero lock transaction
3 years ago
Thomas Eizinger bc176bc4fb
Minor import optimizations
3 years ago
Thomas Eizinger 6d9b21cb47
Change `imports_granularity` to module
3 years ago
Daniel Karzel d63790c2a6 Remove unnecessary monero wallet trait abstractions
3 years ago
Daniel Karzel 1041212a60 Work in review comments
3 years ago
Daniel Karzel 66c8401c95 Sweep all from generated wallet to user wallet
3 years ago
Daniel Karzel 9f53dab3c6 Harmonize names to make more sense
3 years ago
Daniel Karzel 70494fcb4f Create means creating the current wallet
3 years ago
Daniel Karzel 5b798217bc Open means opening the current wallet
3 years ago
Thomas Eizinger 40dcf0355a
Simplify `Transfer::transfer` return type
3 years ago
Daniel Karzel cad6a1c3a7 ABS only sends quote response if sufficient XMR balance
3 years ago
rishflab 51c16f23d8
Download and run monero wallet rpc on swap cli startup
3 years ago
Daniel Karzel 947bcb6192 ASB reloads the default wallet after generate_from_keys atomically
3 years ago
Daniel Karzel 684cbe4d0b Remember monero wallet-height for Alice's refund scenario
3 years ago
Daniel Karzel 9f1deb9fdc Wrap the Monero wallet client in a Mutex
3 years ago
Thomas Eizinger b47b06aa23 Import anyhow::Result across the codebase
3 years ago
Franck Royer 92b3df4158 Introduce dynamic rates
3 years ago
Franck Royer 60e0b9382c
Introduced from float API for Monero quantities
3 years ago
Daniel Karzel dac4443bbd Add functionality to open monero wallet through rpc
3 years ago
Daniel Karzel 62605a318a Add CreateWallet trait to expose create_wallet
3 years ago
Daniel Karzel 3593f5323a Bob saves lock proof after received so he can resume swap
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
Franck Royer 31c63f0c4d
Remove dead code
3 years ago
Daniel Karzel af45206fde Remember the block-height before XMR lock for generated monero wallet restore height
3 years ago
rishflab f64eede5d8 Move monero ser/deser to monero module
3 years ago
rishflab e7c00d742e Re-export bitcoin and monero types
3 years ago
rishflab c900d12593 Merge xmr_btc crate
3 years ago
Daniel Karzel 30dd15774e Log Bitcoin and Monero transaction IDs on info instead of debug
3 years ago
Daniel Karzel 4d9559fc2e Monero network settings and testnet
3 years ago
Franck Royer cdf2800fa5
Align clippy lints
3 years ago
Daniel Karzel 03b8e5f52e Upgrade CLI for mainnet test
4 years ago
rishflab fcec465bdb Revert "No need to send Monero transfer proof from Alice to Bob"
4 years ago
rishflab 379aff50cf Fix rebase conflicts
4 years ago
Lucas Soriano del Pino 620216a596 Remove need to send Monero transfer proof from Alice to Bob
4 years ago
Lucas Soriano del Pino 7371dfb055 Test that a watch only wallet can be loaded from address + view key
4 years ago
Lucas Soriano del Pino 483c819e17 Correctly re-export types from bitcoin and monero modules
4 years ago
rishflab a44303f839 Add monerod to config
4 years ago
Lucas Soriano del Pino a37f43a1ba wip: Provide enough funds to both parties
4 years ago
Lucas Soriano del Pino 4ee82a5a2a Execute Alice's on-chain protocol after handshake
4 years ago