bitcoind: add stop method

This is required by the GUI for stopping an internal bitcoind when closing Liana.
This commit is contained in:
jp1ac4 2023-08-11 12:37:17 +01:00
parent 60ee667f6c
commit 3372a8d461
No known key found for this signature in database
GPG Key ID: A7ACD32423568D7B

View File

@ -1096,6 +1096,11 @@ impl BitcoinD {
}
}
}
/// Stop bitcoind.
pub fn stop(&self) {
self.make_node_request("stop", &[]);
}
}
/// An entry in the 'listdescriptors' result.