Commit Graph

  • 71e09413aa
    Merge pull request #12 from comit-network/on-chain-protocol Tobin C. Harding 2020-10-22 15:52:41 +1100
  • 79c6c8bbef Sort Cargo.toml lines Tobin C. Harding 2020-10-22 15:02:32 +1100
  • ade0e08db6 Merge branch 'master' into on-chain-protocol Tobin C. Harding 2020-10-22 14:49:55 +1100
  • 97363cb05c Fix build after merge Tobin C. Harding 2020-10-22 14:42:36 +1100
  • f8adf6d7e0 Merge branch 'on-chain-protocol' of github.com:comit-network/xmr-btc-swap into on-chain-protocol Tobin C. Harding 2020-10-22 14:33:16 +1100
  • 19f065575d Do a bunch of cleanups Tobin C. Harding 2020-10-22 14:30:10 +1100
  • 6e34f9c978 Use const TIMEOUT instead of an argument Tobin C. Harding 2020-10-22 14:12:49 +1100
  • cc61079826 Use VerifiedAmounts Tobin C. Harding 2020-10-22 13:55:50 +1100
  • eed5e8e9a4 Move monero serde code to lib Tobin C. Harding 2020-10-22 13:54:13 +1100
  • 30298bdf1f Do some more cleanups Tobin C. Harding 2020-10-22 13:48:30 +1100
  • 2059158dad Bump to libp2p v29 Tobin C. Harding 2020-10-22 13:39:18 +1100
  • ad006fae6a Do a bunch of cleanups Tobin C. Harding 2020-10-22 13:30:07 +1100
  • 0f17ec076c Add message1 Tobin C. Harding 2020-10-22 13:23:12 +1100
  • 5395303a99 Test on-chain protocol happy path Lucas Soriano del Pino 2020-10-22 10:57:42 +1100
  • 04edbc48e3
    Toml format Philipp Hoenisch 2020-10-22 11:49:03 +1100
  • 590834ca24
    A simple clie proposal Philipp Hoenisch 2020-10-22 11:44:13 +1100
  • a0987ee2b8 Use upstream serder for dleq Proof Tobin C. Harding 2020-10-22 11:19:43 +1100
  • ad0d8d5713 Emit message0 out of NB (both parties) Tobin C. Harding 2020-10-22 11:04:49 +1100
  • ad0d563d93 Use Normal secp256k1::Point Tobin C. Harding 2020-10-22 10:37:06 +1100
  • 0ffd6ba96d
    Merge pull request #13 from comit-network/tor Philipp Hoenisch 2020-10-22 10:17:38 +1100
  • fce0ca3dd2 Merge branch 'on-chain-protocol' of github.com:comit-network/xmr-btc-swap into on-chain-protocol Tobin C. Harding 2020-10-22 10:10:37 +1100
  • bb94643943 Remove data from message until Message0 impl serde Tobin C. Harding 2020-10-22 09:58:22 +1100
  • 7dffe4cf5f Implement Clone on states Tobin C. Harding 2020-10-22 09:18:57 +1100
  • 2a07113074 Fix buld after merge of db branch Tobin C. Harding 2020-10-22 08:28:51 +1100
  • 3e0b40c248 Merge branch 'db' into on-chain-protocol Tobin C. Harding 2020-10-22 08:17:54 +1100
  • ae1ea08bb2
    Make it work on CI Philipp Hoenisch 2020-10-21 17:53:49 +1100
  • e1d8a1c39b
    PR feedback integrated Philipp Hoenisch 2020-10-21 09:55:47 +1100
  • e67e940768
    Split authenticated struct into unauthenticated struct to make it usage more obvious Philipp Hoenisch 2020-10-20 16:36:47 +1100
  • a73f1fcc6f
    Start tor from test Philipp Hoenisch 2020-10-20 16:14:10 +1100
  • 39afb4196b Save and recover protocol state from disk rishflab 2020-10-14 09:32:25 +1100
  • 295216a8ee
    Add Tor feature flag and only run test if enabled Philipp Hoenisch 2020-10-20 14:33:32 +1100
  • 5e19949d71
    Add library to create a Tor service via Tor control port Philipp Hoenisch 2020-10-20 11:43:13 +1100
  • ea064c95b4
    Merge pull request #16 from comit-network/update-deps Lucas Soriano 2020-10-21 16:33:35 +1100
  • d3a7689059 Update comment about minimum stack size Lucas Soriano del Pino 2020-10-21 16:10:20 +1100
  • e5ddec76f7 Increase Rust minimum stack size in CI Lucas Soriano del Pino 2020-10-21 15:52:51 +1100
  • 917aabcc03 Increase Rust minimum stack size a lot more Lucas Soriano del Pino 2020-10-21 16:04:41 +1100
  • 8b48191e1c Increase Rust minimum stack size in CI Lucas Soriano del Pino 2020-10-21 15:55:20 +1100
  • a4ed4321b2 Test CI - Do not merge Tobin C. Harding 2020-10-21 15:27:46 +1100
  • 5250e16b64 Update dependency to cross-curve-dleq and ecdsa_fun Lucas Soriano del Pino 2020-10-21 15:28:50 +1100
  • 04e1dca16a Fix dependency to cross-curve-dleq and ecdsa_fun Lucas Soriano del Pino 2020-10-21 15:14:31 +1100
  • e7504de76c Add state0 -> state1 messages Tobin C. Harding 2020-10-21 14:41:50 +1100
  • f22729c5da Derive Clone/ on initial states and messages Tobin C. Harding 2020-10-21 15:02:37 +1100
  • 08ec776daa Move monero/bitcoin modules to files Tobin C. Harding 2020-10-21 13:01:10 +1100
  • aaf1363c05 Refine peer tracker and amounts protocol Tobin C. Harding 2020-10-20 10:10:28 +1100
  • 47eaa44f76 Remove unneeded From<Never> impl Tobin C. Harding 2020-10-16 12:46:47 +1100
  • 40e97ffdc3 Add todo to check amounts calculation Tobin C. Harding 2020-10-16 12:44:53 +1100
  • 50ed74319f Simplify xmr-btc/tests Monero wallet Lucas Soriano del Pino 2020-10-20 12:18:27 +1100
  • 55629838f4 Implement test function that calls action_generator_alice Lucas Soriano del Pino 2020-10-19 10:44:25 +1100
  • 7c99415cff Write action_generator_alice Lucas Soriano del Pino 2020-10-16 17:04:03 +1100
  • 55ea8f23e2 s/{monero,bitcoin}_ledger/{monero,bitcoin}_client/g Lucas Soriano del Pino 2020-10-16 14:17:10 +1100
  • 9d64f3fd29 Watch the blockchain during Bitcoin refund Lucas Soriano del Pino 2020-10-16 14:16:06 +1100
  • 969ca63081 Split RefundBitcoin into CancelBitcoin and RefundBitcoin Lucas Soriano del Pino 2020-10-16 14:06:25 +1100
  • d813957c5a Rename InsufficientXMR to InsufficientXmr Lucas Soriano del Pino 2020-10-16 14:02:47 +1100
  • bae391ff9c Bubble up unrecoverable errors instead of expecting Lucas Soriano del Pino 2020-10-16 11:43:24 +1100
  • 1251681cfd Calculate amounts from BTC Tobin C. Harding 2020-10-16 12:42:47 +1100
  • e457130b6c Bubble up unrecoverable errors instead of expecting Lucas Soriano del Pino 2020-10-16 11:43:24 +1100
  • 369770488f Document Reason enum Lucas Soriano del Pino 2020-10-16 11:31:16 +1100
  • 7d307e581a Fail the swap early if Bitcoin TxLock is never published Lucas Soriano del Pino 2020-10-16 11:25:41 +1100
  • 9f1bf72c7b Only generate refund action after Bitcoin lock Lucas Soriano del Pino 2020-10-16 11:18:02 +1100
  • c1f6adc8ed Refund if Alice takes too long to prove that Monero has been locked Lucas Soriano del Pino 2020-10-16 10:54:12 +1100
  • 176b2195e3 Make ReceiveTransferProof async and take &mut self Lucas Soriano del Pino 2020-10-16 10:49:34 +1100
  • 3492c46e71 Verify amounts with user Tobin C. Harding 2020-10-16 10:43:32 +1100
  • 05766d3146 Add swap/ Tobin C. Harding 2020-10-16 09:14:39 +1100
  • 4723626fc0 Suppress compiler noise in tests folder Lucas Soriano del Pino 2020-10-15 21:53:55 +1100
  • f0ecc62748 Check expiry before emitting first action Lucas Soriano del Pino 2020-10-15 21:48:08 +1100
  • df4ffb65c9 Make bitcoin::WatchForRawTransaction infallible Lucas Soriano del Pino 2020-10-15 21:17:42 +1100
  • ba3011a9c9 Trigger refund if the publication of Monero TxLock takes too long Lucas Soriano del Pino 2020-10-15 18:34:55 +1100
  • 08be87747f Configure exponential backoff so that it never stops retrying Lucas Soriano del Pino 2020-10-15 18:34:13 +1100
  • 15f7932f7f Replace monero::CheckTransfer with monero::WatchForTransfer Lucas Soriano del Pino 2020-10-15 13:10:31 +1100
  • 5daa3ea9a8 [WIP] Generate actions for Bob's on-chain protocol Lucas Soriano del Pino 2020-10-12 17:17:22 +1100
  • e2bf429fb7
    Merge pull request #11 from comit-network/gpl-v3 Philipp Hoenisch 2020-10-12 17:16:38 +1100
  • 753a049952
    Change license to GPLv3 Philipp Hoenisch 2020-10-12 17:13:25 +1100
  • 330bd1f22c Add initial swap binary crate Tobin C. Harding 2020-10-12 13:19:23 +1100
  • 1ee060b535
    Merge pull request #9 from comit-network/re-order-send-recv Philipp Hoenisch 2020-10-12 13:07:35 +1100
  • fc12b0d9fd Re-order send/receive Tobin C. Harding 2020-10-12 08:53:21 +1100
  • 911ff396db
    Merge pull request #3 from comit-network/readme Tobin C. Harding 2020-10-12 07:35:55 +1100
  • 36608657a5
    Merge pull request #2 from comit-network/async-squashed rishflab 2020-10-09 12:14:45 +1100
  • c778f4e204 Remove incorrect todo rishflab 2020-10-09 11:46:33 +1100
  • 2c6bb8fa19 Remove redundant attribute rishflab 2020-10-09 10:45:35 +1100
  • 51760041f0 Remove duplicated macro definitions rishflab 2020-10-09 10:17:36 +1100
  • 666c121bb3 Implement transport traits with generics rishflab 2020-10-09 09:46:24 +1100
  • bf576bf251 Move test functions out of lib rishflab 2020-10-09 09:28:51 +1100
  • 61a8a3e428 Improve formatting of tests rishflab 2020-10-09 08:56:20 +1100
  • 9f046944a5 Add context to log messages rishflab 2020-10-09 08:49:17 +1100
  • 48e5eb8d6c Remove redundant type declarations rishflab 2020-10-09 08:48:00 +1100
  • 154b3edcf9 Split SendReceive into seperate traits rishflab 2020-10-08 17:00:31 +1100
  • 6b7193b974 Fix clippy warnings rishflab 2020-10-08 16:18:34 +1100
  • 697e1195cd Fix Cargo.toml fmt rishflab 2020-10-08 16:07:49 +1100
  • a759f39b1d Fix module ambiguity in tests rishflab 2020-10-08 11:49:53 +1100
  • 36ed3a0b8b Rename ImportOutput to reflect purpose rishflab 2020-10-08 11:27:54 +1100
  • 213034dc1f Remove unused clone from states rishflab 2020-10-08 11:21:21 +1100
  • d01c05e5f5 Use intellij rust gitignore rishflab 2020-10-08 11:08:48 +1100
  • 25edd90fb0 Remove empty lines between imports rishflab 2020-10-08 11:07:37 +1100
  • 4e031ff9a2 Loop on blockchain call instead of delaying rishflab 2020-10-08 10:53:30 +1100
  • f6f4ec2bdb Fix dependencies rishflab 2020-10-07 11:32:13 +1100
  • 148e49a959 Remove redundant lifetime parameter rishflab 2020-10-07 11:26:38 +1100
  • 8754a9931b Execute Alice and Bob state machines concurrently rishflab 2020-09-29 15:36:50 +1000
  • 3d3864807d
    Merge pull request #7 from comit-network/debug-ci Tobin C. Harding 2020-10-09 11:31:33 +1100
  • e17575304b Add 60 sleep to workflow Tobin C. Harding 2020-10-09 11:05:04 +1100
  • 2064bfed5b Revert "Merge pull request #5 from comit-network/fix-ci" Tobin C. Harding 2020-10-09 09:57:28 +1100