Skip to content

Commit

Permalink
Merge pull request #88 from L2-Technology/ldk-108
Browse files Browse the repository at this point in the history
Update balance and open channel api's -- ldk 108, bdk 19
  • Loading branch information
johncantrell97 authored Jun 15, 2022
2 parents 5c145af + eba1b00 commit 235d829
Show file tree
Hide file tree
Showing 24 changed files with 858 additions and 348 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ name: CD
env:
CLI: senseicli
DAEMON: senseid
DOCKER_CLI_EXPERIMENTAL: enabled


jobs:
# This job downloads and stores `cross` as an artifact, so that it can be
Expand Down Expand Up @@ -307,3 +309,34 @@ jobs:
asset_path: ${{ env.DAEMON }}.tar.gz
asset_name: ${{ env.DAEMON }}-${{steps.tag.outputs.tag}}-${{ matrix.target }}.tar.gz
asset_content_type: application/gzip
build:
needs: build-web-admin
name: Build Docker image
runs-on: ubuntu-18.04
steps:
- name: Set VERSION
run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Login to Docker Hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin

- name: Checkout project
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
id: qemu

- name: Setup Docker buildx action
uses: docker/setup-buildx-action@v1
id: buildx

- name: Show available Docker buildx platforms
run: echo ${{ steps.buildx.outputs.platforms }}

- name: Run Docker buildx
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
--tag ${{ secrets.DOCKER_HUB_USER }}/sensei:$VERSION \
--push .
181 changes: 166 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ name = "senseid"
path = "src/main.rs"

[dependencies]
lightning = { version = "0.0.106", features = ["max_level_trace"], git = "https://github.com/lightningdevkit/rust-lightning", rev = "08ab6581f1c6254a7765340c5c7a553db58d3a89" }
lightning-block-sync = { version = "0.0.106", features = [ "rpc-client" ], git = "https://github.com/lightningdevkit/rust-lightning", rev = "08ab6581f1c6254a7765340c5c7a553db58d3a89" }
lightning-invoice = { version = "0.14.0", git = "https://github.com/lightningdevkit/rust-lightning", rev = "08ab6581f1c6254a7765340c5c7a553db58d3a89" }
lightning-net-tokio = { version = "0.0.106", git = "https://github.com/lightningdevkit/rust-lightning", rev = "08ab6581f1c6254a7765340c5c7a553db58d3a89" }
lightning-persister = { version = "0.0.106", git = "https://github.com/lightningdevkit/rust-lightning", rev = "08ab6581f1c6254a7765340c5c7a553db58d3a89" }
lightning-background-processor = { version = "0.0.106", git = "https://github.com/lightningdevkit/rust-lightning", rev = "08ab6581f1c6254a7765340c5c7a553db58d3a89" }
lightning = { version = "0.0.108", features = ["max_level_trace"] }
lightning-block-sync = { version = "0.0.108", features = [ "rpc-client" ] }
lightning-invoice = { version = "0.16.0" }
lightning-net-tokio = { version = "0.0.108" }
lightning-persister = { version = "0.0.108" }
lightning-background-processor = { version = "0.0.108" }
lightning-rapid-gossip-sync = { version = "0.0.108" }
base64 = "0.13.0"
bitcoin = "0.28.1"
bitcoin-bech32 = "0.12"
Expand All @@ -37,7 +38,7 @@ tokio = { version = "1.17", features = [ "io-util", "macros", "rt", "rt-multi-th
log = "0.4.16"
env_logger = "0.9.0"
bitcoincore-rpc = "0.15"
bdk = { git = "https://github.com/bitcoindevkit/bdk", rev = "fbd98b4c5a88a10f8dfc22b4c54187eba4d68afe" }
bdk = "0.19"
tonic = "0.6"
prost = "0.9"
pin-project = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion entity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ path = "src/lib.rs"
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1.0" }
bdk = { git = "https://github.com/bitcoindevkit/bdk", rev = "fbd98b4c5a88a10f8dfc22b4c54187eba4d68afe" }
bdk = "0.19"

[dependencies.sea-orm]
version = "^0.7.1"
Expand Down
Loading

0 comments on commit 235d829

Please sign in to comment.