mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +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>