if pphrase == pphrase2: s.encryptwallet(pphrase) else: print("Passphrases do not match, not encrypting.") exit() if options.unlock: t = 60 print("Unlocking an encrypted wallet for %.2f %s" % tuple(timeprint(t))) pphrase = raw_input("Enter passphrase: ") s.walletpassphrase(pphrase, t) exit() if options.peers: # The ip addresses contain occasional dupes peers = s.getpeerinfo() peer_ips = set() for p in peers: addr = p["addr"].split(":")[0] peer_ips.add(addr) for ip in peer_ips: print(ip) exit() info = s.getinfo() if options.verbose: keys = info.keys() elif coin == "Vcash": # No testnet in info keys = ["balance"]