MCPcopy Create free account
hub / github.com/WizardOfMenlo/stir / commitment_size

Method commitment_size

scripts/protocol.py:178–182  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

176 return len
177
178 def commitment_size(self):
179 len = 0
180 for msg in self.list:
181 len += msg.commitment_size()
182 return len
183
184 def fold(self, folding):
185 assert(self.fold_amount() == 1)

Callers

nothing calls this directly

Calls 1

commitment_sizeMethod · 0.45

Tested by

no test coverage detected