aboutsummaryrefslogtreecommitdiffstats
path: root/names/ownership.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-16 13:05:15 -0700
committerAdam Soltys <[email protected]>2026-10-16 13:05:15 -0700
commit73bffd93caefa53af3a5d28e70059a3cfbe68939 (patch)
tree1f27599810674431205bb53e62416684261c2783 /names/ownership.js
parent294a49598e43e3e6f9e34f0246bbea41837359f9 (diff)
downloadcoinosv3-73bffd93caefa53af3a5d28e70059a3cfbe68939.tar.gz
coinosv3-73bffd93caefa53af3a5d28e70059a3cfbe68939.zip
The server-side services moved out: names, nwcpush, blossom and bridge now live in coinosv3-server. The coinos-server agent on desk extracted them (2026-10-16, after the names.json truncation of 10-15: the registrar is on SQLite there, the drift that had only ever existed on cs is committed there, and names/nwcpush/blossom on cs run from a clone of that repo, deployed by git push through its own hook). Removed here with the tests that went with them (registry-ownership-test, deepl-translate.test); the README points at the new repository and AGENTS.md says how service changes deploy now (git push from ~/coinosv3-server, never scp). feed/ and vmedia/ stay for the moment — they are in coinosv3-server too but still deploy from ~/public-feed and ~/vmedia the old way — with public-feed-cache-test. sync-blob-test spawns blossom from the sibling coinosv3-server checkout (COINOSV3_SERVER overrides) and says so when it isn't there; it passes.
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01J1Kon8bxJoHRpJdSzshCkp
Diffstat (limited to 'names/ownership.js')
-rw-r--r--names/ownership.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/names/ownership.js b/names/ownership.js
deleted file mode 100644
index 19ae4ef..0000000
--- a/names/ownership.js
+++ /dev/null
@@ -1,10 +0,0 @@
-// A migration grant names the identity that owns the address. Its manager
-// may submit the registration without becoming that identity.
-export function registrationIdentity({ existing, signer, manager, grant, granted }) {
- const pubkey = existing?.pubkey || (granted ? grant.pubkey : signer);
- const nominated = /^[0-9a-f]{64}$/.test(manager || '') && manager !== pubkey;
- return {
- pubkey,
- manager: nominated ? manager : existing?.manager || (granted ? grant.manager : undefined),
- };
-}