...the config.node module, where it's nice to be able to be able to set a default known node class.

pull/2175/head
jMyles 2020-07-09 20:29:16 -07:00
parent 0dc3f14648
commit 29e0503852
1 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,8 @@ from constant_sorrow.constants import (
from eth_utils.address import is_checksum_address
from tempfile import TemporaryDirectory
from typing import Callable, List, Set, Union
from nucypher.characters.lawful import Ursula
from umbral.signing import Signature
from nucypher.blockchain.eth.interfaces import BlockchainInterfaceFactory
@ -61,6 +63,9 @@ class CharacterConfiguration(BaseConfiguration):
DEFAULT_NETWORK_MIDDLEWARE = RestMiddleware
TEMP_CONFIGURATION_DIR_PREFIX = 'tmp-nucypher'
# When we begin to support other threshold schemes, this will be one of the concepts that makes us want a factory.
known_node_class = Ursula
# Gas
DEFAULT_GAS_STRATEGY = 'fast'