2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-09 13:10:44 +00:00
Comrad/p2p/p2p.py

18 lines
368 B
Python
Raw Normal View History

2020-08-16 14:59:36 +00:00
import logging
import asyncio
import shelve
from collections import OrderedDict
import pickle,os
2020-08-21 11:11:50 +00:00
NODES_PRIME = [("128.232.229.63",8467), ("68.66.241.111",8467)]
#68.66.224.46
2020-08-20 20:08:47 +00:00
def boot_lonely_selfless_node(port=8467):
async def go():
from api import Api,PORT_LISTEN
API = Api()
2020-08-20 20:10:38 +00:00
await API.connect_forever(8467)
2020-08-20 19:05:52 +00:00
asyncio.run(go())