MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / checkBlock

Function checkBlock

source/test/btree_database_test.cpp:34–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 }
33
34 bool checkBlock(uint32_t k, ByteArray b) {
35 return genBlock(k) == b;
36 }
37
38 void putAll(BTreeDatabase& db, const List<uint32_t>& keys) {
39 for (uint32_t k : keys) {

Callers 2

checkAllFunction · 0.85
TESTFunction · 0.85

Calls 1

genBlockFunction · 0.85

Tested by

no test coverage detected