Properly account for joinsplit value when deciding if a transaction should be placed in a mined block.
This commit is contained in:
parent
1feaefac51
commit
2b2bc69e8c
|
@ -207,6 +207,8 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
|
|||
|
||||
dPriority += (double)nValueIn * nConf;
|
||||
}
|
||||
nTotalIn += tx.GetJoinSplitValueIn();
|
||||
|
||||
if (fMissingInputs) continue;
|
||||
|
||||
// Priority is sum(valuein * age) / modified_txsize
|
||||
|
|
Loading…
Reference in New Issue