mod: update the minimum go version to 1.24.11
We update the minimum required go version to build the LND exectuable to the latest minor release of go 1.24.11.
This commit is contained in:
14 files changed
+22
-22
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
module github.com/lightningnetwork/lnd/cert
|
||||
|
||||
go 1.19
|
||||
go 1.24.11
|
||||
|
||||
require github.com/stretchr/testify v1.8.2
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
module github.com/lightningnetwork/lnd/clock
|
||||
|
||||
go 1.19
|
||||
go 1.24.11
|
||||
|
||||
require github.com/stretchr/testify v1.8.2
|
||||
|
||||
|
||||
+9
-9
@@ -93,7 +93,7 @@ following build dependencies are required:
|
||||
|
||||
### Installing Go
|
||||
|
||||
`lnd` is written in Go, with a minimum version of `1.24.9` (or, in case this
|
||||
`lnd` is written in Go, with a minimum version of `1.24.11` (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:
|
||||
|
||||
@@ -101,15 +101,15 @@ requires). To install, run one of the following commands for your OS:
|
||||
<summary>Linux (x86-64)</summary>
|
||||
|
||||
```
|
||||
wget https://dl.google.com/go/go1.24.9.linux-amd64.tar.gz
|
||||
echo "5b7899591c2dd6e9da1809fde4a2fad842c45d3f6b9deb235ba82216e31e34a6 go1.24.9.linux-amd64.tar.gz" | sha256sum --check
|
||||
wget https://dl.google.com/go/go1.24.11.linux-amd64.tar.gz
|
||||
echo "bceca00afaac856bc48b4cc33db7cd9eb383c81811379faed3bdbc80edb0af65 go1.24.11.linux-amd64.tar.gz" | sha256sum --check
|
||||
```
|
||||
|
||||
The command above should output `go1.24.9.linux-amd64.tar.gz: OK`. If it
|
||||
The command above should output `go1.24.11.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.9.linux-amd64.tar.gz
|
||||
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.24.11.linux-amd64.tar.gz
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
```
|
||||
</details>
|
||||
@@ -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.9.linux-armv6l.tar.gz
|
||||
echo "39dafc8e7e5e455995f87e1ffc6b0892302ea519c1f0e59c9e2e0fda41b8aa56 go1.24.9.linux-armv6l.tar.gz" | sha256sum --check
|
||||
wget https://dl.google.com/go/go1.24.11.linux-armv6l.tar.gz
|
||||
echo "24d712a7e8ea2f429c05bc67287249e0291f2fe0ea6d6ff268f11b7343ad0f47 go1.24.11.linux-armv6l.tar.gz" | sha256sum --check
|
||||
```
|
||||
|
||||
The command above should output `go1.24.9.linux-armv6l.tar.gz: OK`. If it
|
||||
The command above should output `go1.24.11.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.9.linux-armv6l.tar.gz
|
||||
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.24.11.linux-armv6l.tar.gz
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
```
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module github.com/lightningnetwork/lnd/fn/v2
|
||||
|
||||
go 1.23
|
||||
go 1.24.11
|
||||
|
||||
require (
|
||||
github.com/stretchr/testify v1.8.1
|
||||
|
||||
@@ -219,6 +219,6 @@ replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-d
|
||||
// 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.9
|
||||
go 1.24.11
|
||||
|
||||
retract v0.0.2
|
||||
+1
-1
@@ -24,4 +24,4 @@ require (
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
)
|
||||
|
||||
go 1.24.9
|
||||
go 1.24.11
|
||||
+1
-1
@@ -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.9
|
||||
go 1.24.11
|
||||
+1
-1
@@ -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.19
|
||||
go 1.24.11
|
||||
+1
-1
@@ -75,4 +75,4 @@ require (
|
||||
modernc.org/token v1.1.0 // indirect
|
||||
)
|
||||
|
||||
go 1.24.9
|
||||
go 1.24.11
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
module github.com/lightningnetwork/lnd/ticker
|
||||
|
||||
go 1.19
|
||||
go 1.24.11
|
||||
+1
-1
@@ -22,4 +22,4 @@ require (
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
)
|
||||
|
||||
go 1.24.9
|
||||
go 1.24.11
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
module github.com/lightningnetwork/lnd/tools
|
||||
|
||||
go 1.24.9
|
||||
go 1.24.11
|
||||
|
||||
require (
|
||||
4d63.com/gocheckcompilerdirectives v1.3.0 // indirect
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module github.com/lightningnetwork/lnd/tools/linters
|
||||
|
||||
go 1.24.9
|
||||
go 1.24.11
|
||||
|
||||
require (
|
||||
github.com/golangci/plugin-module-register v0.1.1
|
||||
|
||||
+1
-1
@@ -23,4 +23,4 @@ require (
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
)
|
||||
|
||||
go 1.24.9
|
||||
go 1.24.11
|
||||
Reference in new issue
Block a user