first pass at cache

This commit is contained in:
Joe Thornber
2011-10-21 16:57:28 +01:00
parent ad8a70ce76
commit 97f8d913e2
4 changed files with 402 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ namespace {
void check(block_manager<4096>::block const &blk) const {
for (unsigned b = 0; b < BlockSize; b++)
if (blk.data_[b] != 0)
throw runtime_error("validator check zero");
throw runtime_error("validator check zero");
}
void prepare(block_manager<4096>::block &blk) const {