Skip to content

Commit

Permalink
Add review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bolt12 committed May 12, 2021
1 parent 612eca4 commit d197e37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions cardano-node/src/Cardano/Node/Run.hs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ handleSimpleNode p trace nodeTracers nc onKernel = do

let relayAddresses = producerAddresses nt
dnsLocalRoots :: [(NodeDnsAddress, PeerAdvertise)]
dnsLocalRoots = [ (NodeAddress (NodeHostDnsAddress (decodeUtf8 $ domain))
dnsLocalRoots = [ (NodeAddress (NodeHostDnsAddress (decodeUtf8 domain))
port
, pa)
| (RelayDomain (DomainAddress domain port), pa) <- relayAddresses ]
Expand Down Expand Up @@ -449,6 +449,4 @@ producerAddresses nt =
useLedgerAfterSlot
:: NetworkTopology
-> UseLedgerAfter
useLedgerAfterSlot nt =
case nt of
RealNodeTopology _ _ (UseLedger ul) -> ul
useLedgerAfterSlot (RealNodeTopology _ _ (UseLedger ul)) = ul
2 changes: 1 addition & 1 deletion doc/getting-started/understanding-config-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Tells your node to which nodes in the network it should talk to. A minimal versi

* `valency` tells the node how many connections your node should try to pick from the given group. If a dns address is given, valency governs to how many resolved ip addresses should we maintain active (hot) connection.

Your __block-producing__ node must __ONLY__ talk to your __relay nodes__, and the relay node should talk to other relay nodes in the network. Go to our telegram channel to find out IP addresses and ports of peers.
Your __block-producing__ node must __ONLY__ talk to your __relay nodes__, and the relay node should talk to other relay nodes in the network.

#### The genesis.json file

Expand Down

0 comments on commit d197e37

Please sign in to comment.