Skip to content

Commit

Permalink
pick btcd, lnd and lightningd-gjson-rpc versions with fixes for Bitco…
Browse files Browse the repository at this point in the history
…in Core 28.0
  • Loading branch information
1ma authored and fiatjaf committed Nov 14, 2024
1 parent 87e7b8b commit 92e6f21
Show file tree
Hide file tree
Showing 6 changed files with 136 additions and 1,054 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ name: continuous integration
on: push

env:
BITCOIN_CORE_VERSION: '27.2'
CORE_LIGHTNING_VERSION: '24.08.2'
GO_VERSION: '1.22'
GO_VERSION: '1.23'
PYTHON_VERSION: '3.13'

jobs:
Expand All @@ -20,10 +19,19 @@ jobs:
- run: go test -v

integration-tests:
name: Integration tests on Bitcoin Core ${{ matrix.bitcoin-core-version }}
runs-on: ubuntu-24.04
env:
VENV_PATH: venv
BITCOIN_CORE_VERSION: ${{ matrix.bitcoin-core-version }}
VALGRIND: 0
strategy:
fail-fast: false
matrix:
bitcoin-core-version:
- '25.2'
- '26.2'
- '27.2'
- '28.0'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand All @@ -36,8 +44,10 @@ jobs:
- run: .github/scripts/install-bitcoind.sh
- run: .github/scripts/install-cln.sh
- run: |
python -m venv ${{ env.VENV_PATH }}
echo "${{ env.VENV_PATH }}/bin" >> $GITHUB_PATH
source ${{ env.VENV_PATH }}/bin/activate
pip install -r requirements.txt
python -m venv venv
echo "venv/bin" >> $GITHUB_PATH
source venv/bin/activate
pip install pip-tools
pip-compile --strip-extras
pip-sync
- run: pytest
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
__pycache__/
dist/
requirements.txt
trustedcoin
venv/
60 changes: 32 additions & 28 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,62 +1,66 @@
module github.com/nbd-wtf/trustedcoin

go 1.22
go 1.23

require (
github.com/btcsuite/btcd v0.24.2
github.com/btcsuite/btcd/btcutil v1.1.5
github.com/btcsuite/btcd v0.24.3-0.20240921052913-67b8efd3ba53
github.com/btcsuite/btcd/btcutil v1.1.6
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0
github.com/fiatjaf/lightningd-gjson-rpc v1.6.3
github.com/fiatjaf/lightningd-gjson-rpc v1.6.4-0.20241113234716-c08cd810b4d5
)

require (
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect
github.com/aead/siphash v1.0.1 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.3 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect
github.com/btcsuite/btcd/btcutil/psbt v1.1.9 // indirect
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f // indirect
github.com/btcsuite/btcwallet v0.16.10-0.20240706055350-e391a1c31df2 // indirect
github.com/btcsuite/btcwallet/wallet/txauthor v1.3.4 // indirect
github.com/btcsuite/btcwallet/wallet/txrules v1.2.1 // indirect
github.com/btcsuite/btcwallet/wallet/txsizes v1.2.4 // indirect
github.com/btcsuite/btcwallet/walletdb v1.4.2 // indirect
github.com/btcsuite/btcwallet/wtxmgr v1.5.3 // indirect
github.com/btcsuite/btclog v0.0.0-20241017175713-3428138b75c7 // indirect
github.com/btcsuite/btclog/v2 v2.0.0-20241017175713-3428138b75c7 // indirect
github.com/btcsuite/btcwallet v0.16.10-0.20240912233857-ffb143c77cc5 // indirect
github.com/btcsuite/btcwallet/wallet/txauthor v1.3.5 // indirect
github.com/btcsuite/btcwallet/wallet/txrules v1.2.2 // indirect
github.com/btcsuite/btcwallet/wallet/txsizes v1.2.5 // indirect
github.com/btcsuite/btcwallet/walletdb v1.4.4 // indirect
github.com/btcsuite/btcwallet/wtxmgr v1.5.4 // indirect
github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd // indirect
github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792 // indirect
github.com/btcsuite/winsvc v1.0.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/decred/dcrd/crypto/blake256 v1.0.1 // indirect
github.com/decred/dcrd/crypto/blake256 v1.1.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
github.com/decred/dcrd/lru v1.1.3 // indirect
github.com/go-errors/errors v1.5.1 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/jessevdk/go-flags v1.6.1 // indirect
github.com/jrick/logrotate v1.0.0 // indirect
github.com/jrick/logrotate v1.1.2 // indirect
github.com/kkdai/bstream v1.0.0 // indirect
github.com/klauspost/compress v1.17.9 // indirect
github.com/lightninglabs/gozmq v0.0.0-20191113021534-d20a764486bf // indirect
github.com/lightninglabs/neutrino v0.16.1-0.20240425105051-602843d34ffd // indirect
github.com/lightninglabs/neutrino/cache v1.1.2 // indirect
github.com/lightningnetwork/lnd v0.18.2-beta // indirect
github.com/lightningnetwork/lightning-onion v1.2.1-0.20240712235311-98bd56499dfb // indirect
github.com/lightningnetwork/lnd v0.18.0-beta.rc4.0.20241111141603-4f6b510869ab // indirect
github.com/lightningnetwork/lnd/clock v1.1.1 // indirect
github.com/lightningnetwork/lnd/fn v1.1.0 // indirect
github.com/lightningnetwork/lnd/fn v1.2.5 // indirect
github.com/lightningnetwork/lnd/queue v1.1.1 // indirect
github.com/lightningnetwork/lnd/ticker v1.1.1 // indirect
github.com/lightningnetwork/lnd/tlv v1.2.6 // indirect
github.com/lightningnetwork/lnd/tor v1.1.3 // indirect
github.com/miekg/dns v1.1.61 // indirect
github.com/lightningnetwork/lnd/tlv v1.2.7 // indirect
github.com/lightningnetwork/lnd/tor v1.1.4 // indirect
github.com/miekg/dns v1.1.62 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
github.com/stretchr/testify v1.9.0 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
github.com/tidwall/gjson v1.17.1 // indirect
github.com/tidwall/gjson v1.18.0 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.1 // indirect
golang.org/x/crypto v0.25.0 // indirect
golang.org/x/exp v0.0.0-20240707233637-46b078467d37 // indirect
golang.org/x/mod v0.19.0 // indirect
golang.org/x/net v0.27.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.22.0 // indirect
golang.org/x/term v0.22.0 // indirect
golang.org/x/tools v0.23.0 // indirect
golang.org/x/crypto v0.29.0 // indirect
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect
golang.org/x/mod v0.22.0 // indirect
golang.org/x/net v0.31.0 // indirect
golang.org/x/sync v0.9.0 // indirect
golang.org/x/sys v0.27.0 // indirect
golang.org/x/term v0.26.0 // indirect
golang.org/x/tools v0.27.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 92e6f21

Please sign in to comment.