go-ethereum/cmd/geth
Martin Holst Swende ea26fc8a6c
cmd/geth, cmd/utils: geth attach with custom headers (#25829)
This PR makes it possible to set custom headers, in particular for two scenarios: 

- geth attach
- geth commands which can use --remotedb, e..g geth db inspect

The ability to use custom headers is typically useful for connecting to cloud-apis, e.g. providing an infura- or alchemy key, or for that matter access-keys for environments behind cloudflare.  

Co-authored-by: Felix Lange <fjl@twurst.com>
2022-09-30 13:50:25 +02:00
..
testdata cmd/geth: update vulnerabilities.json testdata (#24856) 2022-05-16 13:41:36 +02:00
accountcmd.go cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00
accountcmd_test.go cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00
attach_test.go cmd/geth, cmd/utils: geth attach with custom headers (#25829) 2022-09-30 13:50:25 +02:00
chaincmd.go cmd/geth: make dumpgenesis load genesis datadir if it exists (#25135) 2022-09-26 13:55:18 +02:00
config.go internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
consolecmd.go cmd/geth, cmd/utils: geth attach with custom headers (#25829) 2022-09-30 13:50:25 +02:00
consolecmd_test.go all: fix some typos (#25551) 2022-08-19 09:00:21 +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, core, eth, les, light: track deleted nodes (#25757) 2022-09-27 10:01:02 +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 cmd/puppeth, cmd/utils: finalize removal of gasTarget flag (#24370) 2022-09-23 22:32:10 +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 cmd, core, eth, les, light: track deleted nodes (#25757) 2022-09-27 10:01:02 +02:00
verkle.go cmd/geth: add a verkle subcommand (#25718) 2022-09-14 12:05:03 +02:00
version_check.go cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00
version_check_test.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00