20 Feb
2022
20 Feb
'22
3:22 p.m.
i'm not seeing the print extraction code on my system so i plan to navigate to the other thread to copy it. here's the sourcefile i made so far. import aiorpcx async def main(): coin_peers = { coin.NAME: coin.PEERS for coin in electrumx.lib.coins.util.subclasses(electrumx.lib.coins.Coin) if len(coin.PEERS) > 0 } for name, peers in coin_peers.items(): try: for peer in peers: peer = electrumx.lib.peer.Peer.from_real_name(peer, '') async with aiorpcx.connect_rs(peer.host, pper.ssl_port) as session: print('connected to', name, peer.real_name(), session) except: continue import asyncio asyncio.run(main())