Remove legacy mined block cpfp loop, reset stale ancestors

This commit is contained in:
Mononaut
2023-06-06 14:19:30 -04:00
parent f0c056d558
commit 5cf0980af4
2 changed files with 3 additions and 8 deletions

View File

@@ -358,6 +358,9 @@ class MempoolBlocks {
block: blockIndex,
vsize: totalVsize + (mempoolTx.vsize / 2),
};
mempoolTx.ancestors = [];
mempoolTx.descendants = [];
mempoolTx.bestDescendant = null;
mempoolTx.cpfpChecked = true;
// online calculation of stack-of-blocks fee stats