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

Method __init__

scripts/protocol.py:263–272  ·  view source on GitHub ↗
(self, ldt_params: LDTParameters)

Source from the content-addressed store, hash-verified

261
262class Protocol:
263 def __init__(self, ldt_params: LDTParameters):
264 self.params = ldt_params
265 #msg = Polynomial(ldt_params, ldt_params.degree, ldt_params.rho_bits)
266 #rnd_init = Round()
267 #rnd_init.addMessage(msg)
268 #self.rounds = [rnd_init]
269 self.stopped = False
270 #self.lastOracle = msg
271 self.rounds = []
272 self.lastOracle = None
273
274 def addRound(self, rnd : Round):
275 if self.stopped == False:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected