Commit Graph

  • b3f49cf83e
    Merge #200 bors[bot] 2021-02-17 05:00:39 +00:00
  • 8537b88a68
    Merge #201 bors[bot] 2021-02-17 04:45:48 +00:00
  • a3b5c13b52
    Upgrade to actions/cache@v2.1.4 Thomas Eizinger 2021-02-17 14:50:44 +11:00
  • f1b097877b
    Split build_test into build and test Thomas Eizinger 2021-02-17 14:46:12 +11:00
  • e57c005920
    Remove unused matrix entry Thomas Eizinger 2021-02-17 14:43:53 +11:00
  • acbc0f5551
    Upload nectar binary in addition to swap_cli Thomas Eizinger 2021-02-17 14:42:15 +11:00
  • 3c7880f771
    Fix path to CLI for artifact upload Thomas Eizinger 2021-02-17 14:40:34 +11:00
  • 48635156ad
    Merge #206 bors[bot] 2021-02-17 03:36:25 +00:00
  • bd00abe070
    Merge #204 bors[bot] 2021-02-17 01:16:50 +00:00
  • babd1d7b60
    Wait for refund if insufficient Monero is locked up Daniel Karzel 2021-02-16 16:00:27 +11:00
  • ebb869e6f4 Distinguish transient and permanent Electrum errors Daniel Karzel 2021-02-17 11:32:41 +11:00
  • 48b3d6ee6c Make bitcoin tx fee configurable rishflab 2021-02-17 10:00:53 +11:00
  • 9b93cabfdf Use context instead of map_error Daniel Karzel 2021-02-17 11:09:09 +11:00
  • fe362d765b Add sync wallet on nectar's startup rishflab 2021-02-17 10:56:39 +11:00
  • 00e2b257c4 Remove misplaced sync wallet call rishflab 2021-02-17 10:56:10 +11:00
  • 8c83f7e2e1
    Upgrade to testcontainers v0.12 Thomas Eizinger 2021-02-16 17:09:09 +11:00
  • 89f023190f
    Explicitly depend on v2.1.4 as the rolling tag is not yet updated Thomas Eizinger 2021-02-16 16:52:36 +11:00
  • 2ced9ddba4 Prevent future from being stopped by calling forget on handle Daniel Karzel 2021-02-16 15:19:55 +11:00
  • 77ec7e502f Distinguish permanent and transient error when watching tx Daniel Karzel 2021-02-16 15:19:11 +11:00
  • 7a9569ffd4
    Merge #178 bors[bot] 2021-02-16 05:08:08 +00:00
  • 009e194790
    Optimize GitHub workflow file Thomas Eizinger 2021-02-16 15:52:29 +11:00
  • b66bb00c77 Remove stale code rishflab 2021-02-16 13:32:21 +11:00
  • bc1d2bda54 Test URL creation for default electrum HTTP API rishflab 2021-02-16 11:48:46 +11:00
  • d296c22ecf Log bitcoin deposit address on startup rishflab 2021-02-15 20:01:57 +11:00
  • 4768c79070 Derive bitcoin private key from seed rishflab 2021-02-09 17:23:13 +11:00
  • a51194b9fa Instantiate electrum client with custom config with 2 retries Thomas Eizinger 2021-02-15 16:04:51 +11:00
  • 180e778df9 Allow blockchain calls to fail rishflab 2021-02-15 16:13:29 +11:00
  • a0ef1f96ec Replace bitcoind wallet with bdk wallet rishflab 2021-02-02 10:39:34 +11:00
  • 4d8e801c1e
    Merge #190 bors[bot] 2021-02-15 22:56:50 +00:00
  • 5d215caf35
    Merge #188 bors[bot] 2021-02-15 06:29:24 +00:00
  • 946483d880
    Merge #192 bors[bot] 2021-02-15 05:24:00 +00:00
  • f36f5acaf1
    Remove unnecessary async block Franck Royer 2021-02-15 16:23:21 +11:00
  • 73c52ffb61
    Remove unused structs Franck Royer 2021-02-15 13:11:45 +11:00
  • 2dbd43e2c0
    Only pass btc amount to CLI Franck Royer 2021-02-15 13:01:38 +11:00
  • 144da75270
    Remove redundant data Franck Royer 2021-02-15 13:09:37 +11:00
  • fb3b2aa546
    Remove unnecessary pub qualifier Franck Royer 2021-02-15 12:54:10 +11:00
  • b4e2e11dde
    Remove unnecessary fields Franck Royer 2021-02-15 12:46:46 +11:00
  • d6effb7d39
    Remove unnecessary pub qualifiers Franck Royer 2021-02-15 12:27:17 +11:00
  • b8a84aa34b
    Avoid possible mix up between timelocks Franck Royer 2021-02-15 12:19:43 +11:00
  • 9a321a4f09
    Move transaction types in dedicated modules Franck Royer 2021-02-15 16:09:42 +11:00
  • 6e6c207715
    Merge #191 bors[bot] 2021-02-15 04:18:24 +00:00
  • 65e0e5b731
    Use Remote handle to access ongoing swaps on Alice Franck Royer 2021-02-15 15:00:47 +11:00
  • a0753e24dc
    Merge #189 bors[bot] 2021-02-15 00:24:39 +00:00
  • 4314006b2a
    Merge #184 bors[bot] 2021-02-15 00:02:36 +00:00
  • 5d78556665
    Give a more specific name to the CLI binary: swap-cli Franck Royer 2021-02-11 15:23:02 +11:00
  • 8fada42074
    Make config argument global Franck Royer 2021-02-11 15:21:34 +11:00
  • 83dcf4ba3c
    Add nectar binary Franck Royer 2021-02-11 15:07:01 +11:00
  • c166232daf Remove unnecessary mention of Tor in comment Daniel Karzel 2021-02-15 10:12:08 +11:00
  • e353d0e89b Remove tor installation from CI Daniel Karzel 2021-02-15 10:11:41 +11:00
  • 9ded728879
    The first message is actually a quote or rate request Franck Royer 2021-02-12 17:05:06 +11:00
  • c117885dad
    Merge #183 bors[bot] 2021-02-11 22:19:38 +00:00
  • ee43125bdd
    Add nectar binary Franck Royer 2021-02-11 15:07:01 +11:00
  • 66d9c7c2cb
    Merge #182 bors[bot] 2021-02-11 04:08:55 +00:00
  • fac5b59d17
    Remove unnecessary specification of the types Franck Royer 2021-02-11 10:19:26 +11:00
  • 7805a6d684
    Move cli specific modules under cli folder Franck Royer 2021-02-11 09:59:24 +11:00
  • 901c9e89c9
    No evident added value of having separate Seed structs Franck Royer 2021-02-11 09:57:17 +11:00
  • 7d392c3086
    This files contains Command and Arguments structs Franck Royer 2021-02-11 09:47:42 +11:00
  • 45dccb8be2
    Rename the config struct Config Franck Royer 2021-02-11 09:38:29 +11:00
  • fadbf1638a
    Merge #177 bors[bot] 2021-02-10 05:43:34 +00:00
  • eb39add5ff
    Fix typo Franck Royer 2021-02-10 12:06:41 +11:00
  • 6e6dc320b4
    Alice event loop now handles the creation of new swaps Franck Royer 2021-02-09 11:15:55 +11:00
  • 15eb9a2fe4
    Remove punish test Franck Royer 2021-02-10 10:43:57 +11:00
  • 3bc8b58b6a
    Remove Bob restart tests after communication Franck Royer 2021-02-10 10:30:23 +11:00
  • fd9f633a77
    Remove Alice restarts tests Franck Royer 2021-02-10 09:40:16 +11:00
  • bfc19d5628
    Remove acknowledgements processing Franck Royer 2021-02-08 17:35:12 +11:00
  • cc8b855117
    Make it possible to clone a handle Franck Royer 2021-02-08 17:03:16 +11:00
  • 1b2be804ed
    Remove unnecessary channels Franck Royer 2021-02-08 16:53:05 +11:00
  • f5ca5faabf
    Process execution setup failure similarly to other failures Franck Royer 2021-02-08 16:38:23 +11:00
  • 4ade5df0e5
    Remove unnecessary impl block Franck Royer 2021-02-08 16:18:31 +11:00
  • 60e0b9382c
    Introduced from float API for Monero quantities Franck Royer 2021-02-08 15:24:32 +11:00
  • b5b990257a
    Move Behaviour in dedicated module Franck Royer 2021-02-08 15:14:22 +11:00
  • 87be9aeb2a
    Prepare separation of event loop initialisation to swap initialisation Franck Royer 2021-02-08 14:49:36 +11:00
  • 530b9b2ea8
    Remove possible mix up of timelocks when using State0::new Franck Royer 2021-02-08 14:39:27 +11:00
  • f35ed436ce
    Allow EventLoop to hold a database ready to pass to alice::Buider Franck Royer 2021-02-08 14:21:54 +11:00
  • 39a46baa2c
    Preemptively box cancel tx to avoid size difference in enum Franck Royer 2021-02-08 14:18:33 +11:00
  • 69363e43a3
    Preemptively box encrypted signature to avoid size difference in enum Franck Royer 2021-02-04 17:10:18 +11:00
  • fd084b764d
    Move generation of keys inside State0::new Franck Royer 2021-02-04 17:01:08 +11:00
  • 788445964a
    Move main.rs to cli.rs to prepare for nectar binary Franck Royer 2021-02-04 16:42:14 +11:00
  • 311ba74cd6
    Remove sell-xmr from CLI Franck Royer 2021-02-04 16:33:13 +11:00
  • 82d75588ba Remove automatic bdk wallet sync calls manual-sync rishflab 2021-02-10 15:18:45 +11:00
  • 639b3169d8
    Merge #179 bors[bot] 2021-02-10 04:09:11 +00:00
  • 56a59bc41c Remove newline in use statements Daniel Karzel 2021-02-10 15:07:37 +11:00
  • 0a0bce1552 Rename temporary wallet to blockchain monitoring wallet Daniel Karzel 2021-02-10 15:06:26 +11:00
  • d4d42ae3ae Debugging: Checked sub to calculate tx confirmation fix-confirmations rishflab 2021-02-10 12:31:16 +11:00
  • 982ce4ff04 Fix the test setup Daniel Karzel 2021-02-10 10:21:05 +11:00
  • eb310be2c0 Add command to display bitcoin wallet balance rishflab 2021-02-09 18:06:20 +11:00
  • 7e10c5e7c3 Add command to generate bitcoin deposit address rishflab 2021-02-09 17:32:04 +11:00
  • 23cbee842f Derive bitcoin private key from seed rishflab 2021-02-09 17:23:13 +11:00
  • 181e7c5096 Use electrum http api to get height of the last block rishflab 2021-02-09 19:21:59 +11:00
  • b9f0c2cc9d Add confirmed field to TransactionStatus rishflab 2021-02-09 18:27:44 +11:00
  • 34032c8132 Replace bitcoind wallet with bdk wallet rishflab 2021-02-02 10:39:34 +11:00
  • 1e29433bd2 Open or create temporary Monero wallet upon wallet initialization Daniel Karzel 2021-02-09 15:34:12 +11:00
  • dac4443bbd Add functionality to open monero wallet through rpc Daniel Karzel 2021-02-09 14:32:33 +11:00
  • 62605a318a Add CreateWallet trait to expose create_wallet Daniel Karzel 2021-02-09 13:57:53 +11:00
  • 27bb9498d5
    Merge #170 bors[bot] 2021-02-09 02:40:47 +00:00
  • 53fcd9224c Give finding the refund tx priority over waiting for the punish transaction to be finalized. Daniel Karzel 2021-02-09 12:13:43 +11:00
  • 86290649e7 work in review comments Daniel Karzel 2021-02-04 10:43:02 +11:00
  • c930ad84a4 Add --force flag for cancel and refund Daniel Karzel 2021-02-01 22:32:54 +11:00
  • 02f8eb7f18 Add test for cancel/refund before timelock expired Daniel Karzel 2021-02-01 19:17:53 +11:00
  • 2d5d70d856 Timeout for Alice waiting for ack for sending transfer proof Daniel Karzel 2021-02-01 18:14:53 +11:00