Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Accept trade from trading-service #52

Closed
LLFourn opened this issue May 21, 2018 · 0 comments
Closed

Accept trade from trading-service #52

LLFourn opened this issue May 21, 2018 · 0 comments

Comments

@LLFourn
Copy link
Collaborator

LLFourn commented May 21, 2018

As the exchange service, when the trading service proposes a trade, I:

  • store info from trading service (later to be used to generate HTLC)
  • generate an ETH refund address for the exchange service
  • Calculate the timeout depending on the BTC max timeout from trading-service AND exchange service's minimum time needed to redeem.

suggested:
ETH_HTLC_TIME = BTC_HTLC_TIME - EXCHANGE_BUFFER_TIME_NEEDED

@D4nte D4nte closed this as completed Jun 13, 2018
bors bot added a commit that referenced this issue Nov 29, 2019
1703: Bump anyhow from 1.0.23 to 1.0.25 r=thomaseizinger a=dependabot-preview[bot]

Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.23 to 1.0.25.
<details>
<summary>Release notes</summary>

*Sourced from [anyhow's releases](https://github.com/dtolnay/anyhow/releases).*

> ## 1.0.25
> - Add no-std support ([#53](https://github-redirect.dependabot.com/dtolnay/anyhow/issues/53))
> 
>   In no_std mode, the same API is almost all available and works the same way. To depend on Anyhow in no_std mode, disable our default enabled "std" feature in Cargo.toml. A global allocator is required.
> 
>   ```toml
>   [dependencies]
>   anyhow = { version = "1.0", default-features = false }
>   ```
> 
>   Since the `?`-based error conversions would normally rely on the `std::error::Error` trait which is only available through std, no_std mode will require an explicit `.map_err(Error::msg)` when working with a non-Anyhow error type inside a function that returns Anyhow's error type.
> 
> ## 1.0.24
> - Preserve cause chain when converting from Box\<dyn StdError + Send + Sync\> to anyhow::Error ([#50](https://github-redirect.dependabot.com/dtolnay/anyhow/issues/50))
> - Work around bug in NixOS package infrastructure ([#49](https://github-redirect.dependabot.com/dtolnay/anyhow/issues/49))
</details>
<details>
<summary>Commits</summary>

- [`3cd0fcb`](dtolnay/anyhow@3cd0fcb) Release 1.0.25
- [`55343b9`](dtolnay/anyhow@55343b9) Merge pull request [#53](https://github-redirect.dependabot.com/dtolnay/anyhow/issues/53) from dtolnay/nostd
- [`10156dd`](dtolnay/anyhow@10156dd) Require minimum rustc 1.36 to use alloc
- [`3f134b2`](dtolnay/anyhow@3f134b2) Test no-std support in CI
- [`9d944e6`](dtolnay/anyhow@9d944e6) Document no-std support
- [`60c88bc`](dtolnay/anyhow@60c88bc) Expose reduced API in no_std mode
- [`bacf886`](dtolnay/anyhow@bacf886) Import from core where possible
- [`e48b330`](dtolnay/anyhow@e48b330) Merge pull request [#52](https://github-redirect.dependabot.com/dtolnay/anyhow/issues/52) from dtolnay/quoted
- [`2e711d6`](dtolnay/anyhow@2e711d6) Remove std dependency from context's Debug impl
- [`4f123ae`](dtolnay/anyhow@4f123ae) Remove need for allow(unused_imports)
- Additional commits viewable in [compare view](dtolnay/anyhow@1.0.23...1.0.25)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.23&new-version=1.0.25)](https://dependabot.com/compatibility-score.html?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.23&new-version=1.0.25)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
bors bot added a commit that referenced this issue Dec 8, 2019
1748: Bump anyhow from 1.0.23 to 1.0.25 r=mergify[bot] a=dependabot-preview[bot]

Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.23 to 1.0.25.
<details>
<summary>Release notes</summary>

*Sourced from [anyhow's releases](https://github.com/dtolnay/anyhow/releases).*

> ## 1.0.25
> - Add no-std support ([#53](https://github-redirect.dependabot.com/dtolnay/anyhow/issues/53))
> 
>   In no_std mode, the same API is almost all available and works the same way. To depend on Anyhow in no_std mode, disable our default enabled "std" feature in Cargo.toml. A global allocator is required.
> 
>   ```toml
>   [dependencies]
>   anyhow = { version = "1.0", default-features = false }
>   ```
> 
>   Since the `?`-based error conversions would normally rely on the `std::error::Error` trait which is only available through std, no_std mode will require an explicit `.map_err(Error::msg)` when working with a non-Anyhow error type inside a function that returns Anyhow's error type.
> 
> ## 1.0.24
> - Preserve cause chain when converting from Box\<dyn StdError + Send + Sync\> to anyhow::Error ([#50](https://github-redirect.dependabot.com/dtolnay/anyhow/issues/50))
> - Work around bug in NixOS package infrastructure ([#49](https://github-redirect.dependabot.com/dtolnay/anyhow/issues/49))
</details>
<details>
<summary>Commits</summary>

- [`3cd0fcb`](dtolnay/anyhow@3cd0fcb) Release 1.0.25
- [`55343b9`](dtolnay/anyhow@55343b9) Merge pull request [#53](https://github-redirect.dependabot.com/dtolnay/anyhow/issues/53) from dtolnay/nostd
- [`10156dd`](dtolnay/anyhow@10156dd) Require minimum rustc 1.36 to use alloc
- [`3f134b2`](dtolnay/anyhow@3f134b2) Test no-std support in CI
- [`9d944e6`](dtolnay/anyhow@9d944e6) Document no-std support
- [`60c88bc`](dtolnay/anyhow@60c88bc) Expose reduced API in no_std mode
- [`bacf886`](dtolnay/anyhow@bacf886) Import from core where possible
- [`e48b330`](dtolnay/anyhow@e48b330) Merge pull request [#52](https://github-redirect.dependabot.com/dtolnay/anyhow/issues/52) from dtolnay/quoted
- [`2e711d6`](dtolnay/anyhow@2e711d6) Remove std dependency from context's Debug impl
- [`4f123ae`](dtolnay/anyhow@4f123ae) Remove need for allow(unused_imports)
- Additional commits viewable in [compare view](dtolnay/anyhow@1.0.23...1.0.25)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.23&new-version=1.0.25)](https://dependabot.com/compatibility-score.html?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.23&new-version=1.0.25)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants