We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dce95d commit fba0bfbCopy full SHA for fba0bfb
cardano-lib/default.nix
@@ -68,7 +68,14 @@ let
68
p2pTopology = mkEdgeTopologyP2P {
69
inherit (env) edgeNodes;
70
71
- bootstrapPeers = map (e: {address = e.addr; inherit (e) port;}) env.edgeNodes;
+
72
+ # If an address is provided without a port or a port set to null within
73
+ # the attrs, the address will be interpreted as an SRV record.
74
+ bootstrapPeers = map (e:
75
+ {address = e.addr;}
76
+ // optionalAttrs (e ? port && e.port != null) {inherit (e) port;})
77
+ env.edgeNodes;
78
79
useLedgerAfterSlot = env.useLedgerAfterSlot;
80
81
# Genesis mode is now default for preview and preprod as of node 10.5.0.
0 commit comments