nimiq / core-rs

Official Rust implementation of the Nimiq protocol
https://nimiq.com
Other
74 stars 10 forks source link

Synchronize mempool and blockchain #16

Closed jgraef closed 5 years ago

jgraef commented 5 years ago

Pull request checklist

This fixes issue #___.

What's in this pull request?

As discussed with Philipp, this synchronizes the state of the blockchain (i.e. accounts) with the Mempool. In my opinion we can't lock less than this. We also considered using a priority lock to prioritize Blockchain::push