-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fee Warning on Sweeps #761
Comments
Ping @kristapsk..
a somewhat valid statement? (Primary main objective is to make the user aware of it - not for them to know the technical details). |
No, fee estimation is the same. But output and fee amount is calculated for initial number of counterparties, if some of them drop during the process, actual feerate will be higher. |
Thanks @kristapsk 🙏 est_ins = len(self.input_utxos)+3*self.n_counterparties
jlog.debug("Estimated ins: "+str(est_ins))
est_outs = 2*self.n_counterparties + 1
jlog.debug("Estimated outs: "+str(est_outs))
self.total_txfee = estimate_tx_fee(
est_ins, est_outs, txtype=self.wallet_service.get_txtype(),
outtype=self.wallet_service.get_outtype(self.coinjoin_address())) Where On a side note: It would be nice to have access to |
@kristapsk Would you be able to clarify your thoughts on this? Would be nice to release soon and have this included. People have raised their unhappiness with the mismatch between their fee expectation and the actual fees paid on sweeps quite often lately and it should at least contain a proper explanation on why that is. At least until a proper fee estimate (maybe by accessing |
Figma
Warning: Sweeps will use a more conservative estimate for the mining fee, which might end up being 80% more expensive than anticipated.
The text was updated successfully, but these errors were encountered: