Skip to content

Add getTransactionsByTxID() and getTransactionsByWitnessID() #29

Add getTransactionsByTxID() and getTransactionsByWitnessID()

Add getTransactionsByTxID() and getTransactionsByWitnessID() #29

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install Bitcoin Dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential cmake pkgconf python3 libevent-dev libboost-dev capnproto libcapnp-dev
- name: Checkout Bitcoin Core
run: |
git clone --depth 1 https://github.com/bitcoin/bitcoin.git
# DO NOT MERGE: switch to bitcoin/bitcoin#34020 PR branch
cd bitcoin
git fetch --depth 1 origin pull/34020/head:pr-34020
git checkout pr-34020
- name: Build Bitcoin Core
run: cd bitcoin && cmake -B build -DENABLE_WALLET=ON -DBUILD_TESTS=OFF && cmake --build build -j 16
- name: Run Bitcoin Core Daemon
run: cd bitcoin && ./build/bin/bitcoin node -chain=regtest -ipcbind=unix -server -debug=ipc -daemon
- name: Run Test Suite
env:
BITCOIN_BIN: ${{ github.workspace }}/bitcoin/build/bin/bitcoin
run: cargo test