mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-19 04:50:02 +02:00
implement whitelist option in blacklist
This commit is contained in:
parent
4f27307c70
commit
20168a9329
6 changed files with 18 additions and 7 deletions
|
|
@ -44,6 +44,7 @@ func GetFlags() *pflag.FlagSet {
|
|||
flags.String("chain", "", "ChainID used in channel namespace, can be any string (default from api)")
|
||||
|
||||
flags.StringSlice("blacklist", []string{}, "Define a list of 'contract:action' pairs that will be blacklisted (thalos will not process those actions)")
|
||||
flags.Bool("blacklist-is-whitelist", false, "Thalos will treat the blacklist as a whitelist")
|
||||
|
||||
return &flags
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue