Skip to content

Instantly share code, notes, and snippets.

@stephendonner
Last active February 21, 2021 06:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephendonner/c040f97b75dd13c6927059c88f8bad2f to your computer and use it in GitHub Desktop.
Save stephendonner/c040f97b75dd13c6927059c88f8bad2f to your computer and use it in GitHub Desktop.

Quick Reference Guide

Base commandline-args:

--args --enable-logging=stderr --vmodule="*/bat-native-ledger/*"=6,"*/brave_rewards/*"=6,"*/bat-native-ads/*"=6,"*/bat-native-confirmations/*"=6,"*/brave_ads/*"=6,"*/brave_user_model/*"=6, log-level=2

Ads

--brave-ads-debug

  • reduces unblinded payment token redemption from ~24 hours to ~25 minutes
  • reduces conversions from ~1 day to ~10 minutes.
  • reduces fetching of subdivision target from ~24 hours to ~5 minutes
  • reduces downloading catalog from the value specified in the catalog (normally 2 hours) to ~15 minutes.

Development:

commandline-arg: --brave-ads-development

Staging:

commandline-arg: --brave-ads-staging

Production (/default/):

Note: These must match their Rewards counterparts, in order for token grants and BAT redemption to work, e.g. --brave-ads-staging --rewards=staging=true

Rewards

Development:

commandline-arg: --rewards=development=true

Staging:

commandline-arg: --rewards=staging=true

Note: These must match their Ads counterparts, in order for token grants and BAT redemption to work, e.g. --brave-ads-staging --rewards=staging=true

Brave Today

Development:

commandline-arg: --brave-today-host=brave-today-cdn.brave.software

feed: https://brave-today-cdn.brave.software/brave-today/feed.json

Staging:

commandline-arg: --brave-today-host=brave-today-cdn.bravesoftware.com

feed: https://brave-today-cdn.bravesoftware.com/brave-today/feed.json

Production (default):

feed: https://brave-today-cdn.brave.com/brave-today/feed.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment