Commit Graph

54 Commits (a11c9d9c038c3cc3b4a90cc3f483a22f39001b43)

Author SHA1 Message Date
Daniel Karzel 85f5635663
`swap_setup` instead of `spot_price` and `execution_setup`
3 years ago
Philipp Hoenisch 316f95c65b
Always log whole causality chain for errors.
3 years ago
Philipp Hoenisch c011e95062
Improve logging by adding details as fields instead of into the msg.
3 years ago
Thomas Eizinger 0970c2bc72
Initialize reqwest clients with verbose logging
3 years ago
Thomas Eizinger 6d06db3259
Use macro-based JSON-RPC client
3 years ago
Daniel Karzel 489696ee08
Swap-id as file name for generated Monero wallet
3 years ago
Daniel Karzel 548f057726
Try to open wallet in case generate_from_keys fails
3 years ago
Thomas Eizinger 42b6368298
Use full-qualified path for tracing macros
3 years ago
Thomas Eizinger 5616683d7d
Monero confirmations are a u64
3 years ago
Thomas Eizinger 1b63d5486d
Move tick to the beginning of the loop
3 years ago
Daniel Karzel 396c4177a6 Alice sweeps refunded funds into default wallet
3 years ago
Thomas Eizinger 16dfea035b
Simplify code within BobState::XmrLockProofReceived
3 years ago
Thomas Eizinger 75aec95b0c
Introduce monero::TransferRequest
3 years ago
Thomas Eizinger ce78075932
Make Monero and Bitcoin wallet use a generalized sync interval
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 2704245ed5
Fix monero refresh interval
3 years ago
Daniel Karzel be52892e65
Monero wallet should not know about all execution params
3 years ago
Thomas Eizinger 82738b111e
Refactor `monero::Wallet::watch_for_transfer` to not use `backoff`
3 years ago
Thomas Eizinger c2329b19a2
Tell the user more about the monero lock transaction
3 years ago
Thomas Eizinger 13c4d29d40
Tell the user immediately how many confirmations we expect
3 years ago
Thomas Eizinger 5d4cf40831
Fix comparison of Monero confirmations
3 years ago
bors[bot] 20f2e56e2d
Merge #271
3 years ago
Daniel Karzel 47a31760c0 Bob can verify the Monero txs by tx-hash
3 years ago
Thomas Eizinger 6d9b21cb47
Change `imports_granularity` to module
3 years ago
Daniel Karzel 5d807e9647 Reorder: Move utility functionality to bottom
3 years ago
Daniel Karzel 862c29f1a8 Reorder: Move sweep_all after transfer
3 years ago
Daniel Karzel 5a43b3453e Reorder: Move create after open
3 years ago
Daniel Karzel b17e6cbd94 Reorder: Move open to top
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 bbbe5f7ae8
Demote / promote log messages to their appropriate level
3 years ago
Thomas Eizinger a0e7c6ecf7
Don't Arc the AtomicU32
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
Daniel Karzel 0945cee459 Remove traits in favour of public functions
3 years ago
Daniel Karzel 578d23d7fc Proper encapsulation of wallet boundaries through private fields
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 03078f328c
Split monero-harness into harness and rpc
3 years ago
Thomas Eizinger 2d8ede80e1
Use released version of backoff
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
rishflab 77fc5743a2
Upgrade tokio to 1.0
3 years ago
Daniel Karzel 44c4b5dcea Remove newlines from import statements to avoid problems
3 years ago