Fix CTxMemPoolEntry::UpdateAncestorState: modifySigOps param type int -> int64_t
This commit is contained in:
parent
a3624ddb1a
commit
203a4aa31e
2 changed files with 2 additions and 2 deletions
|
@ -317,7 +317,7 @@ void CTxMemPoolEntry::UpdateDescendantState(int64_t modifySize, CAmount modifyFe
|
||||||
assert(int64_t(nCountWithDescendants) > 0);
|
assert(int64_t(nCountWithDescendants) > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CTxMemPoolEntry::UpdateAncestorState(int64_t modifySize, CAmount modifyFee, int64_t modifyCount, int modifySigOps)
|
void CTxMemPoolEntry::UpdateAncestorState(int64_t modifySize, CAmount modifyFee, int64_t modifyCount, int64_t modifySigOps)
|
||||||
{
|
{
|
||||||
nSizeWithAncestors += modifySize;
|
nSizeWithAncestors += modifySize;
|
||||||
assert(int64_t(nSizeWithAncestors) > 0);
|
assert(int64_t(nSizeWithAncestors) > 0);
|
||||||
|
|
|
@ -109,7 +109,7 @@ public:
|
||||||
// Adjusts the descendant state.
|
// Adjusts the descendant state.
|
||||||
void UpdateDescendantState(int64_t modifySize, CAmount modifyFee, int64_t modifyCount);
|
void UpdateDescendantState(int64_t modifySize, CAmount modifyFee, int64_t modifyCount);
|
||||||
// Adjusts the ancestor state
|
// Adjusts the ancestor state
|
||||||
void UpdateAncestorState(int64_t modifySize, CAmount modifyFee, int64_t modifyCount, int modifySigOps);
|
void UpdateAncestorState(int64_t modifySize, CAmount modifyFee, int64_t modifyCount, int64_t modifySigOps);
|
||||||
// Updates the fee delta used for mining priority score, and the
|
// Updates the fee delta used for mining priority score, and the
|
||||||
// modified fees with descendants.
|
// modified fees with descendants.
|
||||||
void UpdateFeeDelta(int64_t feeDelta);
|
void UpdateFeeDelta(int64_t feeDelta);
|
||||||
|
|
Loading…
Reference in a new issue