B6: atomic UTXO reservation, bet signed by the worker and saved before broadcast, broadcast verdicts (BET-30..33)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2acd4ccd1c
commit
feff993584
25 files changed
+995
-53
No files matched your search
@@ -986,7 +986,7 @@ non è rimosso le sezioni precedenti descrivono lo stato storico. Scelte: [ADR-5
|
||||
cifrata e la chiave che la cifra, due file diversi) si carica solo se `PROCESS_ROLE=worker` e i file sono montati; in
|
||||
qualunque altro processo `signing_account_key()` fallisce con `SigningKeyUnavailable`, anche se i file ci fossero.
|
||||
`manage.py init_keys` crea le chiavi una tantum, scrive i file con modo `0600` e stampa la sola chiave pubblica.
|
||||
*Stato:* implementato (B4); il montaggio dei file nel solo servizio `worker` arriva con B6, quando il worker firma ·
|
||||
*Stato:* implementato (B4); i file sono montati, in sola lettura, nel solo servizio `worker` del compose (`./data/keys`, B6) ·
|
||||
*Codice:* `apps/lottery/keys.py`, `apps/lottery/management/commands/init_keys.py` ·
|
||||
*Test:* `tests/django/test_chain_models.py::test_the_web_process_cannot_load_the_signing_key`, `test_the_worker_can_and_the_files_are_private`
|
||||
|
||||
|
||||
Reference in new issue
Block a user