Skip to content

Instantly share code, notes, and snippets.

@spikeekips
spikeekips / README.md
Last active February 13, 2018 02:38
Checking the stability fo two quorums in SCP(FBA)

Checking The Stability Of Two Quorums

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
@jinhwanlazy
jinhwanlazy / bos_ico_distribution.py
Last active November 22, 2017 10:32
bos_distribution.py
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__":
@Nurdok
Nurdok / python_conversion.md
Last active December 16, 2022 03:45
Python Conversion

Python Number Conversion Chart

From To Expression