diff options
| author | Adam Soltys <[email protected]> | 2026-06-14 12:33:54 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-17 07:47:47 -0700 |
| commit | 1dc51829c39422495e289ba11f8668352abdba41 (patch) | |
| tree | 40feacbbda8e91dd6246dddc9fdf83ab7755f77d /scripts/createExceptions.js | |
| parent | 7332e55641c21e024e50f83176b302df9c488e9a (diff) | |
| download | coinos-server-1dc51829c39422495e289ba11f8668352abdba41.tar.gz coinos-server-1dc51829c39422495e289ba11f8668352abdba41.zip | |
withdraw-lock: refuse external sends when /locks/<type>.locked is present
Port of master 9142b4db. Out-of-band emergency stop: nobal.sh (or a human)
creates a sentinel file on the host, bind-mounted at /locks in the
container; debit() checks for the file on every external send and refuses
with "External withdrawals temporarily disabled". /locks/ALL.locked is a
global override. Lives outside the db so a db-write vector can't disable
it. Internal sends are exempt.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Diffstat (limited to 'scripts/createExceptions.js')
0 files changed, 0 insertions, 0 deletions
