2023-01-23 18:04:54 +01:00
|
|
|
#!/bin/python3
|
|
|
|
|
|
|
|
class Shape:
|
2023-01-25 21:51:59 +01:00
|
|
|
run = 0
|
2023-01-23 18:04:54 +01:00
|
|
|
numberValidators = 0
|
|
|
|
blockSize = 0
|
2023-01-25 21:51:59 +01:00
|
|
|
failureRate = 0
|
2023-01-23 18:04:54 +01:00
|
|
|
netDegree = 0
|
|
|
|
chi = 0
|
|
|
|
|
2023-01-25 21:51:59 +01:00
|
|
|
def __init__(self, blockSize, numberValidators, failureRate, chi, netDegree, run):
|
|
|
|
self.run = run
|
2023-01-23 18:04:54 +01:00
|
|
|
self.numberValidators = numberValidators
|
|
|
|
self.blockSize = blockSize
|
2023-01-25 21:51:59 +01:00
|
|
|
self.failureRate = failureRate
|
2023-01-23 18:04:54 +01:00
|
|
|
self.netDegree = netDegree
|
|
|
|
self.chi = chi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|