Detect RBF-transactions and offer to track them.

fixes #78
This commit is contained in:
softsimon
2020-06-08 18:55:53 +07:00
parent f0b0fc3f4b
commit 8b6a681614
11 changed files with 74 additions and 19 deletions

View File

@@ -49,9 +49,9 @@ class MempoolBlocks {
transactions.push(tx);
} else {
mempoolBlocks.push(this.dataToMempoolBlocks(transactions, blockSize, blockVSize, mempoolBlocks.length));
blockVSize = 0;
blockSize = 0;
transactions = [];
blockVSize = tx.vsize;
blockSize = tx.size;
transactions = [tx];
}
});
if (transactions.length) {