[qt] Update coin control and smartfee labels #6887
pull MarcoFalke wants to merge 2 commits into bitcoin:master from MarcoFalke:MarcoFalke-2015-qtMaxMin_Fee_and_Max_Fee changing 7 files +28 −14-
MarcoFalke commented at 1:09 am on October 25, 2015: memberThis will sync the qt labels with the wallet’s fee code.
-
luke-jr commented at 1:50 am on October 25, 2015: memberSo the idea here is to use the min relay fee instead of the wallet’s configured fee, whichever is higher?
-
MarcoFalke commented at 1:51 am on October 25, 2015: member
Yes, it’s just what the wallet already does. This should make qt consistent again. C.f.
- 037b4f1485404a69f96ac6c448a97d21315c8663 (Make mining fee policy match relay fee policy) and
- aa279d613152e87ea25edfdf76c86779c0632f18 (Enforce minRelayTxFee on wallet created tx)
-
laanwj added the label GUI on Oct 26, 2015
-
jgarzik commented at 7:24 pm on October 27, 2015: contributorut ACK
-
in src/wallet/wallet.cpp: in 745661825a outdated
2119@@ -2120,6 +2120,11 @@ bool CWallet::CommitTransaction(CWalletTx& wtxNew, CReserveKey& reservekey) 2120 return true; 2121 } 2122 2123+CAmount CWallet::GetRequiredFee(unsigned int nTxBytes) 2124+{ 2125+ return std::max(minTxFee.GetFee(nTxBytes), ::minRelayTxFee.GetFee(nTxBytes));
jonasschnelli commented at 7:01 pm on October 29, 2015:Sad to see another coupling between the Wallet and the Mempool/Node. But it’s already all over. Ideally the wallet should not directly access global mempool variables instead it should get data over a general interface.jonasschnelli commented at 7:02 pm on October 29, 2015: contributorMakes sense. utACK.[qt] Properly display required fee instead of minTxFee abd8b768eeClarify what minrelaytxfee does 53238ff0b1MarcoFalke force-pushed on Nov 3, 2015MarcoFalke commented at 8:35 am on November 3, 2015: membermorcos commented at 9:35 pm on November 3, 2015: memberI think most of the pull makes sense, but I’d save removing the AbsurdFee check until we replace it with something better. Having the only effective high fee check be the ATMP check is dicey since that depends on minRelayTxFee which people might be adjusting for other reasons. Also I’m not sure how this is meant to work with #6726. I don’t like the idea of having less and less checks for accidental high fees. I just think we should rework them to be better organized.laanwj commented at 10:27 am on November 4, 2015: memberI agree with @morcos. The absurdfee check is just a belt-and-suspenders check, in case something goes wrong due to a bug in another part of the code. I don’t feel good about removing it. I also don’t think that change belongs in a “Update coin control and smartfee labels” pull.MarcoFalke force-pushed on Nov 4, 2015MarcoFalke commented at 11:21 am on November 4, 2015: member@laanwj I also don’t think that change belongs in a “Update coin control and smartfee labels” pull.
Still, the fee label behaves wrong and needs update, but I force dropped the last commit to open a new PR for this…
laanwj merged this on Nov 5, 2015laanwj closed this on Nov 5, 2015
laanwj referenced this in commit 3694b74fa9 on Nov 5, 2015MarcoFalke deleted the branch on Nov 5, 2015zkbot referenced this in commit 8713d73daf on Dec 18, 2019zkbot referenced this in commit 2da77edbfe on Dec 18, 2019zkbot referenced this in commit 577f7ef72a on Dec 18, 2019furszy referenced this in commit 7c102142c7 on Jun 2, 2020MarcoFalke locked this on Sep 8, 2021
MarcoFalke
luke-jr
jgarzik
jonasschnelli
morcos
laanwj
Labels
GUI
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-08 00:13 UTC
More mirrored repositories can be found on mirror.b10c.me