Fix memory-intensive getCPFPUnindexedBlocks mysql query

This commit is contained in:
Mononaut 2023-03-07 21:01:54 -06:00
parent 6f376f8687
commit b8644d05ba

View File

@ -748,6 +748,7 @@ class BlocksRepository {
SELECT height
FROM compact_cpfp_clusters
WHERE height <= ? AND height >= ?
GROUP BY height
ORDER BY height DESC;
`, [currentBlockHeight, minHeight]);