orb.misc.prefs module

orb.misc.prefs.cert()
orb.misc.prefs.cert_path(use_tmp=False, node_type='lnd')

Get the path to the temp TLS cert file. On mobile we store it in the temp diretory, since it’s only accessible by the app, while on desktop we keep the cert in the user’s app data dir.

orb.misc.prefs.grpc_port()
orb.misc.prefs.hostname()
orb.misc.prefs.inverted_channels()
orb.misc.prefs.is_grpc()
orb.misc.prefs.is_mock()
orb.misc.prefs.is_rest()
orb.misc.prefs.macaroon()