go-ethereum/cmd
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
..
abidump all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
abigen cmd/abigen: change --exc to exclude by type name (#22620) 2022-09-23 19:04:02 +02:00
bootnode les: switch to new discv5 (#21940) 2021-01-26 21:41:35 +01:00
checkpoint-admin internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
clef internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
devp2p internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
ethkey internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
evm internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
faucet cmd/faucet: fix readme typos (#25867) 2022-09-26 11:30:50 +02:00
geth cmd/geth, cmd/utils: geth attach with custom headers (#25829) 2022-09-30 13:50:25 +02:00
p2psim internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
puppeth cmd/puppeth, cmd/utils: finalize removal of gasTarget flag (#24370) 2022-09-23 22:32:10 +02:00
rlpdump all: change format `0x%x` to `%#x` (#25221) 2022-07-04 11:03:32 +03:00
utils cmd/geth, cmd/utils: geth attach with custom headers (#25829) 2022-09-30 13:50:25 +02:00