Function rgb_lib::utils::load_rgb_runtime
source · pub fn load_rgb_runtime(
wallet_dir: PathBuf,
bitcoin_network: BitcoinNetwork
) -> Result<RgbRuntime, Error>
Expand description
Write the lock file for write access in the provided wallet_dir
, load the RGB runtime for the
provided bitcoin_network
and return the loaded runtime.
This method is meant for special usage and is normally not needed, use
it only if you know what you're doing