concord-bft
concord-bft copied to clipboard
Fix data race on ClientsInfo's requestsInfo and repliesInfo maps.
We need to sync access to those maps, because they get modified/queried by multiple threads. We introduce 2 mutexes that guard each and make sure we never hold them both at the same time for a given ClientInfo object.repliesInfo.