Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
890cb45
refactor: add bdk_wallet
tvpeter Feb 3, 2025
4c89cbf
refactor:update imports from bdk to use bdk_wallet
tvpeter Feb 3, 2025
ddce50d
refactor: update imports from bdk to bdk_wallet
tvpeter Feb 3, 2025
91f5918
refactor: update imports from bdk to bdk_wallet
tvpeter Feb 3, 2025
b56c023
refactor: update imports from bdk to bd_wallet
tvpeter Feb 3, 2025
6f263bf
feat!: replace bdk with bdk_wallet & update deps
tvpeter Feb 6, 2025
b8d2357
feat: add custom error enum
tvpeter Feb 6, 2025
50233dd
refactor: replace bdk::error with custom error
tvpeter Feb 6, 2025
cb4450b
refactor: update imports and reserves feature
tvpeter Feb 8, 2025
58f07a1
refactor: update nodes.rs file
tvpeter Feb 11, 2025
440bd36
refactor: update creating_backend fn
tvpeter Feb 12, 2025
0be8453
refactor: update onlinewalletsubcommands
tvpeter Feb 18, 2025
50a6a60
refactor: remove rpc, cbf, cleanup features
notmandatory Feb 13, 2025
a2ad6b3
feat: add ci test for features
tvpeter Feb 21, 2025
8ac2529
ci: update the CI workflow
tvpeter Feb 21, 2025
8307db0
feat: re-enable `rpc` feature
tvpeter Mar 5, 2025
cb10873
refactor: fix error handling
tvpeter Mar 8, 2025
92cabb1
ci: update actions checkout and cache to v4, simplify matrix features
notmandatory Mar 12, 2025
efc5fc5
ci: fix clippy errors
notmandatory Mar 12, 2025
eb947fc
ci: with msrv 1.75 pin minreq to 2.13.2
notmandatory Mar 12, 2025
4a66557
ci: remove WASM job, fix more clippy errors
notmandatory Mar 12, 2025
fb7232f
rpc: print status during full_scan and sync
notmandatory Mar 12, 2025
524562c
fix: signing / finalizing `psbt`
tvpeter Mar 14, 2025
e0bd147
fix: clippy errors
notmandatory Apr 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
security_audit:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/audit-check@v1
- uses: actions/checkout@v4
- uses: actions-rust-lang/audit@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
9 changes: 3 additions & 6 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install rustup
run: curl https://sh.rustup.rs -sSf | sh -s -- -y
Expand All @@ -32,11 +32,8 @@ jobs:
- name: Test Electrum
run: cargo test --features electrum

- name: Test Esplora-Ureq
run: cargo test --features esplora-ureq

- name: Test Esplora-reqwest
run: cargo test --features esplora-reqwest
- name: Test Esplora
run: cargo test --features esplora

# Temporarily disable compact filters
#- name: Test Compact Filters
Expand Down
115 changes: 50 additions & 65 deletions .github/workflows/cont_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,19 @@ jobs:
strategy:
matrix:
rust:
- 1.65.0 # STABLE
- 1.57.0 # MSRV
- stable # STABLE
- 1.75.0 # MSRV
features:
- default
- electrum,sqlite-db
- electrum,key-value-db
- electrum
- esplora-ureq,sqlite-db
- esplora-reqwest,sqlite-db
- compiler,sqlite-db
#- compact_filters,sqlite-db # Compact Filters temporarily disabled
- rpc,sqlite-db
- reserves,electrum,sqlite-db
- electrum,verify,sqlite-db
# regtest-* features are experimental and not fully usable
- regtest-bitcoin,sqlite-db
- regtest-electrum,sqlite-db

- --features default
- --no-default-features
- --all-features
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Generate cache key
run: echo "${{ matrix.rust }} ${{ matrix.features }}" | tee .cache_key
- name: Cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
Expand All @@ -48,65 +36,62 @@ jobs:
profile: minimal
override: true
components: rustfmt, clippy
- name: Pin dependencies for MSRV
if: matrix.rust == '1.57.0'
- name: If Rust 1.75 remove and update Cargo.lock
if: matrix.rust == '1.75.0'
run: |
rm Cargo.lock
cargo update
cargo update -p log --precise 0.4.18
cargo update -p hashlink --precise 0.8.0
cargo update -p tempfile --precise 3.6.0
cargo update -p base64ct --precise 1.5.3
cargo update -p cc --precise 1.0.81
cargo update -p tokio --precise 1.29.1
cargo update -p flate2 --precise 1.0.26
- name: If Rust 1.75 pin dependencies
if: matrix.rust == '1.75.0'
run: ./ci/pin-msrv.sh
- name: Build
run: cargo build --no-default-features --features repl,${{ matrix.features }} --locked
run: cargo build ${{ matrix.features }}
- name: Clippy
run: cargo clippy -- -D warnings
- name: Test
run: cargo test --no-default-features --features repl,${{ matrix.features }}
run: cargo test ${{ matrix.features }}

wasm-build:
name: Build WASM
runs-on: ubuntu-latest
env:
CC: clang-10
CFLAGS: -I/usr/include
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Generate cache key
run: echo "Build WASM" | tee .cache_key
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('.cache_key') }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
# Install a recent version of clang that supports wasm32
- run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - || exit 1
- run: sudo apt-add-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-10 main" || exit 1
- run: sudo apt-get update || exit 1
- run: sudo apt-get install -y libclang-common-10-dev clang-10 libc6-dev-i386 || exit 1
- name: Set default toolchain
run: rustup default 1.65.0
- name: Set profile
run: rustup set profile minimal
- name: Add target wasm32
run: rustup target add wasm32-unknown-unknown
- name: Update toolchain
run: rustup update
- name: Build
run: cargo build --target wasm32-unknown-unknown --no-default-features --features esplora-reqwest,async-interface,compiler,dev-getrandom-wasm
# TODO: fix or remove this
# wasm-build:
# name: Build WASM
# runs-on: ubuntu-20.04
# env:
# CC: clang-10
# CFLAGS: -I/usr/include
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Generate cache key
# run: echo "Build WASM" | tee .cache_key
# - name: Cache
# uses: actions/cache@v4
# with:
# path: |
# ~/.cargo/registry
# ~/.cargo/git
# target
# key: ${{ runner.os }}-cargo-${{ hashFiles('.cache_key') }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
# # Install a recent version of clang that supports wasm32
# - run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - || exit 1
# - run: sudo apt-get update || exit 1
# - run: sudo apt-get install -y libclang-common-10-dev clang-10 libc6-dev-i386 || exit 1
# - name: Set default toolchain
# run: rustup default stable
# - name: Set profile
# run: rustup set profile minimal
# - name: Add target wasm32
# run: rustup target add wasm32-unknown-unknown
# - name: Update toolchain
# run: rustup update
# - name: Build
# run: cargo build --target wasm32-unknown-unknown --no-default-features --features esplora,compiler,dev-getrandom-wasm

fmt:
name: Rust fmt
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Rust Toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down
Loading
Loading