exe_path

Function exe_path 

Source
pub fn exe_path() -> Result<String>
Expand description

Returns the daemon bitcoind executable with the following precedence:

  1. If it’s specified in the BITCOIND_EXE env var.
  2. If there is no env var but the auto-download feature is enabled, returns the path of the downloaded executable.
  3. If neither of the precedent are available, the bitcoind executable is searched in the PATH.