Commit Graph

  • e457130b6c Bubble up unrecoverable errors instead of expecting Lucas Soriano del Pino 2020-10-16 11:43:24 +11:00
  • 369770488f Document Reason enum Lucas Soriano del Pino 2020-10-16 11:31:16 +11:00
  • 7d307e581a Fail the swap early if Bitcoin TxLock is never published Lucas Soriano del Pino 2020-10-16 11:25:41 +11:00
  • 9f1bf72c7b Only generate refund action after Bitcoin lock Lucas Soriano del Pino 2020-10-16 11:18:02 +11:00
  • c1f6adc8ed Refund if Alice takes too long to prove that Monero has been locked Lucas Soriano del Pino 2020-10-16 10:54:12 +11:00
  • 176b2195e3 Make ReceiveTransferProof async and take &mut self Lucas Soriano del Pino 2020-10-16 10:49:34 +11:00
  • 3492c46e71 Verify amounts with user Tobin C. Harding 2020-10-16 10:43:32 +11:00
  • 05766d3146 Add swap/ Tobin C. Harding 2020-10-16 09:14:39 +11:00
  • 4723626fc0 Suppress compiler noise in tests folder Lucas Soriano del Pino 2020-10-15 21:53:55 +11:00
  • f0ecc62748 Check expiry before emitting first action Lucas Soriano del Pino 2020-10-15 21:48:08 +11:00
  • df4ffb65c9 Make bitcoin::WatchForRawTransaction infallible Lucas Soriano del Pino 2020-10-15 21:17:42 +11:00
  • ba3011a9c9 Trigger refund if the publication of Monero TxLock takes too long Lucas Soriano del Pino 2020-10-15 18:34:55 +11:00
  • 08be87747f Configure exponential backoff so that it never stops retrying Lucas Soriano del Pino 2020-10-15 18:34:13 +11:00
  • 15f7932f7f Replace monero::CheckTransfer with monero::WatchForTransfer Lucas Soriano del Pino 2020-10-15 13:10:31 +11:00
  • 5daa3ea9a8 [WIP] Generate actions for Bob's on-chain protocol Lucas Soriano del Pino 2020-10-12 17:17:22 +11:00
  • e2bf429fb7
    Merge pull request #11 from comit-network/gpl-v3 Philipp Hoenisch 2020-10-12 17:16:38 +11:00
  • 753a049952
    Change license to GPLv3 Philipp Hoenisch 2020-10-12 17:13:25 +11:00
  • 330bd1f22c Add initial swap binary crate Tobin C. Harding 2020-10-12 13:19:23 +11:00
  • 1ee060b535
    Merge pull request #9 from comit-network/re-order-send-recv Philipp Hoenisch 2020-10-12 13:07:35 +11:00
  • fc12b0d9fd Re-order send/receive Tobin C. Harding 2020-10-12 08:53:21 +11:00
  • 911ff396db
    Merge pull request #3 from comit-network/readme Tobin C. Harding 2020-10-12 07:35:55 +11:00
  • 36608657a5
    Merge pull request #2 from comit-network/async-squashed rishflab 2020-10-09 12:14:45 +11:00
  • c778f4e204 Remove incorrect todo rishflab 2020-10-09 11:46:33 +11:00
  • 2c6bb8fa19 Remove redundant attribute rishflab 2020-10-09 10:45:35 +11:00
  • 51760041f0 Remove duplicated macro definitions rishflab 2020-10-09 10:17:36 +11:00
  • 666c121bb3 Implement transport traits with generics rishflab 2020-10-09 09:46:24 +11:00
  • bf576bf251 Move test functions out of lib rishflab 2020-10-09 09:28:51 +11:00
  • 61a8a3e428 Improve formatting of tests rishflab 2020-10-09 08:56:20 +11:00
  • 9f046944a5 Add context to log messages rishflab 2020-10-09 08:49:17 +11:00
  • 48e5eb8d6c Remove redundant type declarations rishflab 2020-10-09 08:48:00 +11:00
  • 154b3edcf9 Split SendReceive into seperate traits rishflab 2020-10-08 17:00:31 +11:00
  • 6b7193b974 Fix clippy warnings rishflab 2020-10-08 16:18:34 +11:00
  • 697e1195cd Fix Cargo.toml fmt rishflab 2020-10-08 16:07:49 +11:00
  • a759f39b1d Fix module ambiguity in tests rishflab 2020-10-08 11:49:53 +11:00
  • 36ed3a0b8b Rename ImportOutput to reflect purpose rishflab 2020-10-08 11:27:54 +11:00
  • 213034dc1f Remove unused clone from states rishflab 2020-10-08 11:21:21 +11:00
  • d01c05e5f5 Use intellij rust gitignore rishflab 2020-10-08 11:08:48 +11:00
  • 25edd90fb0 Remove empty lines between imports rishflab 2020-10-08 11:07:37 +11:00
  • 4e031ff9a2 Loop on blockchain call instead of delaying rishflab 2020-10-08 10:53:30 +11:00
  • f6f4ec2bdb Fix dependencies rishflab 2020-10-07 11:32:13 +11:00
  • 148e49a959 Remove redundant lifetime parameter rishflab 2020-10-07 11:26:38 +11:00
  • 8754a9931b Execute Alice and Bob state machines concurrently rishflab 2020-09-29 15:36:50 +10:00
  • 3d3864807d
    Merge pull request #7 from comit-network/debug-ci Tobin C. Harding 2020-10-09 11:31:33 +11:00
  • e17575304b Add 60 sleep to workflow Tobin C. Harding 2020-10-09 11:05:04 +11:00
  • 2064bfed5b Revert "Merge pull request #5 from comit-network/fix-ci" Tobin C. Harding 2020-10-09 09:57:28 +11:00
  • bfeb460073 Fix typo Tobin C. Harding 2020-10-09 09:49:39 +11:00
  • 30767ec755 Move alice/bob definition comment Tobin C. Harding 2020-10-09 09:46:44 +11:00
  • 1f89ea122e Fix embedded image Tobin C. Harding 2020-10-09 09:40:26 +11:00
  • 861dcc4a56 Update README Tobin C. Harding 2020-10-09 09:34:24 +11:00
  • b343075353 Add messaging layer Tobin C. Harding 2020-10-08 16:05:42 +11:00
  • 3b0b722d46
    Merge pull request #5 from comit-network/fix-ci Philipp Hoenisch 2020-10-08 15:51:22 +11:00
  • e8ffed6979 Run CI tests on one thread rishflab 2020-10-08 15:37:39 +11:00
  • 725e4bdd5c Use msg instead of message Tobin C. Harding 2020-10-08 14:52:18 +11:00
  • 654cc03e47 Test cli rishflab 2020-10-08 14:11:46 +11:00
  • 971ad6e866 Be uniform in wallet names Tobin C. Harding 2020-10-08 13:50:49 +11:00
  • 08cb837295 Ues a_ and b_ instead of alice/bob Tobin C. Harding 2020-10-08 13:49:41 +11:00
  • b151d95fa2 Duplicate the happy path test to a new module Tobin C. Harding 2020-10-08 13:44:40 +11:00
  • 65b0e54a5f Add a README.md file Tobin C. Harding 2020-10-08 09:12:17 +11:00
  • 93f1d960f5
    Merge pull request #1 from comit-network/actual-work Lucas Soriano 2020-09-28 17:56:48 +10:00
  • b9c202efc9 Remove redundant license Lucas Soriano del Pino 2020-09-28 17:18:02 +10:00
  • 1f99cf001c Swap Monero for Bitcoin Lucas Soriano del Pino 2020-09-28 16:18:50 +10:00
  • 818e522bd4
    Initial commit rishflab 2020-09-28 15:55:08 +10:00