Commit Graph

  • 31c63f0c4d
    Remove dead code Franck Royer 2021-01-14 11:35:10 +1100
  • 0fe1f7e173 Create BobActor rishflab 2021-01-14 11:38:28 +1100
  • 0852f90473
    Remove unused variant Franck Royer 2021-01-14 11:12:27 +1100
  • 8708d27603 WIP - Add highter order function for test init to solve lifetime issues of cli Daniel Karzel 2021-01-14 11:02:19 +1100
  • eecee30d99
    Use exact xmr amount, Remove ACK Franck Royer 2021-01-14 10:46:50 +1100
  • 8ff33bd386
    Use exact xmr amount Franck Royer 2021-01-14 10:45:29 +1100
  • 6b4a02427a
    Use global counter to name messages Franck Royer 2021-01-14 10:27:33 +1100
  • 9a260df97d WIP - Working on understanding why the docker cli lifetime is a problem Daniel Karzel 2021-01-14 10:13:33 +1100
  • 923ab85a86 WIP: Refactor test setup to make it easier to write new tests rishflab 2021-01-13 13:31:36 +1100
  • c55f3e3403
    Remove Req-Res and update for single market maker use case Franck Royer 2021-01-13 11:47:02 +1100
  • 9d307a4bea
    Merge #138 bors[bot] 2021-01-13 03:43:11 +0000
  • 1e08a17bd9
    Last message is also request response Franck Royer 2021-01-13 14:42:38 +1100
  • 07270df12a Clarify diagram Lucas Soriano del Pino 2021-01-13 11:36:02 +1100
  • c53d54ddab
    Add sequence diagram Franck Royer 2021-01-13 11:12:57 +1100
  • 7248af9498 Print each monero confirmation for Bob demo Daniel Karzel 2021-01-12 16:59:59 +1100
  • f8848aca55 Describe additional state for ToDo that might cause trouble Daniel Karzel 2021-01-11 19:08:24 +1100
  • 59f01ad680 Remove Todo that was already actioned Daniel Karzel 2021-01-11 19:06:14 +1100
  • 60f3923a63 Set tracing level to Info in production code Daniel Karzel 2021-01-11 17:38:59 +1100
  • 00b4f3110f Remove ToDo that is already actioned Daniel Karzel 2021-01-11 16:59:22 +1100
  • ab9117aa4c Log Alice's lock tx proof receive on Bob's side Daniel Karzel 2021-01-11 16:58:31 +1100
  • 2790dec6dc
    Merge #119 bors[bot] 2021-01-12 02:20:41 +0000
  • af45206fde Remember the block-height before XMR lock for generated monero wallet restore height Daniel Karzel 2021-01-06 16:31:47 +1100
  • 05cb355698 Fix rebase issues rishflab 2021-01-12 10:57:17 +1100
  • 76d6cf0f2e Re-export swap executor function. rishflab 2021-01-08 12:55:46 +1100
  • 6358b0c1a9 Fix imports rishflab 2021-01-08 12:36:54 +1100
  • 7d8fe742e8 Remove lib rishflab 2021-01-08 11:30:33 +1100
  • ca6ba78862
    Merge #123 bors[bot] 2021-01-11 04:25:26 +0000
  • 485220929e
    Merge #127 bors[bot] 2021-01-11 03:07:11 +0000
  • bfc388d264 Enable tracing in monero-harness Daniel Karzel 2021-01-11 12:55:19 +1100
  • 664958939d Create network::Seed from swap::Seed instead of abstracting over byte array Daniel Karzel 2021-01-08 14:52:29 +1100
  • f18d01dfaf Deterministic peer id from seed for bob Daniel Karzel 2021-01-08 13:27:56 +1100
  • 0a21040e08 Deterministic peer id from seed for alice Daniel Karzel 2021-01-08 12:04:48 +1100
  • 6ffc66867c
    Typo Franck Royer 2021-01-08 11:31:21 +1100
  • 047f990d05
    Improve error reporting on signature verification Franck Royer 2021-01-07 14:44:31 +1100
  • ef906876a0
    Increase timelocks on testnet Franck Royer 2021-01-07 13:19:22 +1100
  • 17356eaff9
    Do not guard waiting for encrypted signature with arbitrary timeout Franck Royer 2021-01-07 11:53:07 +1100
  • 95ecb02e7a
    Small changes to make debugging easier and tests Franck Royer 2021-01-07 11:46:58 +1100
  • 9d8f8b0a1f
    P2p socket should be listening for external connections Franck Royer 2021-01-07 11:45:55 +1100
  • 64ba8d6a87
    Merge pull request #125 from comit-network/reorganise-modules-2 rishflab 2021-01-10 10:07:24 +1100
  • 1c644cb377 Rename message behaviours rishflab 2021-01-08 12:33:23 +1100
  • 5d7d72c826 Remove unused import rishflab 2021-01-09 10:10:48 +1100
  • d8550f9b4f
    Subtract confirmations to current height to get tx height Franck Royer 2021-01-08 15:26:19 +1100
  • 387a4da2f6 Make modules private rishflab 2021-01-08 11:04:32 +1100
  • a3e896684c Delete leftover xmr_btc crate rishflab 2021-01-08 10:55:15 +1100
  • dcea54dbf1 Move protocol parent states into appropriate module rishflab 2021-01-08 10:52:07 +1100
  • f64eede5d8 Move monero ser/deser to monero module rishflab 2021-01-08 10:44:31 +1100
  • e7c00d742e Re-export bitcoin and monero types rishflab 2021-01-08 10:41:25 +1100
  • c900d12593 Merge xmr_btc crate rishflab 2021-01-05 14:08:36 +1100
  • d80cc393cf Deterministic peer id from seed for bob Daniel Karzel 2021-01-08 12:13:07 +1100
  • 0e09c08af5 Deterministic peer id from seed for alice Daniel Karzel 2021-01-08 12:04:48 +1100
  • a0d859147a
    Merge #124 bors[bot] 2021-01-07 23:04:31 +0000
  • 487b880371 Cleanup unused config param that was accidentally introduced Daniel Karzel 2021-01-07 12:23:29 +1100
  • 903469f62a
    Merge #118 bors[bot] 2021-01-06 06:19:47 +0000
  • e031681369 Add minimum monero confirmations to config use it for Bob Daniel Karzel 2021-01-05 17:09:55 +1100
  • 45b5af4375 WIP - use get_transfer_by_txid to extract the exact block height of tx_lock Daniel Karzel 2021-01-06 16:12:35 +1100
  • 184f179044
    Merge #115 bors[bot] 2021-01-05 03:42:51 +0000
  • c6bc45e7a0 Wait for bitcoin tx finality before locking XMR Daniel Karzel 2021-01-05 14:31:10 +1100
  • 30dd15774e Log Bitcoin and Monero transaction IDs on info instead of debug Daniel Karzel 2021-01-05 14:11:26 +1100
  • 0977d36703 Set log level to info instead of trace Daniel Karzel 2021-01-05 14:00:07 +1100
  • 72aa517af8 Work in review comments Daniel Karzel 2021-01-05 11:26:00 +1100
  • 8a2128e93a Correct monero-wallet-rpc parameter name Daniel Karzel 2021-01-05 11:00:15 +1100
  • 4d9559fc2e Monero network settings and testnet Daniel Karzel 2021-01-04 20:29:11 +1100
  • 1f7e72b230 Log bitcoin harness and monero harness Daniel Karzel 2021-01-04 19:23:05 +1100
  • dd10e68db4
    Merge pull request #113 from comit-network/clippy Franck Royer 2021-01-04 10:10:19 +1100
  • 97eb24a26c
    Merge #114 bors[bot] 2021-01-03 21:41:55 +0000
  • bcbc54b569
    Type timelock and block height Franck Royer 2020-12-23 16:04:06 +1100
  • 81cbc24c46
    Use action to name trait Franck Royer 2020-12-23 15:40:56 +1100
  • e1e8533862
    Embed state mod in database mod Franck Royer 2020-12-23 15:30:23 +1100
  • 59708c57e6
    Move Alice and Bob db states in separate modules Franck Royer 2020-12-23 15:26:08 +1100
  • b410de01df
    Move state.rs under database module Franck Royer 2020-12-23 15:20:24 +1100
  • 8c7964bfee
    Rename storage.rs to database.rs to reduce terminology variants Franck Royer 2020-12-23 15:17:27 +1100
  • 5ed18469e4
    Move db state conversion with db type definition Franck Royer 2020-12-23 15:11:09 +1100
  • 2a778f5644
    Remove overzealous clippy overrides Franck Royer 2020-12-23 15:06:43 +1100
  • cdf2800fa5
    Align clippy lints Franck Royer 2020-12-23 14:33:29 +1100
  • ece689f5ca
    There is only one binary, we should use `main.rs` naming convention Franck Royer 2020-12-23 14:22:04 +1100
  • 4e91ac467b
    Merge #112 bors[bot] 2020-12-23 03:20:42 +0000
  • 4150e75488
    Replace `Try_From` state conversion with `From` for Bob Franck Royer 2020-12-23 12:14:36 +1100
  • 5d1b10cc58
    Align Bob DB states with swap states Franck Royer 2020-12-23 12:08:51 +1100
  • e541f7b83d
    Replace `TryFrom` with `From` for Alice states Franck Royer 2020-12-22 16:36:27 +1100
  • 69e1c2bb27
    Align Alice DB states with swap states Franck Royer 2020-12-22 16:28:14 +1100
  • a31db63e54
    Improve state names and display Franck Royer 2020-12-22 15:49:30 +1100
  • f0736d0906
    Remove Refund timelock and T0/T1/T2 Franck Royer 2020-12-22 15:47:09 +1100
  • 405e377f79
    Rename `EncSign` to `EncSig` Franck Royer 2020-12-22 14:53:21 +1100
  • 1cb0c4fc83 Change warning to error when Bob's refund after t2 failed Daniel Karzel 2020-12-23 12:36:33 +1100
  • 9c83ca52ad
    Merge #107 bors[bot] 2020-12-23 01:16:42 +0000
  • cb9d599c25 Change monero blocktime config to match monero harness blocktime rishflab 2020-12-23 10:01:51 +1100
  • a2fc93e582 Avoid code duplication and nested returns Franck Royer 2020-12-21 16:02:49 +1100
  • 9d6525c0ae Rename variable for consistency rishflab 2020-12-21 14:35:41 +1100
  • 9014cb9a13 Fix tx_cancel building and signing rishflab 2020-12-21 11:17:54 +1100
  • cedc56a160 Return original error in case downcasting to JsonRpcError fails Daniel Karzel 2020-12-18 13:53:24 +1100
  • 298fbbe6cb Upgrade to bitcoin_harness version that exports jsonrpc_client Daniel Karzel 2020-12-18 13:48:29 +1100
  • 4903169f4c Check error to determine if tx_cancel has already been published Daniel Karzel 2020-12-17 18:32:06 +1100
  • 4191d41ccf
    Merge #102 bors[bot] 2020-12-22 22:19:04 +0000
  • 058c214892
    Only run 2 tests at the same time to avoid resource issue with docker Franck Royer 2020-12-22 10:58:17 +1100
  • 297b15e3ce
    Remove async block when it is not needed Franck Royer 2020-12-21 14:53:35 +1100
  • e079b84500
    Ensure we wait for other party to complete Franck Royer 2020-12-21 14:49:19 +1100
  • 1fa812b727
    Separate Buy/Sell for resume command Franck Royer 2020-12-21 14:43:44 +1100
  • 672377b216
    Merge #108 bors[bot] 2020-12-22 07:11:01 +0000
  • a692cf9299 Remove all short-codes because they don't add value at the moment Daniel Karzel 2020-12-21 17:52:52 +1100
  • 7a740e876e Remove tx_cancel broadcast from refund, is published in T1Expired Daniel Karzel 2020-12-22 17:56:23 +1100