MCPcopy Create free account
hub / github.com/XTXMarkets/ternfs / blockServicesCacheKey

Function blockServicesCacheKey

cpp/shard/BlockServicesCacheDB.cpp:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21constexpr BlockServicesCacheKey BLOCK_SERVICE_KEY = BlockServicesCacheKey::BLOCK_SERVICE;
22
23inline rocksdb::Slice blockServicesCacheKey(const BlockServicesCacheKey* k) {
24 ALWAYS_ASSERT(*k != BLOCK_SERVICE_KEY);
25 return rocksdb::Slice((const char*)k, sizeof(*k));
26}
27
28struct BlockServiceInfoShortBody {
29 FIELDS(

Callers 2

BlockServicesCacheDBMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected