-
Notifications
You must be signed in to change notification settings - Fork 28
/
mining.cfg
38 lines (35 loc) · 929 Bytes
/
mining.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Really boring network:
# Ten miners, each with 10% hashing power, each
# connected to two neighbors in a ring.
description=Ten equal miners, connected in a ring
# miner syntax is:
# miner=hashrate type
# ... where type is what strategy for propagating
# new blocks they follow and optional_block_latency
# simulates the miner creating blocks that take
# that many seconds to relay/validate
miner=0.1 standard
miner=0.1 standard
miner=0.1 standard
miner=0.1 standard
miner=0.1 standard
miner=0.1 standard
miner=0.1 standard
miner=0.1 standard
miner=0.1 standard
miner=0.1 standard
# biconnect syntax is:
# biconnect=peer# peer# latency
# where peer# index into miner
# and latency is simulated latency
# of the connection (in seconds)
biconnect=0 1 0.01
biconnect=1 2 0.01
biconnect=2 3 0.01
biconnect=3 4 0.01
biconnect=4 5 0.01
biconnect=5 6 0.01
biconnect=6 7 0.01
biconnect=7 8 0.01
biconnect=8 9 0.01
biconnect=9 0 0.01