Skip to content

Commit

Permalink
peerSharing: set non-bp env cfg default true
Browse files Browse the repository at this point in the history
  • Loading branch information
johnalotoski committed Apr 3, 2024
1 parent 80bcaf0 commit f22a877
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion cardano-lib/mainnet-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
# The mainnet does not include the network magic into addresses. Testnets do.
RequiresNetworkMagic = "RequiresNoMagic";
EnableP2P = true;
PeerSharing = true;
TargetNumberOfActivePeers = 20;
TargetNumberOfEstablishedPeers = 50;
TargetNumberOfKnownPeers = 100;
TargetNumberOfRootPeers = 100;
TargetNumberOfRootPeers = 60;
TraceMempool = false;

MaxKnownMajorProtocolVersion = 2;
Expand Down
3 changes: 2 additions & 1 deletion cardano-lib/preprod-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
# The mainnet does not include the network magic into addresses. Testnets do.
RequiresNetworkMagic = "RequiresMagic";
EnableP2P = true;
PeerSharing = true;
TargetNumberOfActivePeers = 20;
TargetNumberOfEstablishedPeers = 50;
TargetNumberOfKnownPeers = 100;
TargetNumberOfRootPeers = 100;
TargetNumberOfRootPeers = 60;

##### Update system parameters #####

Expand Down
3 changes: 2 additions & 1 deletion cardano-lib/preview-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@
Protocol = "Cardano";
RequiresNetworkMagic = "RequiresMagic";
EnableP2P = true;
PeerSharing = true;
TargetNumberOfActivePeers = 20;
TargetNumberOfEstablishedPeers = 50;
TargetNumberOfKnownPeers = 100;
TargetNumberOfRootPeers = 100;
TargetNumberOfRootPeers = 60;
ExperimentalHardForksEnabled = false;
ExperimentalProtocolsEnabled = false;
TestShelleyHardForkAtEpoch = 0;
Expand Down
3 changes: 2 additions & 1 deletion cardano-lib/private-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@
Protocol = "Cardano";
RequiresNetworkMagic = "RequiresMagic";
EnableP2P = true;
PeerSharing = true;
TargetNumberOfActivePeers = 20;
TargetNumberOfEstablishedPeers = 50;
TargetNumberOfKnownPeers = 100;
TargetNumberOfRootPeers = 100;
TargetNumberOfRootPeers = 60;
ExperimentalHardForksEnabled = true;
ExperimentalProtocolsEnabled = true;
TestShelleyHardForkAtEpoch = 0;
Expand Down
3 changes: 2 additions & 1 deletion cardano-lib/sanchonet-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@
Protocol = "Cardano";
RequiresNetworkMagic = "RequiresMagic";
EnableP2P = true;
PeerSharing = true;
TargetNumberOfActivePeers = 20;
TargetNumberOfEstablishedPeers = 50;
TargetNumberOfKnownPeers = 100;
TargetNumberOfRootPeers = 100;
TargetNumberOfRootPeers = 60;
ExperimentalHardForksEnabled = true;
ExperimentalProtocolsEnabled = true;
TestShelleyHardForkAtEpoch = 0;
Expand Down
3 changes: 2 additions & 1 deletion cardano-lib/shelley_qa-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@
Protocol = "Cardano";
RequiresNetworkMagic = "RequiresMagic";
EnableP2P = true;
PeerSharing = true;
TargetNumberOfActivePeers = 20;
TargetNumberOfEstablishedPeers = 50;
TargetNumberOfKnownPeers = 100;
TargetNumberOfRootPeers = 100;
TargetNumberOfRootPeers = 60;
ExperimentalHardForksEnabled = true;
ExperimentalProtocolsEnabled = true;
TestShelleyHardForkAtEpoch = 0;
Expand Down

0 comments on commit f22a877

Please sign in to comment.