Create script to grab topology peers
Last updated
Was this helpful?
Last updated
Was this helpful?
Move to your scripts directory and open the new script:
Copy/paste the following lines into the new script topology_push.sh:
Now we need to edit the script, check the picture below to see what items need changed:
Once you are done with the edits, we can test it out after topologyUpdater has ran successfully for 3 hours you will be able to use this new script. Let's set the execute permissions:
Once you have been running topologyUpdater for 3 hours (check your logs) you can manually execute the following:
This will go out, pull relay peers in the topology and automatically update your topology file.
Remember you MUST close the relay then restart it for the relay to read this new topology file.