Skip to content
Snippets Groups Projects

#7: Migrate to DuniterPy

Merged Moul requested to merge duniterpy into dev
Files
16
+ 2
7
@@ -17,14 +17,9 @@ You should have received a copy of the GNU Affero General Public License
along with Silkaj. If not, see <https://www.gnu.org/licenses/>.
"""
from sys import exit
from asyncio import get_event_loop
from silkaj.network_tools import check_port, best_node, EndPoint
from silkaj.cli_tools import manage_cmd
if __name__ == "__main__":
ep = EndPoint().ep
if not check_port(ep["port"]):
exit(1)
best_node(ep, True)
manage_cmd()
get_event_loop().run_until_complete(manage_cmd())
Loading