go-ethereum/internal
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
..
build build: add static linking support (#25492) 2022-08-10 10:30:59 +02:00
cmdtest build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
debug cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00
ethapi internal/ethapi: return error when requesting invalid trie key (#25762) 2022-09-16 18:16:32 +02:00
flags internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
guide all: use T.TempDir to create temporary test directories (#24633) 2022-04-08 15:44:55 +02:00
jsre core: eth: rpc: implement safe rpc block (#25165) 2022-07-25 18:42:05 +03:00
shutdowncheck eth, les: update unclean shutdown markers regularly (#24077) 2021-12-17 15:18:51 +01:00
syncx core: improve shutdown synchronization in BlockChain (#22853) 2021-10-07 15:47:50 +02:00
testlog internal/testlog: print file+line number of log call in test log (#20528) 2020-01-08 17:11:51 +02:00
utesting all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
version internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
web3ext internal/ethapi: rename debug getters to match spec (#25176) 2022-08-25 10:41:37 +02:00