Commit Graph

  • b9b60f44c1 Reduce code duplication in command module rishflab 2021-03-04 17:37:41 +11:00
  • 9e351f77b5 Make bob's binary name meaningful rishflab 2021-03-04 14:51:28 +11:00
  • 25c4639689
    Prepare for next release Thomas Eizinger 2021-03-05 11:43:44 +11:00
  • c4b14b21f3 Default to buy-xmr if a subcommand is not specified rishflab 2021-03-04 14:35:58 +11:00
  • 5cb25edea0
    Merge #276 bors[bot] 2021-03-04 07:31:59 +00:00
  • 52433f7412
    Use Rust cache action Thomas Eizinger 2021-03-04 17:47:39 +11:00
  • 20f2e56e2d
    Merge #271 bors[bot] 2021-03-04 06:24:59 +00:00
  • 88b3321ec5
    Merge #268 bors[bot] 2021-03-04 05:58:26 +00:00
  • 47a31760c0 Bob can verify the Monero txs by tx-hash Daniel Karzel 2021-03-04 13:54:13 +11:00
  • 14dcd150af
    Extract determine_btc_to_swap function and test it Thomas Eizinger 2021-03-04 13:43:06 +11:00
  • 601bf07255
    Introduce quote protocol and display it to the user before they fund Thomas Eizinger 2021-03-03 16:54:47 +11:00
  • 3da01ea44a
    Rename local variables according to new protocol name Thomas Eizinger 2021-03-03 16:33:39 +11:00
  • ead5db3f45
    Re-order fields to group them semantically Thomas Eizinger 2021-03-02 17:55:08 +11:00
  • d727420424
    Merge #274 bors[bot] 2021-03-04 05:18:44 +00:00
  • 18f968d51c
    Merge #270 bors[bot] 2021-03-04 05:07:27 +00:00
  • ab68b28fd8
    Reduce workflow duplication Thomas Eizinger 2021-03-04 15:16:33 +11:00
  • bc176bc4fb
    Minor import optimizations Thomas Eizinger 2021-03-04 11:40:28 +11:00
  • 6d9b21cb47
    Change imports_granularity to module Thomas Eizinger 2021-03-04 11:28:58 +11:00
  • 2c8200621d
    Move pub use into pub use block Thomas Eizinger 2021-03-04 11:31:58 +11:00
  • 45b5e29d40
    Don't format tokio-tar Thomas Eizinger 2021-03-04 11:28:30 +11:00
  • 6ae8b63018
    Merge #267 bors[bot] 2021-03-04 03:47:03 +00:00
  • d1363d130c
    Merge #265 bors[bot] 2021-03-04 02:52:06 +00:00
  • 18980f4b8a
    Merge #269 bors[bot] 2021-03-04 02:36:52 +00:00
  • 7504c6ceee Context for monero address parsing errors Daniel Karzel 2021-03-04 10:46:54 +11:00
  • 95b1558c8e Add create release archive action for ubuntu rishflab 2021-03-03 23:39:45 +11:00
  • 13764161a3 Add create release archive action for windows rishflab 2021-03-03 23:06:12 +11:00
  • 35d0e246d8 Monero address network check Daniel Karzel 2021-03-04 10:46:12 +11:00
  • d88a235883 Use gtar to create release archive rishflab 2021-03-03 16:36:51 +11:00
  • cba9f119b6
    Merge #261 bors[bot] 2021-03-03 06:29:37 +00:00
  • 2e3c2d8edf Remove Arcs in favour of references Daniel Karzel 2021-03-03 16:42:05 +11:00
  • 0b4c0758bb Turbofish syntax Daniel Karzel 2021-03-03 15:56:58 +11:00
  • 5d807e9647 Reorder: Move utility functionality to bottom Daniel Karzel 2021-03-03 16:35:13 +11:00
  • 862c29f1a8 Reorder: Move sweep_all after transfer Daniel Karzel 2021-03-03 16:34:23 +11:00
  • 5a43b3453e Reorder: Move create after open Daniel Karzel 2021-03-03 16:33:39 +11:00
  • b17e6cbd94 Reorder: Move open to top Daniel Karzel 2021-03-03 16:32:36 +11:00
  • d63790c2a6 Remove unnecessary monero wallet trait abstractions Daniel Karzel 2021-03-03 15:42:26 +11:00
  • 1041212a60 Work in review comments Daniel Karzel 2021-03-03 15:30:58 +11:00
  • 66c8401c95 Sweep all from generated wallet to user wallet Daniel Karzel 2021-03-02 22:07:48 +11:00
  • 7042ed9441
    Replace quote with spot-price protocol Thomas Eizinger 2021-03-03 15:45:43 +11:00
  • cca9808b8e
    Merge #257 bors[bot] 2021-03-03 06:07:48 +00:00
  • 5111a12706 Wallet name constants for the e2e test setup Daniel Karzel 2021-03-03 10:58:47 +11:00
  • 2bb1c1e177 No prefix for wallets in monero harness Daniel Karzel 2021-03-03 10:56:49 +11:00
  • 9f53dab3c6 Harmonize names to make more sense Daniel Karzel 2021-03-02 19:42:23 +11:00
  • 70494fcb4f Create means creating the current wallet Daniel Karzel 2021-03-02 19:38:07 +11:00
  • 5b798217bc Open means opening the current wallet Daniel Karzel 2021-03-02 19:35:55 +11:00
  • 2440964385
    Allow ASB to be configured with max BTC buy amount Thomas Eizinger 2021-03-02 16:22:39 +11:00
  • e13c5446bf Remove Arcs in favour of references Daniel Karzel 2021-03-03 16:42:05 +11:00
  • 1fab6e396e Turbofish syntax Daniel Karzel 2021-03-03 15:56:58 +11:00
  • c95bb8d21f Reorder: Move utility functionality to bottom Daniel Karzel 2021-03-03 16:35:13 +11:00
  • 322c4f0262 Reorder: Move sweep_all after transfer Daniel Karzel 2021-03-03 16:34:23 +11:00
  • 23a4afac3d Reorder: Move create after open Daniel Karzel 2021-03-03 16:33:39 +11:00
  • c9ad8e0f33 Reorder: Move open to top Daniel Karzel 2021-03-03 16:32:36 +11:00
  • 622cc0d66e Remove unnecessary monero wallet trait abstractions Daniel Karzel 2021-03-03 15:42:26 +11:00
  • ab4c98678c
    Merge #264 bors[bot] 2021-03-03 05:15:20 +00:00
  • adc5c7c981 Work in review comments Daniel Karzel 2021-03-03 15:30:58 +11:00
  • 2dbc177f24
    Merge #263 bors[bot] 2021-03-03 03:53:21 +00:00
  • ce077a3ff5
    Decouple Bob's EventLoop from the builder Thomas Eizinger 2021-03-03 13:56:25 +11:00
  • 54bc91581f
    Don't unnecessarily create async blocks Thomas Eizinger 2021-03-03 13:36:37 +11:00
  • a4c25080b6
    Merge network::Seed into crate::Seed Thomas Eizinger 2021-03-03 13:26:12 +11:00
  • 94fa4fe9d9 Sweep all from generated wallet to user wallet Daniel Karzel 2021-03-02 22:07:48 +11:00
  • 455ab9b0cf Wallet name constants for the e2e test setup Daniel Karzel 2021-03-03 10:58:47 +11:00
  • 24881ebf87 No prefix for wallets in monero harness Daniel Karzel 2021-03-03 10:56:49 +11:00
  • a9276d113c Harmonize names to make more sense Daniel Karzel 2021-03-02 19:42:23 +11:00
  • 6e796028e6 Create means creating the current wallet Daniel Karzel 2021-03-02 19:38:07 +11:00
  • d14f6b85c6 Open means opening the current wallet Daniel Karzel 2021-03-02 19:35:55 +11:00
  • 089ac0806e
    Simplify constructor of Bob's EventLoop Thomas Eizinger 2021-03-03 13:05:18 +11:00
  • 1b167f3eb6 Cleanup swap initialization for Alice and Bob Daniel Karzel 2021-03-03 13:17:09 +11:00
  • a8ebd4d16e
    Merge #259 bors[bot] 2021-03-03 01:53:16 +00:00
  • a41b255dab Upgrade bitcoin wallet to use BIP84 derivation scheme rishflab 2021-03-02 17:10:29 +11:00
  • 3f12c6f58a
    Merge #256 bors[bot] 2021-03-02 05:05:55 +00:00
  • 75cec57e9d
    Give GitHub some time to process the deletion of the release Thomas Eizinger 2021-03-02 15:41:47 +11:00
  • 31475ab07d
    Merge #253 bors[bot] 2021-03-02 04:29:31 +00:00
  • e9b56934e8 Add windows to release and build workflow rishflab 2021-03-02 11:12:01 +11:00
  • bcdde021eb Add windows support to monero rpc installer rishflab 2021-03-01 17:34:25 +11:00
  • 27df9128be Bail if monero wallet rpc is not found in downloaded archive rishflab 2021-03-01 17:33:10 +11:00
  • 17278d1278
    Merge #248 bors[bot] 2021-03-02 03:57:05 +00:00
  • 8bc918c511
    Merge #243 bors[bot] 2021-03-02 02:17:49 +00:00
  • 31c23a24ac use tokio::time::sleep instead of std:🧵:sleep Daniel Karzel 2021-03-02 13:13:52 +11:00
  • b6bcdbfbf8
    Merge #254 bors[bot] 2021-03-02 01:58:02 +00:00
  • 3ad9516188
    Reduce logging when signing transactions Thomas Eizinger 2021-03-02 12:53:40 +11:00
  • 8c9b087e39
    Unify logging of broadcasted transactions Thomas Eizinger 2021-03-02 12:29:11 +11:00
  • 3a503bf95f
    Shorten function name Thomas Eizinger 2021-03-02 12:25:47 +11:00
  • 45cff81ea5
    Remove traits in favor of using the wallet struct directly Thomas Eizinger 2021-03-02 12:22:23 +11:00
  • 73bbec1bc0
    Create a 'latest' release on pushes to master Thomas Eizinger 2021-03-02 10:42:29 +11:00
  • d0ee873a92
    Smoke test the binary in the release workflow Thomas Eizinger 2021-03-02 10:33:44 +11:00
  • 8c0df23647
    Only show _log_ output if the user passes --debug Thomas Eizinger 2021-03-01 12:19:05 +11:00
  • cb4e2c041b
    Rename opt to args Thomas Eizinger 2021-03-01 12:09:59 +11:00
  • f4827e3fa4
    Improve time formatting of log output Thomas Eizinger 2021-03-01 12:04:39 +11:00
  • a82e82edd5
    Tell the user about the monero-wallet-rpc download Thomas Eizinger 2021-03-01 11:46:53 +11:00
  • 06e3bccaa6
    Don't print PeerId when requesting quote Thomas Eizinger 2021-03-01 11:26:06 +11:00
  • cbef577e2d
    Inform user that we are going to swap the remainder of the balance Thomas Eizinger 2021-03-01 11:24:27 +11:00
  • b7c3524b4f
    Abort the eventloop if the dialling fails Thomas Eizinger 2021-02-26 17:05:19 +11:00
  • 4e9e186462
    Don't log things the user doesn't care about Thomas Eizinger 2021-02-26 17:04:51 +11:00
  • 6b74761e34
    Remove tracing context Thomas Eizinger 2021-02-26 17:03:58 +11:00
  • 3d2d447fba
    Improve error message Thomas Eizinger 2021-02-26 17:03:38 +11:00
  • bbbe5f7ae8
    Demote / promote log messages to their appropriate level Thomas Eizinger 2021-02-26 17:03:07 +11:00
  • 7387884e6d
    Move log messages to the appropriate abstraction layer Thomas Eizinger 2021-02-26 17:01:36 +11:00
  • b8df4a3145
    Inline tracing configuration for swap_cli Thomas Eizinger 2021-02-26 16:22:24 +11:00
  • a0e7c6ecf7
    Don't Arc the AtomicU32 Thomas Eizinger 2021-02-26 15:53:25 +11:00
  • 40dcf0355a
    Simplify Transfer::transfer return type Thomas Eizinger 2021-02-26 15:45:23 +11:00