mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Add explicit fee field to transaction
This commit is contained in:
parent
fc86bc95c2
commit
b8264355f1
32 changed files with 705 additions and 666 deletions
|
|
@ -33,9 +33,10 @@ CTxMemPoolEntry::CTxMemPoolEntry(const CTransactionRef& _tx, const CAmount& _nFe
|
|||
nCountWithDescendants = 1;
|
||||
nSizeWithDescendants = GetTxSize();
|
||||
nModFeesWithDescendants = nFee;
|
||||
/* Unused and impossible to validate with confidential values anyways
|
||||
CAmount nValueIn = tx->GetValueOut()+nFee;
|
||||
assert(inChainInputValue <= nValueIn);
|
||||
|
||||
*/
|
||||
feeDelta = 0;
|
||||
|
||||
nCountWithAncestors = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue