I hereby claim:
- I am nikkolasg on github.
- I am nikkolasg (https://keybase.io/nikkolasg) on keybase.
- I have a public key whose fingerprint is 9AD7 EF74 6E80 E200 EEAF FB7D CBC7 B06D 574A 4C6A
To claim this, I am signing this object:
package main | |
import ( | |
"encoding/binary" | |
"fmt" | |
"net" | |
"os" | |
"time" | |
) |
I hereby claim:
To claim this, I am signing this object:
Verifying my Blockstack ID is secured with the address 1PErskqD6PhcP1SFeWbzDTFu23iU4EBc1U https://explorer.blockstack.org/address/1PErskqD6PhcP1SFeWbzDTFu23iU4EBc1U |
#!/usr/bin/env python3 | |
# requires installation of https://pypi.org/project/python-constraint/ | |
# `pip3 python-constraint` should do it | |
from constraint import * | |
import math | |
import json | |
# Let X the number of tier 1 nodes. | |
# Let Y the number of tier 2 nodes. | |
# Let R be the weight / replication factor of each tier 1 node |
#!/usr/bin/env python3 | |
from datetime import timedelta | |
period = 30 | |
catchup = 10 | |
downtime_h = 3 | |
downtime_rounds = 2 * 60 * downtime_h | |
downtime = period * downtime_rounds |
#!/usr/bin/env python3 | |
precommitGas = 9000000 | |
provecommitGas = 40000000 | |
windowpostGas = 512265727 | |
windowPostInPartition = 2349 | |
sectorSize = 32 | |
blockLimitGas = 10e9 |
#!/usr/bin/env python3 | |
precommitGas = 9000000 | |
provecommitGas = 40000000 | |
windowpostGas = 512265727 | |
maxSectorsPerWindowPost = 10000 | |
sectorSize = 32 | |
blockLimitGas = 10e9 |
#!/usr/bin/env python3 | |
precommitGas = 9000000 | |
provecommitGas = 40000000 | |
windowpostGas = 512265727 | |
sectorsInPartition = 2349 | |
maxSectorsPerWindowPost = 10000 | |
sectorSize = 32 | |
blockLimitGas = 10e9 | |
tipset = 5 |
#!/usr/bin/env python3 | |
import math | |
n = 2**29 # number of nodes in total | |
f = 256 # width of each node in the vtree | |
lf = math.log(f,2) | |
d = math.log(n,f) # number of layers in the vtree | |
c_h = 505 # constraints to hash | |
c_f = 506 # constraints to perform fixed based multiplication |
#!/usr/bin/env python3 | |
import math | |
n = 2**29 # number of nodes in total | |
f = 256 # width of each node in the vtree | |
lf = math.log(f,2) | |
d = math.log(n,f) # number of layers in the vtree | |
c_h = 505 # constraints to hash | |
c_f = 506 # constraints to perform fixed based multiplication |