Write note witness cache atomically to disk to avoid corruption

Closes #1378
This commit is contained in:
Jack Grigg
2016-09-13 16:46:48 +12:00
parent c470cdf70b
commit 56fb1bb8e4
2 changed files with 29 additions and 10 deletions

View File

@@ -603,6 +603,7 @@ protected:
const CBlock* pblock,
ZCIncrementalMerkleTree tree);
void DecrementNoteWitnesses();
void WriteWitnessCache();
private:
template <class T>