cmd.Flags().StringVar(&privateApiAddr,"private.api.addr","","private api network address, for example: 127.0.0.1:9090, empty string means not to start the listener. do not expose to public network. serves remote database interface")
cmd.Flags().StringVar(&changeSetBucket,"changeset-bucket",string(dbutils.AccountChangeSetBucket),string(dbutils.AccountChangeSetBucket)+" for account and "+string(dbutils.StorageChangeSetBucket)+" for storage")
}
funcwithIndexBucket(cmd*cobra.Command){
cmd.Flags().StringVar(&indexBucket,"index-bucket",string(dbutils.AccountsHistoryBucket),string(dbutils.AccountsHistoryBucket)+" for account and "+string(dbutils.StorageHistoryBucket)+" for storage")