mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Revert "Merge branch 'master' into master" (#1730)
This reverts commitce8d3afe60
, reversing changes made to75cfc6b0d4
.
This commit is contained in:
parent
ce8d3afe60
commit
2eda2476eb
53
.github/workflows/build-release-binaries.yml
vendored
53
.github/workflows/build-release-binaries.yml
vendored
@ -4,9 +4,6 @@ on:
|
|||||||
release:
|
release:
|
||||||
types: [created]
|
types: [created]
|
||||||
|
|
||||||
env:
|
|
||||||
DOCKER_IMAGE_NAME: unstoppableswap/asb
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_binaries:
|
build_binaries:
|
||||||
name: Build
|
name: Build
|
||||||
@ -85,7 +82,7 @@ jobs:
|
|||||||
run: target/${{ matrix.target }}/release/${{ matrix.bin }} --help
|
run: target/${{ matrix.target }}/release/${{ matrix.bin }} --help
|
||||||
|
|
||||||
- id: create-archive-name
|
- id: create-archive-name
|
||||||
shell: python
|
shell: python # Use python to have a prettier name for the archive on Windows.
|
||||||
run: |
|
run: |
|
||||||
import platform
|
import platform
|
||||||
os_info = platform.uname()
|
os_info = platform.uname()
|
||||||
@ -125,51 +122,3 @@ jobs:
|
|||||||
asset_path: ./${{ steps.create-archive-name.outputs.archive }}
|
asset_path: ./${{ steps.create-archive-name.outputs.archive }}
|
||||||
asset_name: ${{ steps.create-archive-name.outputs.archive }}
|
asset_name: ${{ steps.create-archive-name.outputs.archive }}
|
||||||
asset_content_type: application/gzip
|
asset_content_type: application/gzip
|
||||||
|
|
||||||
build_and_push_docker:
|
|
||||||
name: Build and Push Docker Image
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: build_binaries
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4.1.7
|
|
||||||
with:
|
|
||||||
ref: ${{ github.event.release.target_commitish }}
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v2
|
|
||||||
|
|
||||||
- name: Login to DockerHub
|
|
||||||
uses: docker/login-action@v2
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Set Docker tags
|
|
||||||
id: docker_tags
|
|
||||||
run: |
|
|
||||||
if [[ ${{ github.event.release.tag_name }} == "preview" ]]; then
|
|
||||||
echo "::set-output name=preview::true"
|
|
||||||
else
|
|
||||||
echo "::set-output name=preview::false"
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
|
||||||
uses: docker/build-push-action@v4
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
file: ./Dockerfile
|
|
||||||
push: true
|
|
||||||
tags: |
|
|
||||||
${{ env.DOCKER_IMAGE_NAME }}:${{ github.event.release.tag_name }}
|
|
||||||
${{ env.DOCKER_IMAGE_NAME }}:latest
|
|
||||||
if: steps.docker_tags.outputs.preview == 'false'
|
|
||||||
|
|
||||||
- name: Build and push Docker image without latest tag (preview release)
|
|
||||||
uses: docker/build-push-action@v4
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
file: ./Dockerfile
|
|
||||||
push: true
|
|
||||||
tags: ${{ env.DOCKER_IMAGE_NAME }}:${{ github.event.release.tag_name }}
|
|
||||||
if: steps.docker_tags.outputs.preview == 'true'
|
|
||||||
|
@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- ASB: The `history` command can now be used while the asb is running.
|
- ASB: The `history` command can now be used while the asb is running.
|
||||||
|
|
||||||
## [0.13.3] - 2024-07-22
|
## [0.13.3] - 2024-07-15
|
||||||
|
|
||||||
- Introduced a cooperative Monero redeem feature for Bob to request from Alice if Bob is punished for not refunding in time. Alice can choose to cooperate but is not obligated to do so. This change is backwards compatible. To attempt recovery, resume a swap in the "Bitcoin punished" state. Success depends on Alice being active and still having a record of the swap. Note that Alice's cooperation is voluntary and recovery is not guaranteed
|
- Introduced a cooperative Monero redeem feature for Bob to request from Alice if Bob is punished for not refunding in time. Alice can choose to cooperate but is not obligated to do so. This change is backwards compatible. To attempt recovery, resume a swap in the "Bitcoin punished" state. Success depends on Alice being active and still having a record of the swap. Note that Alice's cooperation is voluntary and recovery is not guaranteed
|
||||||
- CLI: `--change-address` can now be omitted. In that case, any change is refunded to the internal bitcoin wallet.
|
- CLI: `--change-address` can now be omitted. In that case, any change is refunded to the internal bitcoin wallet.
|
||||||
@ -372,10 +372,7 @@ It is possible to migrate critical data from the old db to the sqlite but there
|
|||||||
- Fixed an issue where Alice would not verify if Bob's Bitcoin lock transaction is semantically correct, i.e. pays the agreed upon amount to an output owned by both of them.
|
- Fixed an issue where Alice would not verify if Bob's Bitcoin lock transaction is semantically correct, i.e. pays the agreed upon amount to an output owned by both of them.
|
||||||
Fixing this required a **breaking change** on the network layer and hence old versions are not compatible with this version.
|
Fixing this required a **breaking change** on the network layer and hence old versions are not compatible with this version.
|
||||||
|
|
||||||
[unreleased]: https://github.com/UnstoppableSwap/xmr-btc-swap/compare/0.13.3...HEAD
|
[unreleased]: https://github.com/comit-network/xmr-btc-swap/compare/0.13.3...HEAD
|
||||||
[0.13.3]: https://github.com/UnstoppableSwap/xmr-btc-swap/compare/0.13.3...0.13.3
|
|
||||||
[0.13.3]: https://github.com/UnstoppableSwap/xmr-btc-swap/compare/0.13.3...0.13.3
|
|
||||||
[0.13.3]: https://github.com/UnstoppableSwap/xmr-btc-swap/compare/0.13.3...0.13.3
|
|
||||||
[0.13.3]: https://github.com/comit-network/xmr-btc-swap/compare/0.13.2...0.13.3
|
[0.13.3]: https://github.com/comit-network/xmr-btc-swap/compare/0.13.2...0.13.3
|
||||||
[0.13.2]: https://github.com/comit-network/xmr-btc-swap/compare/0.13.1...0.13.2
|
[0.13.2]: https://github.com/comit-network/xmr-btc-swap/compare/0.13.1...0.13.2
|
||||||
[0.13.1]: https://github.com/comit-network/xmr-btc-swap/compare/0.13.0...0.13.1
|
[0.13.1]: https://github.com/comit-network/xmr-btc-swap/compare/0.13.0...0.13.1
|
||||||
|
18
Dockerfile
18
Dockerfile
@ -1,18 +0,0 @@
|
|||||||
FROM rust:1.59-slim AS builder
|
|
||||||
|
|
||||||
WORKDIR /build
|
|
||||||
|
|
||||||
RUN apt-get update
|
|
||||||
RUN apt-get install -y git clang cmake libsnappy-dev
|
|
||||||
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
RUN cargo build --release --bin=asb
|
|
||||||
|
|
||||||
FROM debian:bullseye-slim
|
|
||||||
|
|
||||||
WORKDIR /data
|
|
||||||
|
|
||||||
COPY --from=builder /build/target/release/asb /bin/asb
|
|
||||||
|
|
||||||
ENTRYPOINT ["asb"]
|
|
Loading…
Reference in New Issue
Block a user