Created
November 29, 2018 20:47
-
-
Save skwp/dca012796ecad1c3b828ad78a4303691 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function bitcoinAddnode() { | |
nodeToAdd=$1 | |
dnsLookup $nodeToAdd | |
bitcoinExec "addnode $ip:$BITCOIN_PORT add" | |
} | |
for peer in $newline_peerlist; do | |
bitcoinAddnode $peer | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment