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/usage.go | |
parent | c1e3fe6b140c6ac7f9d7c792480a10208a4ac7ec (diff) | |
download | dexon-48b70ecff1152f9eec091ff03b803d997a573b19.tar dexon-48b70ecff1152f9eec091ff03b803d997a573b19.tar.gz dexon-48b70ecff1152f9eec091ff03b803d997a573b19.tar.bz2 dexon-48b70ecff1152f9eec091ff03b803d997a573b19.tar.lz dexon-48b70ecff1152f9eec091ff03b803d997a573b19.tar.xz dexon-48b70ecff1152f9eec091ff03b803d997a573b19.tar.zst dexon-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/usage.go')
-rw-r--r-- | cmd/geth/usage.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go index 82f17e0ee..25a702dd7 100644 --- a/cmd/geth/usage.go +++ b/cmd/geth/usage.go @@ -81,6 +81,7 @@ var AppHelpFlagGroups = []flagGroup{ utils.LightServFlag, utils.LightPeersFlag, utils.LightKDFFlag, + utils.WhitelistFlag, }, }, { |