diff options
author | Ryan Schneider <ryanleeschneider@gmail.com> | 2018-11-03 04:26:45 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-12-10 20:30:06 +0800 |
commit | 48b70ecff1152f9eec091ff03b803d997a573b19 (patch) | |
tree | 9841b5efdbbd571c662d3d84afa679cdf6ade5aa /cmd/geth/main.go | |
parent | c1e3fe6b140c6ac7f9d7c792480a10208a4ac7ec (diff) | |
download | go-tangerine-48b70ecff1152f9eec091ff03b803d997a573b19.tar go-tangerine-48b70ecff1152f9eec091ff03b803d997a573b19.tar.gz go-tangerine-48b70ecff1152f9eec091ff03b803d997a573b19.tar.bz2 go-tangerine-48b70ecff1152f9eec091ff03b803d997a573b19.tar.lz go-tangerine-48b70ecff1152f9eec091ff03b803d997a573b19.tar.xz go-tangerine-48b70ecff1152f9eec091ff03b803d997a573b19.tar.zst go-tangerine-48b70ecff1152f9eec091ff03b803d997a573b19.zip |
cmd, eth: Add support for `--whitelist <blocknum>=<hash>,...` flag
* Rejects peers that respond with a different hash for any of the passed in block numbers.
* Meant for emergency situations when the network forks unexpectedly.
Diffstat (limited to 'cmd/geth/main.go')
-rw-r--r-- | cmd/geth/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 69802a48a..fc1bf461f 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -87,6 +87,7 @@ var ( utils.LightServFlag, utils.LightPeersFlag, utils.LightKDFFlag, + utils.WhitelistFlag, utils.CacheFlag, utils.CacheDatabaseFlag, utils.CacheTrieFlag, |