Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
661f8ca
General sweep of Lightning updates
martindale Jun 19, 2025
5f2af9b
Build lightningd from source on Ubuntu
martindale Jun 19, 2025
3dbb7db
Add mako to test action
martindale Jun 19, 2025
d996787
Add numerous lightningd dependencies
martindale Jun 19, 2025
474e6f6
Update Lightning service test
martindale Jun 19, 2025
de3f1f7
Add 2s delay to allow lightningd to perform update
martindale Jun 19, 2025
bedcb2a
Add Rust toolchain to GitHub test action
martindale Jun 19, 2025
d0e585a
Add new network-specific tests
martindale Jun 19, 2025
808c59b
Add bitcoin-cli to GitHub test action
martindale Jun 19, 2025
8399201
Correctly update bitcoin test
martindale Jun 19, 2025
b2c7a8f
Rework GitHub test action
martindale Jun 19, 2025
fbf1591
Compute walletName from rootKey
martindale Jun 23, 2025
a107ee1
Add rpcallowip to Bitcoin configuration
martindale Jun 26, 2025
5070fb8
Use latest packages, fix Bitcoin wallet management
martindale Jul 2, 2025
fefcdd1
Fix several deprecations, add mako to GitHub test action
martindale Jul 2, 2025
80dfb44
Upgrade ZeroMQ
martindale Jul 2, 2025
7c1b153
Update Lightning tests and GitHub action to verify binary
martindale Jul 2, 2025
477e306
Streamline lightning tests, add oxfordJoin function
martindale Jul 2, 2025
e1b6a60
Use latest packages, update install report
martindale Jul 18, 2025
4458ecd
Add PATCH message type
martindale Jul 20, 2025
7373d95
Use latest packages
martindale Jul 20, 2025
58b2308
Use latest packages
martindale Jul 23, 2025
f140fcb
Update a number of dependencies
martindale Jul 23, 2025
98c2657
General snapshot
martindale Oct 11, 2025
1ed4e0c
Add errors.h
martindale Oct 11, 2025
108ced2
Add threads.h
martindale Oct 11, 2025
0df8404
Add scoring.h
martindale Oct 11, 2025
3e26b2f
Add timing_protection.h
martindale Oct 11, 2025
df5834d
Fix peer test failures: prevent double peer event emission and improv…
martindale Oct 11, 2025
d600c23
Add settings/local.js to .gitignore
martindale Oct 11, 2025
472de91
Add secp256k1 to GitHub test action
martindale Oct 11, 2025
e054a0b
Update API.md
martindale Oct 26, 2025
85009a5
Update package-lock.json
martindale Oct 26, 2025
a30fb3b
Add threads.c
martindale Oct 27, 2025
99a98db
Add scoring.c
martindale Oct 27, 2025
1260a2f
Remove extraneous stream definition
martindale Oct 27, 2025
179d23b
Update install report
martindale Oct 28, 2025
55bf5b4
Update return value for threads
martindale Nov 13, 2025
07bbeb4
Cast to void
martindale Nov 13, 2025
5904eee
Simplify implementation
martindale Nov 13, 2025
c31e3cb
Add callback to error macros
martindale Nov 13, 2025
07ba48a
Add protocol.h
martindale Nov 13, 2025
63d246b
Add noise.h
martindale Nov 13, 2025
9dd2f55
Add secure_random.h
martindale Nov 13, 2025
0add481
Add secure_memory.h
martindale Nov 13, 2025
bfbe0c3
Add validation.h
martindale Nov 13, 2025
86bf123
Add datadir.h
martindale Nov 13, 2025
38840ac
Update install report
martindale Nov 18, 2025
5c1d625
Update install report
martindale Nov 23, 2025
22787c2
Begin adding Lightning Message types
martindale Nov 23, 2025
4397339
Revert to ecpair 2.1.0
martindale Dec 5, 2025
e342ae9
Add correct package.json
martindale Dec 5, 2025
e8204f5
Correct package-lock.json for ecpair change
martindale Dec 5, 2025
4c6e58b
Update API
martindale Dec 6, 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
56 changes: 55 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,71 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install secp256k1 dependencies
run: sudo apt-get update && sudo apt-get install -y libsecp256k1-dev
- name: Install dependencies
run: npm run report:install
- name: Download and install bitcoind
run: |
if [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
wget https://bitcoin.org/bin/bitcoin-core-28.0/bitcoin-28.0-x86_64-linux-gnu.tar.gz
tar -xzf bitcoin-28.0-x86_64-linux-gnu.tar.gz
sudo mv bitcoin-28.0/bin/bitcoind /usr/local/bin/
sudo mv bitcoin-28.0/bin/bitcoind bitcoin-28.0/bin/bitcoin-cli /usr/local/bin/
else
brew install bitcoin
fi
- name: Install Rust toolchain
if: matrix.os == 'ubuntu-latest'
uses: dtolnay/[email protected]
- name: Install lightningd
run: |
if [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
# Install dependencies
sudo apt-get update
sudo apt-get install -y \
autoconf automake build-essential git libtool python3 python3-pip \
net-tools zlib1g-dev libsqlite3-dev libgmp-dev libsodium-dev gettext

# Install Python dependencies for wire generation
pip3 install mako

# Clone and build Core Lightning v25.05
git clone https://github.com/ElementsProject/lightning.git
cd lightning
git checkout v25.05
./configure
make -j$(nproc)
sudo make install

# Verify installation and add to PATH
which lightningd || echo "lightningd not found in PATH"
ls -la /usr/local/bin/lightningd || echo "lightningd not found in /usr/local/bin"
sudo ln -sf /usr/local/bin/lightningd /usr/bin/lightningd || true
echo "Lightning Network installation completed"
else
brew install lightning

# Verify installation
which lightningd || echo "lightningd not found in PATH"
lightningd --version || echo "lightningd version check failed"
echo "Lightning Network installation completed"
fi
- name: Verify lightningd installation
run: |
echo "Checking lightningd installation..."
if command -v lightningd &> /dev/null; then
echo "✅ lightningd is available in PATH"
lightningd --version || echo "⚠️ lightningd version check failed"
else
echo "❌ lightningd not found in PATH"
echo "PATH: $PATH"
echo "Searching for lightningd..."
find /usr -name lightningd 2>/dev/null || echo "No lightningd found in /usr"
find /usr/local -name lightningd 2>/dev/null || echo "No lightningd found in /usr/local"
if [ "${{ matrix.os }}" = "macos-latest" ]; then
find /opt/homebrew -name lightningd 2>/dev/null || echo "No lightningd found in /opt/homebrew"
fi
fi
- name: Generate coverage report
run: npm run report:coverage
- name: Send coverage report
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ assets/app.js
assets/service.js
# Minified fabric.js bundle
assets/fabric.min.js

# Local Settings
settings/local.js
# Hide bitcoin node blocks
stores

Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "external/mcl"]
path = external/mcl
url = https://github.com/herumi/mcl
Loading
Loading