Skip to content

Commit c6f6d9b

Browse files
authored
Merge pull request #1 from ElementsProject/master
Wizgucci
2 parents 79b959b + 7b1c487 commit c6f6d9b

File tree

2,379 files changed

+19710
-10649
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,379 files changed

+19710
-10649
lines changed

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
Dockerfile
22
contrib/docker/Dockerfile.*
33
target
4+
config.vars
5+
release/
6+
.venv/

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
> [!IMPORTANT]
22
>
3-
> 25.09 FREEZE July 28TH: Non-bugfix PRs not ready by this date will wait for 25.12.
3+
> 25.12 FREEZE October 27th: Non-bugfix PRs not ready by this date will wait for 26.03.
44
>
5-
> RC1 is scheduled on _August 11th_
5+
> RC1 is scheduled on _November 10th_
66
>
7-
> The final release is scheduled for September 1st.
7+
> The final release is scheduled for December 1st.
88
99

1010
## Checklist

.github/workflows/ci.yaml

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- "master"
77
pull_request:
8-
8+
types: [opened, synchronize, edited]
99
concurrency:
1010
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1111
cancel-in-progress: true
@@ -22,6 +22,9 @@ jobs:
2222
name: Pre-build checks
2323
runs-on: ubuntu-22.04
2424
timeout-minutes: 30
25+
if: |
26+
github.event.action != 'edited' ||
27+
contains(github.event.pull_request.body, 'Changelog')
2528
env:
2629
BOLTDIR: bolts
2730
strategy:
@@ -594,25 +597,6 @@ jobs:
594597
cat config.vars
595598
VALGRIND=0 uv run eatmydata pytest tests/ -vvv -n ${PYTEST_PAR} ${PYTEST_OPTS}
596599
597-
check-flake:
598-
name: Check Nix Flake
599-
runs-on: ubuntu-22.04
600-
strategy:
601-
fail-fast: true
602-
steps:
603-
- name: Checkout
604-
uses: actions/checkout@v4
605-
with:
606-
submodules: "recursive"
607-
- name: Check Nix flake inputs
608-
uses: DeterminateSystems/flake-checker-action@v8
609-
- name: Install Nix
610-
uses: cachix/install-nix-action@V27
611-
with:
612-
nix_path: nixpkgs=channel:nixos-24.05
613-
- name: Check flake
614-
run: nix flake check .?submodules=1#
615-
616600
gather:
617601
# A dummy task that depends on the full matrix of tests, and
618602
# signals successful completion. Used for the PR status to pass
@@ -625,19 +609,17 @@ jobs:
625609
- integration-valgrind
626610
- integration-sanitizers
627611
- min-btc-support
628-
- check-flake
629612
if: ${{ always() }}
630613
steps:
631614
- name: Complete
632615
env:
633-
JOB_NAMES: "INTEGRATION CHECK_UNITS VALGRIND SANITIZERS BTC FLAKE"
616+
JOB_NAMES: "INTEGRATION CHECK_UNITS VALGRIND SANITIZERS BTC"
634617
INTEGRATION: ${{ needs.integration.result }}
635618
CHECK_UNITS: ${{ needs['check-units'].result }}
636619
VALGRIND: ${{ needs['integration-valgrind'].result }}
637620
SANITIZERS: ${{ needs['integration-sanitizers'].result }}
638621
DOCS: ${{ needs['update-docs-examples'].result }}
639622
BTC: ${{ needs['min-btc-support'].result }}
640-
FLAKE: ${{ needs['check-flake'].result }}
641623
run: |
642624
failed=""
643625
for name in $JOB_NAMES; do

.github/workflows/pypi.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ jobs:
6767
- name: Install uv
6868
uses: astral-sh/setup-uv@v5
6969

70+
- name: Update pyln versions
71+
id: update-versions
72+
run: |
73+
export VERSION=$(git describe --tags --abbrev=0)
74+
echo "Pyln VERSION: $VERSION"
75+
make update-pyln-versions NEW_VERSION=$VERSION
76+
7077
- name: Publish distribution 📦 to Test PyPI
7178
if: github.repository == 'ElementsProject/lightning' && steps.set-values.outputs.DISTLOCATION == 'test'
7279
env:
@@ -75,7 +82,7 @@ jobs:
7582
run: |
7683
echo "Pyln VERSION: $VERSION"
7784
uv build --package ${{ matrix.PACKAGE }}
78-
uv publish --package ${{ matrix.PACKAGE }} --publish-url https://test.pypi.org/legacy/ --skip-existing
85+
uv publish --publish-url https://test.pypi.org/legacy/ --check-url https://test.pypi.org/simple/
7986
8087
- name: Publish distribution 📦 to PyPI
8188
if: github.repository == 'ElementsProject/lightning' && steps.set-values.outputs.DISTLOCATION == 'prod'
@@ -84,10 +91,6 @@ jobs:
8491
WORKDIR: ${{ matrix.WORKDIR }}
8592
run: |
8693
echo "UV VERSION PUBLISH: $(uv --version)"
87-
cd ${{ env.WORKDIR }}
88-
export VERSION=$(git describe --tags --abbrev=0)
8994
echo "Pyln VERSION: $VERSION"
90-
make upgrade-version NEW_VERSION=$VERSION
91-
cd /github/workspace
9295
uv build --package ${{ matrix.PACKAGE }}
93-
uv publish --package ${{ matrix.PACKAGE }}
96+
uv publish

.github/workflows/readme-rpc-sync.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
run: |
3030
python -m pip install requests mako grpcio-tools
3131
32+
- name: Install uv
33+
uses: astral-sh/setup-uv@v5
34+
3235
- name: Install dependencies
3336
run: bash -x .github/scripts/setup.sh
3437

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ jobs:
3131
uses: actions/checkout@v4
3232
with:
3333
ref: ${{ github.ref }}
34-
fetch-depth: 0
35-
fetch-tags: true
3634

3735
- name: Determine version
3836
run: |
@@ -69,8 +67,6 @@ jobs:
6967
steps:
7068
- name: Git checkout
7169
uses: actions/checkout@v4
72-
with:
73-
fetch-tags: true
7470

7571
# tools/build-release.sh requires lowdown
7672
- name: Prepare base environment
@@ -129,8 +125,6 @@ jobs:
129125
steps:
130126
- name: Git checkout
131127
uses: actions/checkout@v4
132-
with:
133-
fetch-tags: true
134128

135129
- name: Download artifact
136130
uses: actions/download-artifact@v4
@@ -154,7 +148,7 @@ jobs:
154148
sudo apt-get install -y lowdown
155149
./configure
156150
tools/build-release.sh --without-zip sign
157-
mv release/SHA256SUMS.asc${{ steps.gpg.outputs.keyid }} release/SHA256SUMS.asc
151+
mv release/SHA256SUMS.${{ env.version }}.asc${{ steps.gpg.outputs.keyid }} release/SHA256SUMS.${{ env.version }}.asc
158152
159153
- name: Upload signed artifact
160154
uses: actions/upload-artifact@v4

.msggen.json

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,8 @@
439439
"ipv6": 2,
440440
"local socket": 0,
441441
"torv2": 3,
442-
"torv3": 4
442+
"torv3": 4,
443+
"websocket": 5
443444
},
444445
"PeerConnectDirection": {
445446
"in": 0,
@@ -547,6 +548,8 @@
547548
"pending": 0
548549
},
549550
"WaitSubsystem": {
551+
"chainmoves": 4,
552+
"channelmoves": 5,
550553
"forwards": 1,
551554
"htlcs": 3,
552555
"invoices": 0,
@@ -3143,6 +3146,8 @@
31433146
"Offer.description": 2,
31443147
"Offer.issuer": 3,
31453148
"Offer.label": 4,
3149+
"Offer.optional_recurrence": 14,
3150+
"Offer.proportional_amount": 13,
31463151
"Offer.quantity_max": 5,
31473152
"Offer.recurrence": 7,
31483153
"Offer.recurrence_base": 8,
@@ -3714,6 +3719,16 @@
37143719
"UtxoPsbt.psbt": 1,
37153720
"UtxoPsbt.reservations[]": 6
37163721
},
3722+
"WaitChainmoves": {
3723+
"Wait.chainmoves.account": 1,
3724+
"Wait.chainmoves.credit_msat": 2,
3725+
"Wait.chainmoves.debit_msat": 3
3726+
},
3727+
"WaitChannelmoves": {
3728+
"Wait.channelmoves.account": 1,
3729+
"Wait.channelmoves.credit_msat": 2,
3730+
"Wait.channelmoves.debit_msat": 3
3731+
},
37173732
"WaitDetails": {
37183733
"Wait.details.bolt11": 4,
37193734
"Wait.details.bolt12": 5,
@@ -3757,6 +3772,8 @@
37573772
"Wait.subsystem": 1
37583773
},
37593774
"WaitResponse": {
3775+
"Wait.chainmoves": 10,
3776+
"Wait.channelmoves": 11,
37603777
"Wait.created": 2,
37613778
"Wait.deleted": 4,
37623779
"Wait.details": 5,
@@ -11323,6 +11340,14 @@
1132311340
"added": "pre-v0.10.1",
1132411341
"deprecated": null
1132511342
},
11343+
"Offer.optional_recurrence": {
11344+
"added": "v25.09",
11345+
"deprecated": null
11346+
},
11347+
"Offer.proportional_amount": {
11348+
"added": "v25.09",
11349+
"deprecated": null
11350+
},
1132611351
"Offer.quantity_max": {
1132711352
"added": "pre-v0.10.1",
1132811353
"deprecated": null
@@ -12891,6 +12916,38 @@
1289112916
"added": "v23.08",
1289212917
"deprecated": null
1289312918
},
12919+
"Wait.chainmoves": {
12920+
"added": "v25.09",
12921+
"deprecated": null
12922+
},
12923+
"Wait.chainmoves.account": {
12924+
"added": "v25.09",
12925+
"deprecated": null
12926+
},
12927+
"Wait.chainmoves.credit_msat": {
12928+
"added": "v25.09",
12929+
"deprecated": null
12930+
},
12931+
"Wait.chainmoves.debit_msat": {
12932+
"added": "v25.09",
12933+
"deprecated": null
12934+
},
12935+
"Wait.channelmoves": {
12936+
"added": "v25.09",
12937+
"deprecated": null
12938+
},
12939+
"Wait.channelmoves.account": {
12940+
"added": "v25.09",
12941+
"deprecated": null
12942+
},
12943+
"Wait.channelmoves.credit_msat": {
12944+
"added": "v25.09",
12945+
"deprecated": null
12946+
},
12947+
"Wait.channelmoves.debit_msat": {
12948+
"added": "v25.09",
12949+
"deprecated": null
12950+
},
1289412951
"Wait.created": {
1289512952
"added": "pre-v0.10.1",
1289612953
"deprecated": null

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
25.05
1+
25.09

0 commit comments

Comments
 (0)