mirror of https://github.com/nucypher/nucypher.git
...the config.node module, where it's nice to be able to be able to set a default known node class.
parent
0dc3f14648
commit
29e0503852
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue