2020-02-28 21:02:11 +00:00
|
|
|
import os
|
|
|
|
|
|
|
|
|
2020-05-21 14:10:03 +00:00
|
|
|
# Spec constants
|
2020-02-28 12:02:29 +00:00
|
|
|
DOMAIN_DEPOSIT = bytes.fromhex('03000000')
|
|
|
|
GENESIS_FORK_VERSION = bytes.fromhex('00000000')
|
2020-05-21 14:10:03 +00:00
|
|
|
BLS_WITHDRAWAL_PREFIX = bytes.fromhex('00')
|
2020-02-28 12:02:29 +00:00
|
|
|
|
2020-02-28 15:35:52 +00:00
|
|
|
MIN_DEPOSIT_AMOUNT = 2 ** 0 * 10 ** 9
|
|
|
|
MAX_DEPOSIT_AMOUNT = 2 ** 5 * 10 ** 9
|
|
|
|
|
2020-05-08 20:11:02 +00:00
|
|
|
|
2020-05-21 14:10:03 +00:00
|
|
|
# File/folder constants
|
|
|
|
WORD_LISTS_PATH = os.path.join('eth2deposit', 'key_handling', 'key_derivation', 'word_lists')
|
2020-05-08 20:11:02 +00:00
|
|
|
DEFAULT_VALIDATOR_KEYS_FOLDER_NAME = 'validator_keys'
|