bitcoind: add stop method
This is required by the GUI for stopping an internal bitcoind when closing Liana.
This commit is contained in:
parent
60ee667f6c
commit
3372a8d461
@ -1096,6 +1096,11 @@ impl BitcoinD {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Stop bitcoind.
|
||||||
|
pub fn stop(&self) {
|
||||||
|
self.make_node_request("stop", &[]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// An entry in the 'listdescriptors' result.
|
/// An entry in the 'listdescriptors' result.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user