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

Method addRound

scripts/protocol.py:274–278  ·  view source on GitHub ↗
(self, rnd : Round)

Source from the content-addressed store, hash-verified

272 self.lastOracle = None
273
274 def addRound(self, rnd : Round):
275 if self.stopped == False:
276 self.rounds.append(rnd)
277 self.stopped = rnd.isStopped()
278 self.lastOracle = rnd.lastOracle
279
280 def getLastOracle(self):
281 return self.lastOracle

Callers 5

begin_auroraFunction · 0.95
run_FRIFunction · 0.95
run_STIRFunction · 0.95
run_aurora_FRIFunction · 0.80
run_aurora_STIRFunction · 0.80

Calls 1

isStoppedMethod · 0.45

Tested by

no test coverage detected