1
0
Fork 0
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:
Henrik Hautakoski 2024-07-16 16:59:01 +02:00
parent 4f27307c70
commit 20168a9329
6 changed files with 18 additions and 7 deletions

View file

@ -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
}