-
Notifications
You must be signed in to change notification settings - Fork 721
/
defaults.jq
111 lines (96 loc) · 3.02 KB
/
defaults.jq
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
## Testable with:
##
## jq -n 'include "defaults" { search: "nix/workbench/profiles" }; era_defaults("alonzo")'
##
def era_defaults($era):
{ common:
{ era: $era
## Choice of a cluster run scenario (wb scenario --help):
, scenario: "default"
## Cluster topology and composition:
, composition:
{ locations: ["LO"]
, n_bft_hosts: 0
, n_singular_hosts: 5
, n_dense_hosts: 1
, dense_pool_density: 1
, with_proxy: false
, with_observer: false
, topology: "uni-circle"
}
, genesis:
## Trivia
{ network_magic: 42
## Incrementality
, single_shot: true
## UTxO & delegation
, per_pool_balance: 1000000000000000
, funds_balance: 10000000000000
, utxo: 0
, decentralisation_param: 0
## Blockchain time & block density
, active_slots_coeff: 0.05
, epoch_length: 2200 # Ought to be at least (10 * k / f).
, parameter_k: 10
, slot_duration: 1
## Block size & contents
, max_block_size: 64000
, max_tx_size: 16384
## Verbatim overlay, for all era-specific genesis slices:
, shelley:
{ protocolParams:
{ poolDeposit: 500000000
, keyDeposit: 400000
, rho: 0.0022
, tau: 0.05
, a0: 0.3
, minFeeA: 0
, minFeeB: 0
, decentralisationParam: 0
, nOpt: 50
}
}
}
, generator:
{ add_tx_size: 0
, init_cooldown: 25
, inputs_per_tx: 2
, outputs_per_tx: 2
, tx_fee: 1000000
, epochs: 10
, tps: 2
}
, node:
{ rts_flags_override: []
, shutdown_on_slot_synced: null
, tracing_backend: "trace-dispatcher" ## or "iohk-monitoring"
, tracer: true
}
, analysis:
{ type: null
, cluster_startup_overhead_s: 10
, start_log_spread_s: 120
, last_log_spread_s: 120
, silence_since_last_block_s: 120
, tx_loss_ratio: 0.02
, finish_patience: 21
, filters: ["base", "size-full"]
}
}
, shelley:
{ analysis:
{ maximum_missed_slots: 0
}
}
, allegra:
{
}
, mary:
{
}
, alonzo:
(.genesis.shelley.protocolParams.protocolVersion =
{ major: 5
, minor: 0
})
} | (.common * .[$era]);