orb.lnd.lnd module

orb.lnd.lnd.Lnd(fallback_to_mock=True, cache=True, use_prefs=True, hostname=None, protocol=None, mac_secure=None, mac=None, cert_secure=None, cert=None, rest_port=None, grpc_port=None, version=None)

Return the appropriate Lnd class based on protocol.

class orb.lnd.lnd.Protocol

Bases: object

grpc = 'grpc'
mock = 'mock'
rest = 'rest'
orb.lnd.lnd.decode_pref_mac(pref_mac)
orb.lnd.lnd.set_lnd_grpc_path_for_version(version='v0.15.0-beta')

Make sure the path to lnd’s grpc libraries are in python’s path