The wallet code optimistically assumes that all coin ages will increase at the next block, but this is not true for inputs that are in the mempool. This change should match the calculation for the low priority reject code and prevent the wallet from thinking it can send a free transaction when it wouldn't be accepted to the mempool.
Fix priority calculation in CreateTransaction #5675
pull morcos wants to merge 1 commits into bitcoin:master from morcos:freePriorityCalc changing 1 files +6 −2-
morcos commented at 5:33 PM on January 16, 2015: member
-
2d9b0b7f03
Fix priority calculation in CreateTransaction
Make this projection of priority in 1 block match the calculation in the low priority reject code.
- laanwj added the label Wallet on Jan 19, 2015
-
gmaxwell commented at 3:01 PM on January 20, 2015: contributor
utACK.
-
laanwj commented at 3:58 PM on January 20, 2015: member
utACK
- laanwj added this to the milestone 0.10.0 on Jan 21, 2015
-
wtogami commented at 6:32 AM on January 24, 2015: contributor
utACK
- laanwj referenced this in commit b6347bf813 on Feb 3, 2015
- laanwj merged this on Feb 3, 2015
- laanwj closed this on Feb 3, 2015
- laanwj referenced this in commit 4e2b1fff98 on Feb 3, 2015
- eduffield222 referenced this in commit 8b5d0e1e1b on Mar 4, 2015
- DrahtBot locked this on Sep 8, 2021
Labels
Milestone
0.10.0