Skip to content

Commit

Permalink
mainnet: add p2p topology example for SPOs
Browse files Browse the repository at this point in the history
  • Loading branch information
disassembler committed Mar 17, 2023
1 parent 416e54e commit ac31456
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/environments.md
Expand Up @@ -129,6 +129,7 @@ Informed: Cardano Core Tribe, COO, IOG Director of Engineering, IOG VP Community
- [DB Sync Config](environments/mainnet/db-sync-config.json)
- [Submit API Config](environments/mainnet/submit-api-config.json)
- [Node Topology](environments/mainnet/topology.json)
- [Node Topology (P2P - SPOs only!)](environments/mainnet/topology-p2p.json)
- [Byron Genesis](environments/mainnet/byron-genesis.json)
- [Shelley Genesis](environments/mainnet/shelley-genesis.json)
- [Alonzo Genesis](environments/mainnet/alonzo-genesis.json)
21 changes: 21 additions & 0 deletions docs/environments/mainnet/topology-p2p.json
@@ -0,0 +1,21 @@
{
"localRoots": [
{
"accessPoints": [],
"advertise": false,
"valency": 1
}
],
"publicRoots": [
{
"accessPoints": [
{
"address": "relays-new.cardano-mainnet.iohk.io",
"port": 3001
}
],
"advertise": false
}
],
"useLedgerAfterSlot": 84916732
}
2 changes: 1 addition & 1 deletion nix/cardano/environments/default.nix
Expand Up @@ -43,7 +43,7 @@
consensusProtocol = networkConfig.Protocol;
submitApiConfig = mkSubmitApiConfig "mainnet" nodeConfig;
dbSyncConfig = mkDbSyncConfig "mainnet" nodeConfig;
usePeersFromLedgerAfterSlot = 29691317;
usePeersFromLedgerAfterSlot = 84916732;
auxConfig = import ./aux-config/mainnet-aux.nix inputs;
};
# used for daedalus/cardano-wallet for local development
Expand Down

0 comments on commit ac31456

Please sign in to comment.