mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-09-13 21:10:12 +00:00

* Block template cache improvement * Avoid concurrent calls to template builder * Clear cache on new block event * Move IsNearlySynced logic to within consensus and cache it for each template * Use a single consensus call for building template and checking synced Co-authored-by: msutton <mikisiton2@gmail.com>