Closed Stebalien closed 3 years ago
We need to hold the ledger's lock while reading from it.
Unfortunately, there are still some fundamental (logical) races here. But this should be better than it was, and we have other mitigations for those races.
TL;DR: We need to better manage wantlists.
We need to hold the ledger's lock while reading from it.