pub fn exe_path() -> Result<String>Expand description
Returns the daemon lnd executable with the following precedence:
- If it’s specified in the
LND_EXECor inLND_EXEenv var (errors if both env vars are present) - If there is no env var but an auto-download feature such as
lnd_0_9_11is enabled, returns the path of the downloaded executabled - If neither of the precedent are available, the
lndexecutable is searched in thePATH