plugeth/cmd/geth
Felix Lange 65f3c1b46f
internal/version: use gitCommit injection in version handling code (#25851)
This changes the CI build to store the git commit and date into package
internal/version instead of package main. Doing this essentially merges our
two ways of tracking the go-ethereum version into a single place, achieving
two objectives:

- Bad block reports, which use version.Info(), will now have the git commit
  information even when geth is built in an environment such as
  launchpad.net where git access is unavailable.

- For geth builds created by `go build ./cmd/geth` (i.e. not using `go run
  build/ci.go install`), git information stored by the go tool is now used
  in the p2p node name as well as in `geth version` and `geth
  version-check`.
2022-09-23 14:08:25 +02:00
..
testdata cmd/geth: update vulnerabilities.json testdata (#24856) 2022-05-16 13:41:36 +02:00
accountcmd_test.go cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00
accountcmd.go cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00
chaincmd.go cmd/geth: parse uint64 value with ParseUint instead of Atoi (#25545) 2022-08-19 09:03:45 +03:00
config.go internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
consolecmd_test.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
consolecmd.go cmd: use flags.Merge for grouping flags (#25392) 2022-07-25 12:07:44 +03:00
dao_test.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
dbcmd.go cmd/geth: fix legacy receipt detection for empty db (#25609) 2022-08-30 14:38:35 +02:00
genesis_test.go cmd/geth: eth/catalyst: enable authrpc by default (#25152) 2022-07-23 09:56:02 +02:00
les_test.go cmd/geth: eth/catalyst: enable authrpc by default (#25152) 2022-07-23 09:56:02 +02:00
main.go internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
misccmd.go internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
run_test.go all: use T.TempDir to create temporary test directories (#24633) 2022-04-08 15:44:55 +02:00
snapshot.go core: use TryGetAccount to read what TryUpdateAccount has written (#25458) 2022-08-04 16:13:18 +02:00
verkle.go cmd/geth: add a verkle subcommand (#25718) 2022-09-14 12:05:03 +02:00
version_check_test.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
version_check.go cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00