Kaspa full-node and related libraries in the Rust programming language. This is a stable version at the initial rollout phases.
376
stars
119
forks
source link
Clear the block template cache only when expired #317
Closed
coderofstuff closed 7 months ago
Previously we were clearing the block template every time we validate and insert a block. But really, we only need to do so after virtual is resolved.
This means we can keep the cache until we have a new VirtualStateApproxId is different from what the block template's is.