Skip to content

Commit

Permalink
CNTools 12.0.1 (#1727)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlrt committed Jan 28, 2024
1 parent ae1ed7b commit 13917cb
Show file tree
Hide file tree
Showing 5 changed files with 212 additions and 167 deletions.
8 changes: 4 additions & 4 deletions Build/node-cli/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1145,20 +1145,20 @@ <h4 id="start-the-node">Start the node<a class="headerlink" href="#start-the-nod
</code></pre></div>
<p>Press Ctrl-C to exit node and return to console.</p>
<h4 id="modify-the-nodes-config-files">Modify the node's config files<a class="headerlink" href="#modify-the-nodes-config-files" title="Permanent link">⚓︎</a></h4>
<p>Now that you've tested the basic node operation, you might want to customise your config files (assuming you are in top-level folder , i.e. <code>cd "${CNODE_HOME}"</code>:</p>
<p>Now that you've tested the basic node operation, you might want to customise your config files (assuming you are in top-level folder , i.e. <code>cd "${CNODE_HOME}"</code>) :</p>
<ol>
<li>
<p>files/config.json :
This file contains the logging configurations (tracers of to tune logging, paths for other genesis config files, address/ports on which the prometheus/EKG monitoring will listen, etc). Unless running more than one node on same machine (not recommended), you should be alright to use this file as-is. Note that for mainnet </p>
This file contains the logging configurations (tracers of to tune logging, paths for other genesis config files, address/ports on which the prometheus/EKG monitoring will listen, etc). Unless running more than one node on same machine (not recommended), you should be alright to use this file as-is.</p>
</li>
<li>
<p>files/topology.json :
This file tells your node how to connect to other nodes (especially initially to start synching). You would want to update this file as below:</p>
<ul>
<li>Update the <code>localRoots</code> &gt; <code>accessPoints</code> section to include your local nodes that you want persistent connection against (eg: this could be your BP and own relay nodes).</li>
<li>You'd want to update <code>localRoots</code> &gt; <code>valency</code> to number of connections from your localRoots that you always want to keep active connection to.</li>
<li>[Optional] - you can add more <code>publicRoots</code> section, tho defaults populated should work fine.</li>
<li><code>useLedgerAfterSlot</code> tells the node to use nodes from localRoots/publicRoots to sync the node initially until reaching an absolute slot number, after which - it can start attempting to connect to peers on the network.</li>
<li>[Optional] - you can add/remove nodes from <code>publicRoots</code> section, tho defaults populated should work fine. On mainnet, we did add a few additional nodes to help add more redundancy for initial sync - should IO/Emurgo decide to change DNS entries of their nodes.</li>
<li><code>useLedgerAfterSlot</code> tells the node to establish networking with nodes from localRoots/publicRoots to sync the node initially until reaching an absolute slot number, after which - it can start attempting to connect to peers registered as pool relays on the network. You may want this number to be relatively recent (eg: not hace it 50 epochs old)</li>
</ul>
</li>
</ol>
Expand Down
Loading

0 comments on commit 13917cb

Please sign in to comment.