koinos / koinos-block-store

The block store microservice saves blocks to disk and provides an API to the Koinos cluster via RPC over AMQP.
MIT License
1 stars 1 forks source link

Synchronize UpdateHighestBlock within AddBlock #120

Closed mvandeberg closed 2 years ago

mvandeberg commented 2 years ago

Maybe resolves #118

Brief description

UpdateHighestBlock was being called outside of a lock and could potentially cause crashes.

Checklist

Demonstration