diff options
Diffstat (limited to 'other/fun/bootstrap_node_info.py')
-rw-r--r-- | other/fun/bootstrap_node_info.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/other/fun/bootstrap_node_info.py b/other/fun/bootstrap_node_info.py index 17349334..ffda41e3 100644 --- a/other/fun/bootstrap_node_info.py +++ b/other/fun/bootstrap_node_info.py | |||
@@ -32,7 +32,7 @@ def printHelp(): | |||
32 | print("Usage: " + sys.argv[0] + " <ipv4|ipv6> <ip/hostname> <port>") | 32 | print("Usage: " + sys.argv[0] + " <ipv4|ipv6> <ip/hostname> <port>") |
33 | print(" Example: " + sys.argv[0] + " ipv4 192.210.149.121 33445") | 33 | print(" Example: " + sys.argv[0] + " ipv4 192.210.149.121 33445") |
34 | print(" Example: " + sys.argv[0] + " ipv4 23.226.230.47 33445") | 34 | print(" Example: " + sys.argv[0] + " ipv4 23.226.230.47 33445") |
35 | print(" Example: " + sys.argv[0] + " ipv4 biribiri.org 33445") | 35 | print(" Example: " + sys.argv[0] + " ipv4 node.tox.biribiri.org 33445") |
36 | print(" Example: " + sys.argv[0] + " ipv4 cerberus.zodiaclabs.org 33445") | 36 | print(" Example: " + sys.argv[0] + " ipv4 cerberus.zodiaclabs.org 33445") |
37 | print(" Example: " + sys.argv[0] + " ipv6 2604:180:1::3ded:b280 33445") | 37 | print(" Example: " + sys.argv[0] + " ipv6 2604:180:1::3ded:b280 33445") |
38 | print("") | 38 | print("") |
@@ -95,4 +95,4 @@ version = int.from_bytes(data[PACKET_ID_LENGTH:PACKET_ID_LENGTH + VERSION_LENGTH | |||
95 | motd = data[PACKET_ID_LENGTH + VERSION_LENGTH:].decode("utf-8") | 95 | motd = data[PACKET_ID_LENGTH + VERSION_LENGTH:].decode("utf-8") |
96 | print("Version: " + str(version)) | 96 | print("Version: " + str(version)) |
97 | print("MOTD: " + motd) | 97 | print("MOTD: " + motd) |
98 | sys.exit(0) \ No newline at end of file | 98 | sys.exit(0) |