martbost
|
42cbe96979
|
Hub switch-on (Marty 2026-11-14). Rule 2: a hub arrival gets person.locks.linkspin's sponsor when the LinkSpin contract holds them, never the plain network sponsor; sponsor.changed stays ignored. Quiet: a wallet filled from a hub event never switches payouts on (isQuiet: no gas, no lock, no 'payouts are switched on' mail). Rule 3: the holding tank (waiting, release, expiry, rescue, readyTick, autoAssign) leaves out anyone the hub reports locked on any contract or sponsored, and hub waiting copies that never signed in here; /v1/locked detail cached 10 min, last answer kept 1 h, after that held (unknown). Alignment to the hub sponsor only with HUB_TANK_ALIGN=on. Needs network-hub b44dba6. hubsync 15 checks, sponsorfollow 30/30, tank-cap 15/15, networksso ALL PASSED, tank-hold, carry-hold ok
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
2026-11-14 08:45:43 -06:00 |
|
martbost
|
5fbaf4f17d
|
Hub rule 2 (Marty 2026-11-14): every paid Purchase on the LinkSpin contract goes to the hub's /v1/contract-spend from its own retried queue (spends, sent after the binds, tx hash so a resend counts once, POL-in only; activation alone is not a spend), so when two contracts lock different sponsors the one with money spent decides the network sponsor. Still one way, only with HUB_ENABLED; needs network-hub 296aa5d. qa/hubsync.test.cjs 11 checks ok
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
2026-11-14 08:24:00 -06:00 |
|
martbost
|
a7f9b80c18
|
Hub gaps (Marty 2026-11-13): deliberate sponsor changes -> /v1/sponsor-change, BTC4Hits accounts reported (no other door does), MemberActivated -> /v1/contract-bind (contract linkspin) from a retried queue; still one way, only with HUB_ENABLED
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
2026-11-13 08:21:59 -06:00 |
|
martbost
|
31bf6b9f41
|
Network hub link behind HUB_ENABLED (default off): hub member.joined from another door becomes the same waiting shell account the InstantAdPay registry sync makes (ensure 'carried'/'network', fill empty fields only, sponsor line placed first, wallet last under carry.hold); wallet.connected fills an empty wallet; LinkSpin's own joins and wallet links go to /v1/join and /v1/wallet through a persisted retry outbox (DATA_DIR/hubsync.json). Signed X-Hub-Ts/X-Hub-Sig, 5-minute window, each event seq applied once. sponsor.changed and the rest are ignored (TODO). iapsync and /api/partner/registry unchanged. Test: HUB_DIR=<network-hub with /v1/resolve {id}> bash qa/run.sh hubsync, 10 checks against a local hub in JSON mode.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
2026-11-12 17:07:28 -06:00 |
|