Skip to content

Commit

Permalink
Add mainnet node configs for docker run
Browse files Browse the repository at this point in the history
  • Loading branch information
paolino committed Jul 15, 2024
1 parent 0a6e580 commit 1e1146a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.
4 changes: 2 additions & 2 deletions configs/cardano/mainnet/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
"LastKnownBlockVersion-Major": 3,
"LastKnownBlockVersion-Minor": 0,
"MaxKnownMajorProtocolVersion": 2,
"MinNodeVersion": "8.9.2",
"MinNodeVersion": "8.12.0",
"PeerSharing": true,
"Protocol": "Cardano",
"RequiresNetworkMagic": "RequiresNoMagic",
"ShelleyGenesisFile": "shelley-genesis.json",
"ShelleyGenesisHash": "1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81",
"TargetNumberOfActivePeers": 20,
"TargetNumberOfEstablishedPeers": 50,
"TargetNumberOfKnownPeers": 100,
"TargetNumberOfKnownPeers": 150,
"TargetNumberOfRootPeers": 60,
"TraceAcceptPolicy": true,
"TraceBlockFetchClient": false,
Expand Down
18 changes: 6 additions & 12 deletions configs/cardano/mainnet/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,9 @@

set -euo pipefail

curl https://book.play.dev.cardano.org/environments/mainnet/config.json \
> config.json
curl https://book.play.dev.cardano.org/environments/mainnet/conway-genesis.json \
> conway-genesis.json
curl https://book.play.dev.cardano.org/environments/mainnet/topology.json \
> topology.json
curl https://book.play.dev.cardano.org/environments/mainnet/byron-genesis.json \
> byron-genesis.json
curl https://book.play.dev.cardano.org/environments/mainnet/shelley-genesis.json \
> shelley-genesis.json
curl https://book.play.dev.cardano.org/environments/mainnet/alonzo-genesis.json \
> alonzo-genesis.json
curl https://book.play.dev.cardano.org/environments-pre/mainnet/config.json > config.json
curl https://book.play.dev.cardano.org/environments-pre/mainnet/conway-genesis.json > conway-genesis.json
curl https://book.play.dev.cardano.org/environments-pre/mainnet/topology.json > topology.json
curl https://book.play.dev.cardano.org/environments-pre/mainnet/byron-genesis.json > byron-genesis.json
curl https://book.play.dev.cardano.org/environments-pre/mainnet/shelley-genesis.json > shelley-genesis.json
curl https://book.play.dev.cardano.org/environments-pre/mainnet/alonzo-genesis.json > alonzo-genesis.json
2 changes: 1 addition & 1 deletion configs/cardano/mainnet/topology.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
"advertise": false
}
],
"useLedgerAfterSlot": 116812831
"useLedgerAfterSlot": 128908821
}
1 change: 1 addition & 0 deletions run/mainnet/docker/configs

0 comments on commit 1e1146a

Please sign in to comment.