]> Untitled Git - bdk/commitdiff
Remove wrong TODO comment in build_fee_bump
authorDaniela Brozzoni <danielabrozzoni@protonmail.com>
Thu, 30 Jun 2022 18:31:38 +0000 (20:31 +0200)
committerDaniela Brozzoni <danielabrozzoni@protonmail.com>
Wed, 6 Jul 2022 09:02:51 +0000 (11:02 +0200)
The proposed solution is bad for privacy as well.
Let's call the initial change output, which is normally shrink when you
fee bump, change#1, and the extra output aforementioned change#2 (as,
in this case, it's going to be a change output as well). If you add change#2
you might not revel change#1, but you're still revealing change#2.
You're not improving your privacy, and you're wasting money in fees.

src/wallet/mod.rs

index 4abe257454b2f89652d73b5176c2dce1cd8a0d38..213cc60d15b45fb93e7797976a9de03d18f9a491 100644 (file)
@@ -899,8 +899,6 @@ where
     /// # Ok::<(), bdk::Error>(())
     /// ```
     // TODO: support for merging multiple transactions while bumping the fees
-    // TODO: option to force addition of an extra output? seems bad for privacy to update the
-    // change
     pub fn build_fee_bump(
         &self,
         txid: Txid,