kaspanet / rusty-kaspa

Kaspa full-node and related libraries in the Rust programming language. This is a stable version at the initial rollout phases.
ISC License
366 stars 115 forks source link

Add "last known good" cache for virtual state #399

Closed michaelsutton closed 4 months ago

michaelsutton commented 5 months ago
humoud19801 commented 4 months ago

In summary, this pull request is all about making P2P operations more efficient by removing the need for waiting on virtual store locks. Simultaneously, it aims to improve the responsiveness of the RPC get metrics call, providing faster access to important system metrics. These optimizations contribute to an overall enhancement of system performance and responsiveness.