Commit Graph

  • c9adbde5d5 Add test for Bob's manual cancel and refund Daniel Karzel 2021-02-01 18:13:08 +11:00
  • ad2aefc2a5 Refund Command Daniel Karzel 2021-02-01 16:25:33 +11:00
  • 0600a7048e Cancel command Daniel Karzel 2021-02-01 16:10:43 +11:00
  • 123e0cc69b WIP: Replace bitcoind wallet with bdk wallet rishflab 2021-02-08 15:53:05 +11:00
  • ec661178f4
    Merge #173 bors[bot] 2021-02-07 22:17:11 +00:00
  • dee8c1e335
    Remove scopes Franck Royer 2021-02-05 16:41:20 +11:00
  • a48823a665
    Re-organise Alice state to be more coherent with the msg sequence Franck Royer 2021-02-05 16:40:11 +11:00
  • eefb1b3b16
    Use event_process = false for Bob Franck Royer 2021-02-05 16:30:43 +11:00
  • a7b89e2fe4
    Use event_process = false for Alice Franck Royer 2021-02-05 11:58:29 +11:00
  • 554ae6c00e
    Remove Request Response types Franck Royer 2021-02-05 13:48:24 +11:00
  • 5a5a1c05f7
    Set appropriate name to codec Franck Royer 2021-02-05 13:25:34 +11:00
  • a11e894b31
    Prepend all libp2p protocols with "comit" Franck Royer 2021-02-04 12:34:55 +11:00
  • cfc5cb5206
    Remove dead code and combine swap request & one shot codecs Franck Royer 2021-02-04 12:29:28 +11:00
  • fc2d8d3861
    Rename alice::Message0 to Message0 Franck Royer 2021-02-04 12:05:48 +11:00
  • 88bf080dc0
    rename alice::Message0 to Message1 Franck Royer 2021-02-04 11:56:58 +11:00
  • 18f326ddd1
    Rename bob::Message1 to Message2 Franck Royer 2021-02-04 11:49:13 +11:00
  • 0d1be52966
    Rename alice::Message1 to Message3 Franck Royer 2021-02-04 11:45:54 +11:00
  • e74efd38b5
    Rename bob::Message2 to Message4 Franck Royer 2021-02-04 11:43:07 +11:00
  • 081237bb6f
    Remove unused behaviours Franck Royer 2021-02-04 11:39:15 +11:00
  • ecb54958ee
    Preemptively Box few messages Franck Royer 2021-02-04 11:38:06 +11:00
  • 3fa4ffa82c
    Implement new behaviour for execution setup Franck Royer 2021-02-03 16:45:43 +11:00
  • 9ae050abf8
    Use correct variable name Franck Royer 2021-02-04 11:03:13 +11:00
  • 6b1443b570
    wip: Process swap request in event loop Franck Royer 2021-02-04 17:40:52 +11:00
  • 815ef90c9f
    wip: Segregate negotation and execution setup from swap execution Franck Royer 2021-02-04 17:14:26 +11:00
  • 5a2f82478a
    Preemptively box cancel tx to avoid size difference in enum Franck Royer 2021-02-04 17:13:03 +11:00
  • b0bb904777
    Preemptively box encrypted signature to avoid size difference in enum Franck Royer 2021-02-04 17:10:18 +11:00
  • 256dd7de9f
    Move generation of keys inside State0::new Franck Royer 2021-02-04 17:01:08 +11:00
  • 228da8015b
    Move main.rs to cli.rs to prepare for nectar binary Franck Royer 2021-02-04 16:42:14 +11:00
  • 63ed2e7fc2
    Remove sell-xmr from CLI Franck Royer 2021-02-04 16:33:13 +11:00
  • 267c0d4fed
    Prepend all libp2p protocols with "comit" Franck Royer 2021-02-04 12:34:55 +11:00
  • 376e46b641
    Remove dead code and combine swap request & one shot codecs Franck Royer 2021-02-04 12:29:28 +11:00
  • 4a5dd11765
    rename alice::Message0 to Message0 Franck Royer 2021-02-04 12:05:48 +11:00
  • 54dd8f55dd
    rename alice::Message0 to Message1 Franck Royer 2021-02-04 11:56:58 +11:00
  • a2e2619ced
    Rename bob::Message1 to Message2 Franck Royer 2021-02-04 11:49:13 +11:00
  • bdb8eb89b6
    Rename alice::Message1 to Message3 Franck Royer 2021-02-04 11:45:54 +11:00
  • a05d60c595
    Rename bob::Message2 to Message4 Franck Royer 2021-02-04 11:43:07 +11:00
  • 05513af750
    Remove unused behaviours Franck Royer 2021-02-04 11:39:15 +11:00
  • 6f6b707c17
    Preemptively Box encrypted signature Franck Royer 2021-02-04 11:38:06 +11:00
  • 5085361d06
    Use execution setup behaviour Franck Royer 2021-02-04 11:06:49 +11:00
  • 18c819a1ff
    Use correct variable name Franck Royer 2021-02-04 11:03:13 +11:00
  • 1866c0635d
    Implement new behaviour for execution setup Franck Royer 2021-02-03 16:45:43 +11:00
  • c316ea5244
    Upgrade toolchain Franck Royer 2021-02-03 16:20:59 +11:00
  • e82383bcf6
    Avoid carrying rng Franck Royer 2021-02-03 15:25:05 +11:00
  • 25bf5df122
    Merge pull request #172 from comit-network/dead-code Philipp Hoenisch 2021-02-04 13:55:02 +11:00
  • f0bf294689
    Merge #171 bors[bot] 2021-02-04 01:42:16 +00:00
  • 8743527df9
    Remove dead code Philipp Hoenisch 2021-02-03 14:26:36 +11:00
  • b27363e386 Use correct default data directory Daniel Karzel 2021-02-02 20:36:08 +11:00
  • 24de0dcda3 Split monero and bitcoin container initialisation rishflab 2021-02-02 10:39:34 +11:00
  • 5fe8f3108a
    Merge #161 bors[bot] 2021-01-31 23:41:35 +00:00
  • 110fc9bbd7
    Merge pull request #168 from comit-network/rename-config Daniel Karzel 2021-02-01 10:41:03 +11:00
  • 5cb4f3c99d rename configuration to config Daniel Karzel 2021-01-29 17:31:18 +11:00
  • 89b3775e05 Rename config to execution_params Daniel Karzel 2021-01-29 17:27:50 +11:00
  • 802dc61e7e Configuration for RPC urls and Bitcoin wallet name Daniel Karzel 2021-01-27 13:33:32 +11:00
  • 9ccb0492ce
    Remove redundant qualifier Franck Royer 2021-01-29 17:06:14 +11:00
  • 99e34bfc6b
    Move tests under src/ Franck Royer 2021-01-29 17:05:17 +11:00
  • 9eae0db9ac
    Merge #156 bors[bot] 2021-01-29 05:13:59 +00:00
  • f1c07fbb6d
    Remove incorrect todo Franck Royer 2021-01-29 16:11:09 +11:00
  • c25d5ff07e
    Improve network logging Franck Royer 2021-01-22 09:38:04 +11:00
  • f84cd001b5
    Merge #143 bors[bot] 2021-01-29 04:42:23 +00:00
  • f9f17b0e23
    Do not consider transfer proof sent until it's ack'd Franck Royer 2021-01-29 15:17:43 +11:00
  • b968c98805
    remove unnecessary logs Franck Royer 2021-01-29 15:13:48 +11:00
  • cc76b201b5
    Do not consider encrypted signature sent until it's ack'd Franck Royer 2021-01-29 15:13:40 +11:00
  • 5af3532cbf
    Fix log messages Franck Royer 2021-01-29 14:19:12 +11:00
  • 108cc1e6cc
    Use trait instead of passing struct Franck Royer 2021-01-29 13:52:05 +11:00
  • 80810e3605
    Updates bors to include all docker tests Franck Royer 2021-01-29 09:20:08 +11:00
  • 79a0f53745 Rename config_path to path to avoid duplication Daniel Karzel 2021-01-29 14:29:30 +11:00
  • 2adfd89ffd
    Merge pull request #166 from comit-network/default-data-dir Daniel Karzel 2021-01-29 14:27:02 +11:00
  • eb34adc45d Remove config and fs from the lib Daniel Karzel 2021-01-29 11:31:34 +11:00
  • 9be6449e49 Default directory for storage and data-dir per command Daniel Karzel 2021-01-28 16:05:14 +11:00
  • 09e0d3b877
    Run docker tests in separate GitHub tasks Franck Royer 2021-01-28 15:40:47 +11:00
  • 704a8e7b01
    Add swap id to tracing context Franck Royer 2021-01-27 18:04:16 +11:00
  • b8a9356d1b
    Change expiries depending on the test goal Franck Royer 2021-01-27 17:03:52 +11:00
  • 5c2f83fd5d
    Remove nightly chain Franck Royer 2021-01-27 13:42:59 +11:00
  • 49b8d19e41
    test: Log state on failure Franck Royer 2021-01-27 13:41:08 +11:00
  • 0b69573129
    Run tests on one thread, increase T1 rishflab 2021-01-25 12:54:33 +11:00
  • 1597f5336b
    Restart event loop in tests rishflab 2021-01-22 13:33:31 +11:00
  • 77fc5743a2
    Upgrade tokio to 1.0 rishflab 2021-01-15 16:58:16 +11:00
  • fe33e02f46 Add reset-config command that allows removing config file Daniel Karzel 2021-01-28 15:18:37 +11:00
  • 967736766b Make config parameter re-useable Daniel Karzel 2021-01-28 14:55:29 +11:00
  • 75bbae2afe Add --config param to make configuration file configurable Daniel Karzel 2021-01-28 14:34:18 +11:00
  • 345c57915e Use nested Result instead of Error enum Daniel Karzel 2021-01-29 11:18:47 +11:00
  • f5cfcf97c8
    Updates bors to include all docker tests Franck Royer 2021-01-29 09:20:08 +11:00
  • a50e9afddd
    Run docker tests in separate GitHub tasks Franck Royer 2021-01-28 15:40:47 +11:00
  • 616d120377 Refactor to add roundtrip test for initial setup and reading config Daniel Karzel 2021-01-28 18:07:33 +11:00
  • 6bb5d225f7
    Remove nightly usage Franck Royer 2021-01-28 15:28:50 +11:00
  • 921ba29256
    Replace hard wallet types with traits Franck Royer 2021-01-28 14:06:35 +11:00
  • b75e9b436c Bitcoind RPC url, wallet name and Monero RPC url through config Daniel Karzel 2021-01-28 12:31:03 +11:00
  • 4cc74bad62 Separate wallet settings and protocol settings Daniel Karzel 2021-01-27 16:26:22 +11:00
  • 049b7bc329 Separate settings from config Daniel Karzel 2021-01-27 13:33:32 +11:00
  • 1c1c49071c
    Rename files that will keep testing against blockchain consensus Franck Royer 2021-01-28 10:54:35 +11:00
  • 73f89fefda
    Merge #159 bors[bot] 2021-01-27 11:53:29 +00:00
  • 2073e88683
    Remove wrapping if ReadOneError when unnecessary Franck Royer 2021-01-27 14:33:43 +11:00
  • 2929a8f101
    Use the correct protocol support Franck Royer 2021-01-27 14:27:59 +11:00
  • b62ef9c2d9
    Harmonizing naming Franck Royer 2021-01-27 14:25:45 +11:00
  • 8fd2620b83
    Improve names for messages 4 and 5 Franck Royer 2021-01-27 14:14:20 +11:00
  • c896bdbac6
    Use --test-threads and not -j (only affect build) Franck Royer 2021-01-27 10:41:41 +11:00
  • 5abb1ce20a
    Remove dial connection timeout Franck Royer 2021-01-22 19:46:45 +11:00
  • 741f97efff
    Log state on failure Franck Royer 2021-01-22 19:43:28 +11:00
  • 70bf0f59f6
    Give more time for bob to dial Alice in CI Franck Royer 2021-01-22 17:33:21 +11:00
  • 8b72218993 Update recovery function names to reflect new functionality rishflab 2021-01-22 17:23:00 +11:00