MCPcopy Create free account
hub / github.com/Chia-Network/clvm / contains

Method contains

clvm/object_cache.py:56–57  ·  view source on GitHub ↗
(self, obj: CLVMStorage)

Source from the content-addressed store, hash-verified

54 return self.lookup[obj_id][0]
55
56 def contains(self, obj: CLVMStorage) -> bool:
57 return id(obj) in self.lookup
58
59
60def treehash(cache: ObjectCache[bytes], obj: CLVMStorage) -> Optional[bytes]:

Callers 2

treehashFunction · 0.80
serialized_lengthFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected