mirror of https://github.com/nucypher/nucypher.git
Keep tests passing along the way.
parent
905a0151fb
commit
953e11bb3d
|
@ -1,6 +1,5 @@
|
||||||
import asyncio
|
import asyncio
|
||||||
import random
|
import random
|
||||||
import time
|
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
from collections import deque
|
from collections import deque
|
||||||
from contextlib import suppress
|
from contextlib import suppress
|
||||||
|
@ -11,11 +10,11 @@ from typing import Union, List
|
||||||
|
|
||||||
import kademlia
|
import kademlia
|
||||||
import maya
|
import maya
|
||||||
|
import time
|
||||||
from bytestring_splitter import BytestringSplitter, VariableLengthBytestring
|
from bytestring_splitter import BytestringSplitter, VariableLengthBytestring
|
||||||
from constant_sorrow import constants, default_constant_splitter
|
from constant_sorrow import constants, default_constant_splitter
|
||||||
from eth_keys import KeyAPI as EthKeyAPI
|
from eth_keys import KeyAPI as EthKeyAPI
|
||||||
from eth_utils import to_checksum_address, to_canonical_address
|
from eth_utils import to_checksum_address, to_canonical_address
|
||||||
|
|
||||||
from kademlia.utils import digest
|
from kademlia.utils import digest
|
||||||
from twisted.internet import task, threads
|
from twisted.internet import task, threads
|
||||||
from umbral.keys import UmbralPublicKey
|
from umbral.keys import UmbralPublicKey
|
||||||
|
@ -69,7 +68,6 @@ class Character:
|
||||||
crypto_power: CryptoPower = None,
|
crypto_power: CryptoPower = None,
|
||||||
crypto_power_ups=None,
|
crypto_power_ups=None,
|
||||||
federated_only=False,
|
federated_only=False,
|
||||||
config=None,
|
|
||||||
checksum_address: bytes = None,
|
checksum_address: bytes = None,
|
||||||
always_be_learning=False,
|
always_be_learning=False,
|
||||||
start_learning_on_same_thread=False,
|
start_learning_on_same_thread=False,
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import asyncio
|
import asyncio
|
||||||
import binascii
|
import binascii
|
||||||
import random
|
import random
|
||||||
|
from typing import ClassVar
|
||||||
|
|
||||||
import kademlia
|
import kademlia
|
||||||
from apistar import http, Route, App
|
from apistar import http, Route, App
|
||||||
|
@ -11,14 +12,9 @@ from hendrix.experience import crosstown_traffic
|
||||||
from kademlia.crawling import NodeSpiderCrawl
|
from kademlia.crawling import NodeSpiderCrawl
|
||||||
from kademlia.network import Server
|
from kademlia.network import Server
|
||||||
from kademlia.utils import digest
|
from kademlia.utils import digest
|
||||||
from typing import ClassVar
|
|
||||||
from umbral import pre
|
from umbral import pre
|
||||||
from umbral.fragments import KFrag
|
from umbral.fragments import KFrag
|
||||||
|
|
||||||
from bytestring_splitter import VariableLengthBytestring
|
|
||||||
from constant_sorrow import constants
|
|
||||||
from hendrix.experience import crosstown_traffic
|
|
||||||
|
|
||||||
from nucypher.crypto.kits import UmbralMessageKit
|
from nucypher.crypto.kits import UmbralMessageKit
|
||||||
from nucypher.crypto.powers import SigningPower, TLSHostingPower
|
from nucypher.crypto.powers import SigningPower, TLSHostingPower
|
||||||
from nucypher.keystore.keypairs import HostingKeypair
|
from nucypher.keystore.keypairs import HostingKeypair
|
||||||
|
|
Loading…
Reference in New Issue