From | To | Expression |
---|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import signal | |
from operator import itemgetter | |
from decimal import Decimal | |
from boscoin_base.address import Address | |
def handle_timeout(signum, frame): | |
raise | |
if __name__ == "__main__": |
This script will simply do these,
- set up and compose the 2 quorums automatically with given numbers, and the
commons
(shared nodes between 2 quorums) is also considered. - by the possible number of faulty nodes, checking and calculating these factors,
safety
liveness
- minimum
threshold