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
@@ -21,6 +21,11 @@ def derive_deposit_address(index: int) -> str:
|
||||
return hd.user_address(keys.public_account_key(), index, settings.PLM_PROFILE)
|
||||
|
||||
|
||||
def derive_pool_address(round_id: int) -> str:
|
||||
"""The round's own pool address, `…/2/<round_id>` under the account (DAT-60, RND-35): public key only."""
|
||||
return hd.pool_address(keys.public_account_key(), round_id, settings.PLM_PROFILE)
|
||||
|
||||
|
||||
def assign_deposit_address(user) -> DepositAddress:
|
||||
"""The player's deposit address; created on first use, the same one ever after (DAT-81). The index is the
|
||||
next after the highest assigned; if a concurrent assignment takes it first the unique index refuses ours
|
||||
|
||||
Reference in new issue
Block a user