MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / AssertAllBlocksValid

Method AssertAllBlocksValid

src/db/blockrecordfile.cpp:332–338  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////// AssertAllBlocksValid //////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

330// AssertAllBlocksValid
331///////////////////////////////////////////////////////////////////////////////
332void cBlockRecordFile::AssertAllBlocksValid()
333{
334 for (BlockArray::iterator i = mvBlocks.begin(); i != mvBlocks.end(); ++i)
335 {
336 i->AssertValid();
337 }
338}
339
340
341#endif

Callers 3

ExecuteMethod · 0.80
TestDbDataSourceBasicFunction · 0.80
TestHierDatabaseBasicFunction · 0.80

Calls 3

beginMethod · 0.80
endMethod · 0.80
AssertValidMethod · 0.45

Tested by 2

TestDbDataSourceBasicFunction · 0.64
TestHierDatabaseBasicFunction · 0.64