|
@@ -758,11 +758,12 @@ if __name__ == '__main__':
|
|
|
|
|
|
dirauth.Consensus.verify(dirauth.DirAuth.consensus,
|
|
|
network.thenetwork.dirauthkeys(), perfstats)
|
|
|
- dirauth.ENDIVE.verify(dirauth.DirAuth.endive,
|
|
|
- network.thenetwork.dirauthkeys(), perfstats)
|
|
|
- for s in dirauth.DirAuth.endive.enddict['snips']:
|
|
|
- dirauth.SNIP.verify(s, dirauth.DirAuth.consensus,
|
|
|
- network.thenetwork.dirauthkeys()[0], perfstats)
|
|
|
+ if network.thenetwork.womode != network.WOMode.VANILLA:
|
|
|
+ dirauth.ENDIVE.verify(dirauth.DirAuth.endive,
|
|
|
+ network.thenetwork.dirauthkeys(), perfstats)
|
|
|
+ for s in dirauth.DirAuth.endive.enddict['snips']:
|
|
|
+ dirauth.SNIP.verify(s, dirauth.DirAuth.consensus,
|
|
|
+ network.thenetwork.dirauthkeys()[0], perfstats)
|
|
|
|
|
|
print('ticked; epoch=', network.thenetwork.getepoch())
|
|
|
|