Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/actions/setup-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ 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.25.5-unit-test-`.
# It ensures that a job running on Linux with Go 1.25 only looks for
# job-specified key prefix. Example: `linux-go-1.26.6-unit-test-`.
# It ensures that a job running on Linux with Go 1.26 only looks for
# caches from the same environment.
# - The unique part is the `hashFiles('**/go.sum')`, which calculates a
# hash (a fingerprint) of the go.sum file.
Expand Down
4 changes: 2 additions & 2 deletions .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.25.5
GO_VERSION: 1.26.6

jobs:
static-checks:
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
- name: amd64
sys: darwin-amd64 freebsd-amd64 linux-amd64 netbsd-amd64 openbsd-amd64 windows-amd64
- name: arm
sys: darwin-arm64 freebsd-arm linux-armv6 linux-armv7 linux-arm64 windows-arm
sys: darwin-arm64 freebsd-arm linux-armv6 linux-armv7 linux-arm64 windows-arm64
steps:
- name: Git checkout
uses: actions/checkout@v5
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.25.5
GO_VERSION: 1.26.6

jobs:
########################
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
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.25.5"
go: "1.26.6"

# 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
@@ -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.25.5-alpine as builder
FROM golang:1.26.6-alpine as builder

# Force Go to use the cgo based DNS resolver. This is required to ensure DNS
# queries required to connect to linked containers succeed.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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.25.5
GO_VERSION = 1.26.6

GOBUILD := $(GOCC) build -v
GOINSTALL := $(GOCC) install -v
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.24.11
go 1.25.13

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.24.11
go 1.25.13

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.25.5-alpine AS builder
FROM golang:1.26.6-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.25.5-alpine as builder
FROM golang:1.26.6-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.24.11` (or, in case this
`lnd` is written in Go, with a minimum version of `1.25.13` (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.24.11.linux-amd64.tar.gz
echo "bceca00afaac856bc48b4cc33db7cd9eb383c81811379faed3bdbc80edb0af65 go1.24.11.linux-amd64.tar.gz" | sha256sum --check
wget https://dl.google.com/go/go1.25.13.linux-amd64.tar.gz
echo "39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3 go1.25.13.linux-amd64.tar.gz" | sha256sum --check
```

The command above should output `go1.24.11.linux-amd64.tar.gz: OK`. If it
The command above should output `go1.25.13.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.24.11.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.25.13.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.24.11.linux-armv6l.tar.gz
echo "24d712a7e8ea2f429c05bc67287249e0291f2fe0ea6d6ff268f11b7343ad0f47 go1.24.11.linux-armv6l.tar.gz" | sha256sum --check
wget https://dl.google.com/go/go1.25.13.linux-armv6l.tar.gz
echo "f98ba3beb03a5c269d0115c7f8573483c139be88ce9989e53aff336826d13f5c go1.25.13.linux-armv6l.tar.gz" | sha256sum --check
```

The command above should output `go1.24.11.linux-armv6l.tar.gz: OK`. If it
The command above should output `go1.25.13.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 && tar -C /usr/local -xzf go1.24.11.linux-armv6l.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.25.13.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin
```

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.24.11
go 1.25.13

require (
github.com/stretchr/testify v1.8.1
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ replace github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2
// allows us to specify that as an option.
replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-display v1.33.0-hex-display

// If you change this please also update docs/INSTALL.md and GO_VERSION in
// Makefile (then run `make lint` to see where else it needs to be updated as
// well).
go 1.24.11
// 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.25.13

retract v0.0.2
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.24.11
go 1.25.13
2 changes: 1 addition & 1 deletion kvdb/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,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.24.11
go 1.25.13
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.25.5-bookworm
FROM golang:1.26.6-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.25.5-alpine
GO_IMAGE=docker.io/library/golang:1.26.6-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.25.5-bookworm
FROM golang:1.26.6-bookworm

MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering>

Expand Down
2 changes: 1 addition & 1 deletion make/release_flags.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ netbsd-amd64 \
openbsd-amd64 \
windows-386 \
windows-amd64 \
windows-arm
windows-arm64

RELEASE_TAGS = autopilotrpc signrpc walletrpc chainrpc invoicesrpc watchtowerrpc neutrinorpc monitoring peersrpc kvdb_postgres kvdb_etcd kvdb_sqlite

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://golang.org/dl/go1.17.6.linux-amd64.tar.gz -O - \
&& wget -c https://dl.google.com/go/go1.26.6.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
Expand Up @@ -4,4 +4,4 @@ require github.com/lightningnetwork/lnd/ticker v1.0.0

replace github.com/lightningnetwork/lnd/ticker v1.0.0 => ../ticker

go 1.24.11
go 1.25.13
2 changes: 1 addition & 1 deletion sqldb/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ require (
modernc.org/token v1.1.0 // indirect
)

go 1.24.11
go 1.25.13
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.24.11
go 1.25.13
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.24.11
go 1.25.13
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.25.5
FROM golang:1.26.6

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.24.11
go 1.25.13

require (
github.com/btcsuite/btcd v0.24.2
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.24.11
go 1.25.13

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.24.11
go 1.25.13
Loading