Skip to content

Commit

Permalink
add assumeutxo signet ci job
Browse files Browse the repository at this point in the history
  • Loading branch information
willcl-ark committed Nov 5, 2024
1 parent 4ecc404 commit 047b744
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,19 @@ jobs:
NIX_PATH: nixpkgs=channel:nixos-unstable
run: |
nix-shell --command "just run-ci"
assumeutxo-signet:
needs: [lint, build-and-test]
runs-on: [self-hosted, linux, x64]
timeout-minutes: 120
steps:
- name: Checkout repo
uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run AssumeUTXO
env:
NIX_PATH: nixpkgs=channel:nixos-unstable
UTXO_PATH: /home/satoshi/utxo-signet-160000.dat
run: |
nix-shell --command "just assumeutxo"
9 changes: 9 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ build-dev *args: clean
build-ci: clean
cmake -B build -DBUILD_BENCH=ON
cmake --build build -j {{ num_cpus() }}

# Re-build current config
[group('build')]
rebuild:
Expand Down Expand Up @@ -74,3 +75,11 @@ lint:
# Run the CI workflow
[group('ci')]
run-ci: build-ci bench test

# Run assumeutxo CI workflow
[group('ci')]
run-assumeutxo-signet: build-ci
#build/src/bitcoind -signet -stopatheight=1 -connect=148.251.128.115:55555
build/src/bitcoind -signet -stopatheight=1
build/src/bitcoind -signet -dbcache=16000 -pausebackgroundsync=1 -loadutxosnapshot=$UTXO_PATH
build/src/bitcoind -signet -stopatheight=200000

0 comments on commit 047b744

Please sign in to comment.