forked from input-output-hk/daedalus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathselfnode-config.nix
38 lines (29 loc) · 1.36 KB
/
selfnode-config.nix
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
##########################################################
############### Selfnode ###############
############### Cardano Node Configuration ###############
##########################################################
{
##### Locations #####
GenesisFile = ../utils/cardano/selfnode/selfnode-byron-genesis.json;
##### Core protocol parameters #####
# This is the instance of the Ouroboros family that we are running.
# The node also supports various test and mock instances.
# "RealPBFT" is the real (ie not mock) (permissive) OBFT protocol, which
# is what we use on mainnet in Byron era.
Protocol = "RealPBFT";
# The mainnet does not include the network magic into addresses. Testnets do.
RequiresNetworkMagic = "RequiresMagic";
# Bounds the proportion of the latest K
# blocks which is allowed to be signed by any single key.
PBftSignatureThreshold = 1.1;
##### Update system parameters #####
# This protocol version number gets used by block producing nodes as part
# part of the system for agreeing on and synchronising protocol updates.
LastKnownBlockVersion-Major = 0;
LastKnownBlockVersion-Minor = 0;
LastKnownBlockVersion-Alt = 0;
# In the Byron era some software versions are also published on the chain.
# We do this only for Byron compatibility now.
ApplicationName = "cardano-sl";
ApplicationVersion = 0;
}