Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/check-mainnet-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ jobs:
'mainnet-alonzo-genesis.json'
'mainnet-byron-genesis.json'
'mainnet-checkpoints.json'
'mainnet-config-bp.json'
'mainnet-config-bp-legacy.json'
'mainnet-config.json'
'mainnet-config-legacy.json'
'mainnet-peer-snapshot.json'
Expand Down
146 changes: 0 additions & 146 deletions configuration/cardano/mainnet-config-bp.json

This file was deleted.

4 changes: 1 addition & 3 deletions configuration/cardano/mainnet-config-legacy.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"ConsensusMode": "PraosMode",
"ConwayGenesisFile": "mainnet-conway-genesis.json",
"ConwayGenesisHash": "15a199f895e461ec0ffc6dd4e4028af28a492ab4e806d39cb674c88f7643ef62",
"EnableP2P": true,
"LastKnownBlockVersion-Alt": 0,
"LastKnownBlockVersion-Major": 3,
"LastKnownBlockVersion-Minor": 0,
Expand All @@ -19,8 +18,7 @@
"SnapshotInterval": 4320
},
"MaxKnownMajorProtocolVersion": 2,
"MinNodeVersion": "10.4.0",
"PeerSharing": true,
"MinNodeVersion": "10.6.0",
"Protocol": "Cardano",
"RequiresNetworkMagic": "RequiresNoMagic",
"ShelleyGenesisFile": "mainnet-shelley-genesis.json",
Expand Down
4 changes: 1 addition & 3 deletions configuration/cardano/mainnet-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"ConsensusMode": "PraosMode",
"ConwayGenesisFile": "mainnet-conway-genesis.json",
"ConwayGenesisHash": "15a199f895e461ec0ffc6dd4e4028af28a492ab4e806d39cb674c88f7643ef62",
"EnableP2P": true,
"LastKnownBlockVersion-Alt": 0,
"LastKnownBlockVersion-Major": 3,
"LastKnownBlockVersion-Minor": 0,
Expand All @@ -19,8 +18,7 @@
"SnapshotInterval": 4320
},
"MaxKnownMajorProtocolVersion": 2,
"MinNodeVersion": "10.4.0",
"PeerSharing": true,
"MinNodeVersion": "10.6.0",
"Protocol": "Cardano",
"RequiresNetworkMagic": "RequiresNoMagic",
"ShelleyGenesisFile": "mainnet-shelley-genesis.json",
Expand Down
24 changes: 16 additions & 8 deletions configuration/cardano/mainnet-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ ShelleyGenesisHash: 1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d927
CheckpointsFile: mainnet-checkpoints.json
CheckpointsFileHash: 3e6dee5bae7acc6d870187e72674b37c929be8c66e62a552cf6a876b1af31ade

EnableP2P: True

##### Core protocol parameters #####

Protocol: Cardano
Expand All @@ -36,11 +34,10 @@ MaxKnownMajorProtocolVersion: 2

##### Network Configuration #####

PeerSharing: True

# The following control the number of outbound connections to strictly our upstream peers
# cf. https://developers.cardano.org/docs/operate-a-stake-pool/node-operations/topology
# defaults are provided by ouroboros-network, but can be overridden by uncommenting below:
#
# Defaults are provided by ouroboros-network, but can be overridden by uncommenting below:
# SyncTargetNumberOfActiveBigLedgerPeers: 30
# SyncTargetNumberOfActivePeers: 5
# SyncTargetNumberOfEstablishedBigLedgerPeers: 40
Expand All @@ -53,8 +50,15 @@ PeerSharing: True
# TargetNumberOfEstablishedBigLedgerPeers: 10
# TargetNumberOfEstablishedPeers: 30
# TargetNumberOfKnownBigLedgerPeers: 15
# TargetNumberOfKnownPeers: 150
# TargetNumberOfRootPeers: 60
#
# Additionally, as of ouroboros-network `0.22.2` with cardano-node `10.6.0`,
# the following three node config parameters which previously required
# explicit configuration depending on whether the node is a forger are now
# handled automatically.
#
# PeerSharing: false for forgers, true for non-forgers
# TargetNumberOfKnownPeers: set according to forging status
# TargetNumberOfRootPeers: set according to forging status

# When syncing in Genesis mode, this is the minimum number of active connections
# to big ledger peers needed to continue:
Expand Down Expand Up @@ -85,7 +89,11 @@ LedgerDB:

##### Version Information #####

MinNodeVersion: 10.4.0
# Min is currently 10.6.0 for proper default handling of PeerSharing,
# TargetNumberOfKnownPeers and TargetNumberOfRootPeers parameters depending
# on whether node is a forger or not, as well as removal of legacy
# networking mode.
MinNodeVersion: 10.6.0

##### Logging configuration #####

Expand Down
Loading
Loading