Created
September 24, 2018 22:32
-
-
Save tzdybal/ebcf6a23c5d2e335ae5cc77a322b43ce to your computer and use it in GitHub Desktop.
geth - export of connected peers
This file contains hidden or 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
geth api admin peers 2>&1 | grep -E remoteAddress\|id | cut -d\" -f4 | paste - - | awk '{print "admin.addPeer(\"enode://"$1"@"$2"\")"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment