basicswap_miserver/basicswap/network.py
tecnovert 5a163e0f86
basicswap-prepare tries to initialise coin wallets from Particl mnemonic
Bitcoin 0.20: 'Cannot set a new HD seed while still in Initial Block Download.' Removed in 0.21
2020-12-04 01:46:01 +02:00

22 lines
416 B
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2020 tecnovert
# Distributed under the MIT software license, see the accompanying
# file LICENSE or http://www.opensource.org/licenses/mit-license.php.
'''
TODO:
'''
class Peer:
pass
class Network:
def __init__(self, p2p_port, network_key):
self._p2p_port = p2p_port
self._network_key = network_key
self._peers = []