mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-13 12:32:48 +02:00
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.
(cherry picked from commit e26a114cdc)
This commit is contained in:
parent
a7ca338720
commit
8565d12e40
14 changed files with 22 additions and 22 deletions
|
|
@ -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,6 +1,6 @@
|
|||
module github.com/lightningnetwork/lnd/clock
|
||||
|
||||
go 1.19
|
||||
go 1.24.11
|
||||
|
||||
require github.com/stretchr/testify v1.8.2
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
2
go.mod
2
go.mod
|
|
@ -220,6 +220,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
|
||||
|
|
|
|||
|
|
@ -24,4 +24,4 @@ require (
|
|||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
)
|
||||
|
||||
go 1.24.9
|
||||
go 1.24.11
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -75,4 +75,4 @@ require (
|
|||
modernc.org/token v1.1.0 // indirect
|
||||
)
|
||||
|
||||
go 1.24.9
|
||||
go 1.24.11
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
module github.com/lightningnetwork/lnd/ticker
|
||||
|
||||
go 1.19
|
||||
go 1.24.11
|
||||
|
|
|
|||
|
|
@ -22,4 +22,4 @@ require (
|
|||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
)
|
||||
|
||||
go 1.24.9
|
||||
go 1.24.11
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
module github.com/lightningnetwork/lnd/tools
|
||||
|
||||
go 1.24.9
|
||||
go 1.24.11
|
||||
|
||||
require (
|
||||
github.com/btcsuite/btcd v0.24.2
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -23,4 +23,4 @@ require (
|
|||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
)
|
||||
|
||||
go 1.24.9
|
||||
go 1.24.11
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue