Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/actions/setup-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ runs:
# The key is used to create and later look up the cache. It's made of
# four parts:
# - The base part is made from the OS name, Go version and a
# job-specified key prefix. Example: `linux-go-1.27.2-unit-test-`.
# job-specified key prefix. Example: `linux-go-1.27.3-unit-test-`.
# It ensures that a job running on Linux with Go 1.27 only looks for
# caches from the same environment.
# - The unique part is the `hashFiles('**/go.sum')`, which calculates a
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: actions/setup-go@v5
with:
# Keep with GO_VERSION in the Makefile; the next step checks.
go-version: '1.27.2'
go-version: '1.27.3'
cache: true
- name: Go version matches the Makefile
run: test "$(go env GOVERSION)" = "go$(sed -n 's/^GO_VERSION = //p' Makefile)"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ defaults:
env:
# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
GO_VERSION: 1.27.2
GO_VERSION: 1.27.3

jobs:
govulncheck:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ env:

# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
GO_VERSION: 1.27.2
GO_VERSION: 1.27.3

jobs:
static-checks:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defaults:
env:
# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
GO_VERSION: 1.27.2
GO_VERSION: 1.27.3

jobs:
########################
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2"
run:
# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
go: "1.27.2"
go: "1.27.3"

# Abort after 10 minutes.
timeout: 10m
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# The builder runs on the build machine's own architecture and cross-compiles
# for the target (the release build has no cgo), so a multi-platform build
# does not run the Go compiler under emulation.
FROM --platform=$BUILDPLATFORM golang:1.27.2-alpine AS builder
FROM --platform=$BUILDPLATFORM golang:1.27.3-alpine AS builder

ARG checkout="blake2b"
ARG git_url="https://github.com/paulscode/lightning-fork"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ACTIVE_GO_VERSION_MINOR := $(shell echo $(ACTIVE_GO_VERSION) | cut -d. -f2)
# GO_VERSION is the Go version used for the release build, docker files, and
# GitHub Actions. This is the reference version for the project. All other Go
# versions are checked against this version.
GO_VERSION = 1.27.2
GO_VERSION = 1.27.3

GOBUILD := $(GOCC) build -v
GOINSTALL := $(GOCC) install -v
Expand Down
2 changes: 1 addition & 1 deletion actor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/lightningnetwork/lnd/actor

go 1.26.8
go 1.26.10

require (
github.com/btcsuite/btclog/v2 v2.0.1-0.20250602222548-9967d19bb084
Expand Down
2 changes: 1 addition & 1 deletion cert/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/lightningnetwork/lnd/cert

go 1.26.8
go 1.26.10

require github.com/stretchr/testify v1.8.2

Expand Down
2 changes: 1 addition & 1 deletion clock/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/lightningnetwork/lnd/clock

go 1.26.8
go 1.26.10

require github.com/stretchr/testify v1.8.2

Expand Down
2 changes: 1 addition & 1 deletion dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
FROM golang:1.27.1-alpine AS builder
FROM golang:1.27.3-alpine AS builder

LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"

Expand Down
2 changes: 1 addition & 1 deletion docker/btcd/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
FROM golang:1.27.2-alpine AS builder
FROM golang:1.27.3-alpine AS builder

LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"

Expand Down
18 changes: 9 additions & 9 deletions docs/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,23 +93,23 @@ following build dependencies are required:

### Installing Go

`lnd` is written in Go, with a minimum version of `1.26.8` (or, in case this
`lnd` is written in Go, with a minimum version of `1.26.10` (or, in case this
document gets out of date, whatever the Go version in the main `go.mod` file
requires). To install, run one of the following commands for your OS:

<details>
<summary>Linux (x86-64)</summary>

```
wget https://dl.google.com/go/go1.26.8.linux-amd64.tar.gz
echo "d0f743b33e8d8945e6b1f432edd15785c70507121d6e2a723b21285eddf8b57b go1.26.8.linux-amd64.tar.gz" | sha256sum --check
wget https://dl.google.com/go/go1.26.10.linux-amd64.tar.gz
echo "ccfe7ae822d2c2f41f4fe7c956199967a4dac22d0ee0d2b2bfdb440aab3b20c5 go1.26.10.linux-amd64.tar.gz" | sha256sum --check
```

The command above should output `go1.26.8.linux-amd64.tar.gz: OK`. If it
The command above should output `go1.26.10.linux-amd64.tar.gz: OK`. If it
doesn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
this version of Go. If it matches, then proceed to install Go:
```
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.26.8.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.26.10.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
```
</details>
Expand All @@ -118,15 +118,15 @@ requires). To install, run one of the following commands for your OS:
<summary>Linux (ARMv6)</summary>

```
wget https://dl.google.com/go/go1.26.8.linux-armv6l.tar.gz
echo "eab440beabf395870752021fa74cedf04f97b61e43ebbe005ecbb98b94e55697 go1.26.8.linux-armv6l.tar.gz" | sha256sum --check
wget https://dl.google.com/go/go1.26.10.linux-armv6l.tar.gz
echo "7d89fd32259eb0ff647381e8c3465dc32ccfc7f71cb7b9bcd95604c3481f5109 go1.26.10.linux-armv6l.tar.gz" | sha256sum --check
```

The command above should output `go1.26.8.linux-armv6l.tar.gz: OK`. If it
The command above should output `go1.26.10.linux-armv6l.tar.gz: OK`. If it
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
this version of Go. If it matches, then proceed to install Go:
```
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.26.8.linux-armv6l.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.26.10.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin
```

Expand Down
2 changes: 1 addition & 1 deletion docs/native-ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ scripts/native-ubuntu.sh all # packages, Go, build, configure
| Step | What it does |
| --- | --- |
| `deps` | `sudo apt-get install git make curl ca-certificates unzip jq xz-utils openssh-client` (only what is missing) |
| `go` | Downloads Go 1.27.2 from go.dev into `~/.local/go`, after checking the file against Go's published SHA-256. Skipped if you already have a new enough Go. |
| `go` | Downloads Go 1.27.3 from go.dev into `~/.local/go`, after checking the file against Go's published SHA-256. Skipped if you already have a new enough Go. |
| `build` | `make release-install`: builds `lnd` and `lncli` into `~/go/bin` (about 2 minutes on a recent machine, longer on a Pi) |
| `configure` | Checks Knots (version, chain, RPC login, ZMQ) and writes `~/.lnd/lnd.conf`. It never overwrites an existing `lnd.conf`. |

Expand Down
2 changes: 1 addition & 1 deletion fn/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/lightningnetwork/lnd/fn/v2

go 1.26.8
go 1.26.10

require (
github.com/stretchr/testify v1.8.1
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-d
// If you change this please also update docs/INSTALL.md and all other go.mod
// files. The release build toolchain version is tracked separately by
// GO_VERSION in Makefile.
go 1.26.8
go 1.26.10

retract v0.0.2

Expand Down
2 changes: 1 addition & 1 deletion healthcheck/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

go 1.26.8
go 1.26.10
2 changes: 1 addition & 1 deletion kvdb/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,4 @@ replace github.com/ulikunitz/xz => github.com/ulikunitz/xz v0.5.11
// https://deps.dev/advisory/OSV/GO-2021-0053?from=%2Fgo%2Fgithub.com%252Fgogo%252Fprotobuf%2Fv1.3.1
replace github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2

go 1.26.8
go 1.26.10
2 changes: 1 addition & 1 deletion lnrpc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
FROM golang:1.27.2-bookworm
FROM golang:1.27.3-bookworm

RUN apt-get update && apt-get install -y \
git \
Expand Down
2 changes: 1 addition & 1 deletion lnrpc/gen_protos_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

# golang docker image version used in this script.
GO_IMAGE=docker.io/library/golang:1.27.2-alpine
GO_IMAGE=docker.io/library/golang:1.27.3-alpine

PROTOBUF_VERSION=$(docker run --rm -v $DIR/../:/lnd -w /lnd $GO_IMAGE \
go list -f '{{.Version}}' -m google.golang.org/protobuf)
Expand Down
2 changes: 1 addition & 1 deletion make/builder.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
FROM golang:1.27.1-bookworm
FROM golang:1.27.3-bookworm

MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering>

Expand Down
2 changes: 1 addition & 1 deletion mobile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ following commands:

```
RUN apt-get install -y wget \
&& wget -c https://dl.google.com/go/go1.27.2.linux-amd64.tar.gz -O - \
&& wget -c https://dl.google.com/go/go1.27.3.linux-amd64.tar.gz -O - \
| tar -xz -C /usr/local
ENV GOPATH=/go
ENV PATH=$PATH:/usr/local/go/bin:/go/bin
Expand Down
2 changes: 1 addition & 1 deletion queue/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/lightningnetwork/lnd/queue

go 1.26.8
go 1.26.10

require (
github.com/lightningnetwork/lnd/fn/v2 v2.0.8
Expand Down
6 changes: 3 additions & 3 deletions scripts/native-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ set -euo pipefail

# The Go release Lightning Fork's own release builds use (see Dockerfile),
# with the checksums go.dev publishes for it.
GO_VERSION=1.27.2
GO_SHA256_amd64=ecbadb99091a3f46e31f5f934b068b1864eafa7995211b39eaddf76996045fe5
GO_SHA256_arm64=94f3e30b8e374bc285e7dadc11e0865726b9bc6e85b841ccceaabc0214c6b7c8
GO_VERSION=1.27.3
GO_SHA256_amd64=65efbc80fdc1fa2cd2631cad5b481777a68e8725f34e89f50fc6ac714e379b40
GO_SHA256_arm64=a06e99309dbcbdca1a8ccd2282c3ee146e55930886e26b4f1193269587165f49

# The dashboard (github.com/paulscode/umbrel-lightning-fork) runs on the
# Node.js its Umbrel and StartOS image uses, with nodejs.org's checksums.
Expand Down
2 changes: 1 addition & 1 deletion sqldb/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ require (
modernc.org/memory v1.12.1 // indirect
)

go 1.26.8
go 1.26.10
2 changes: 1 addition & 1 deletion sqldb/v2/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ require (
// did not yet make it into the upstream repository.
replace github.com/golang-migrate/migrate/v4 => github.com/lightninglabs/migrate/v4 v4.18.2-9023d66a-fork-pr-2.0.20251211093704-71c1eef09789

go 1.26.8
go 1.26.10
2 changes: 1 addition & 1 deletion ticker/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/lightningnetwork/lnd/ticker

go 1.26.8
go 1.26.10
2 changes: 1 addition & 1 deletion tlv/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

go 1.26.8
go 1.26.10
2 changes: 1 addition & 1 deletion tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.27.2
FROM golang:1.27.3

RUN apt-get update && apt-get install -y git
ENV GOCACHE=/tmp/build/.cache
Expand Down
2 changes: 1 addition & 1 deletion tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/lightningnetwork/lnd/tools

go 1.26.8
go 1.26.10

require (
4d63.com/gocheckcompilerdirectives v1.4.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion tools/linters/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/lightningnetwork/lnd/tools/linters

go 1.26.8
go 1.26.10

require (
github.com/golangci/plugin-module-register v0.1.1
Expand Down
2 changes: 1 addition & 1 deletion tor/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

go 1.26.8
go 1.26.10
Loading