Member lookups through the network hub (Marty 2026-11-14: "want everything looped through the hub to verify membership"): hubpeople.js asks POST /v1/resolve (ref / wallet / hub id, signed as bannerline, cached 5 minutes, 2.5 s timeout, hub skipped 30 s after a failure); netMember / nameOf ask the hub first and InstantAdPay's /api/network/member only when the hub is unreachable (wallet-aliases.json still first). Sponsor pick: the hub network sponsor for the wallet that will own the spot (the buy page asks /api/sponsor?for=<owner> just before the buy; else the signed-in wallet), resolved to a wallet by hub id, nearest up the network line who owns a spot here, none = no sponsor; then the /w/ welcome line (usernames resolved through the hub), then the ?ref= cookie. Admin status shows hubLookup. join.js?v=20261114h. Smoke 91/91 (stand-in hub + stand-in InstantAdPay)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-14 09:25:46 -06:00
parent 7c2aab8f65
commit 57e733b55d
5 changed files with 167 additions and 11 deletions
+1 -1
View File
@@ -50,6 +50,6 @@
</main>
<script src="/assets/common.js?v=20261114a"></script>
<script src="/assets/wallet.js?v=1"></script>
<script src="/assets/join.js?v=z1"></script>
<script src="/assets/join.js?v=20261114h"></script>
</body>
</html>