daemon: remove / correct some TODOs

This commit is contained in:
Antoine Poinsot 2022-12-05 11:17:27 +01:00
parent 628ed3d0ed
commit a4e6656688
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304
3 changed files with 2 additions and 4 deletions

View File

@ -86,7 +86,6 @@ mod tests {
// Create a dummy BlockStats struct with the given time
fn create_stats(time: u32) -> BlockStats {
// TODO
BlockStats {
height: 0,
confirmations: 0,

View File

@ -571,7 +571,7 @@ impl DaemonControl {
let transactions = txids
.iter()
.filter_map(|txid| {
// TODO: batch batch those calls to the Bitcoin backend
// TODO: batch those calls to the Bitcoin backend
// so it can in turn optimize its queries.
self.bitcoin
.wallet_transaction(txid)
@ -590,7 +590,7 @@ impl DaemonControl {
let transactions = txids
.iter()
.filter_map(|txid| {
// TODO: batch batch those calls to the Bitcoin backend
// TODO: batch those calls to the Bitcoin backend
// so it can in turn optimize its queries.
self.bitcoin
.wallet_transaction(txid)

View File

@ -48,7 +48,6 @@ fn default_daemon() -> bool {
false
}
// TODO: separate Bitcoin config and bitcoind-specific config.
/// Everything we need to know for talking to bitcoind serenely
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct BitcoindConfig {