B4: chain tables, HD index assignment and signing key reserved to the worker (DAT-81..84, ARC-78)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0092596b07
commit
f1d09075a1
18 files changed
+741
-8
No files matched your search
@@ -166,6 +166,12 @@ if PLM_NETWORK == "mainnet" and os.environ.get("PLM_MAINNET_CONFIRMED", "") != "
|
||||
raise ImproperlyConfigured("PLM_NETWORK=mainnet needs PLM_MAINNET_CONFIRMED=yes (ADR-58): real funds are at stake")
|
||||
PLM_PROFILE = network_profile(PLM_NETWORK)
|
||||
|
||||
# ARC-78: the web process knows only the public account key; the signing key is the worker's alone.
|
||||
PROCESS_ROLE = os.environ.get("PROCESS_ROLE", "web")
|
||||
PLM_ACCOUNT_XPUB = os.environ.get("PLM_ACCOUNT_XPUB", "")
|
||||
PLM_MASTER_KEY_FILE = os.environ.get("PLM_MASTER_KEY_FILE", "")
|
||||
PLM_KEY_ENCRYPTION_KEY_FILE = os.environ.get("PLM_KEY_ENCRYPTION_KEY_FILE", "")
|
||||
|
||||
# The simulated chain (ADR-59): a block every N seconds and a confirmation after M, so a whole round
|
||||
# runs in a few minutes on localhost. Real chains ignore both.
|
||||
SIMULATED_BLOCK_SECONDS = int(os.environ.get("SIMULATED_BLOCK_SECONDS", "20"))
|
||||
|
||||
Reference in new issue
Block a user