Auto merge of #1444 - str4d:1394-reindex-clear-witness-caches, r=str4d

Clear note witness caches on reindexing

This PR also fixes a test that was passing arguments in the wrong order.

Closes #1394
This commit is contained in:
zkbot
2016-09-30 02:30:01 -04:00
4 changed files with 60 additions and 3 deletions

View File

@@ -598,6 +598,8 @@ public:
*/
int64_t nWitnessCacheSize;
void ClearNoteWitnessCache();
protected:
void IncrementNoteWitnesses(const CBlockIndex* pindex,
const CBlock* pblock,