Founding your own IX says why it can't

foundIx returned without a word in mainland China, where an exchange
already runs (incumbent or your own), and without a POP, while its dry
run quoted $80k with nothing blocked. foundIxWhy() gives the reason, most
lasting first (China reuses the panel's own text), for the toast and the
quote alike.

The route fuzz's direct moves called foundIx at every POP city. They now
offer it only where the city panel shows the button, as their comment
says, so a refusal that now logs a toast does not count as diverging
from main.
This commit is contained in:
Charlie Allom 2026-11-04 23:07:57 +10:00
parent 034a5de66e
commit 82f3833d8f
No known key found for this signature in database
12 changed files with 62 additions and 9 deletions

View file

@ -64,8 +64,8 @@ const API_CMD={
doc:'Leave an exchange; drops every peering session there. De-Kicks may answer with a retention offer.'},
rs:{args:[['city','ixId']],watch:['rs'],
doc:'Toggle the route-server session, which peers you with everyone on the server at once.'},
foundIx:{args:[['city','cityId']],watch:['myIx.#city'],quote:a=>({setup:MYIX_COST,monthly:MYIX_MO}),
doc:'Found your own exchange in a city with no IX. Networks join over the following days.'},
foundIx:{args:[['city','cityId']],watch:['myIx.#city'],quote:a=>({setup:MYIX_COST,monthly:MYIX_MO,blocked:[foundIxWhy(a.city)].filter(Boolean)}),
doc:'Found your own exchange in a city with no IX where you have a POP. Not in mainland China. Networks join over the following days.'},
myIxUp:{args:[['city','cityId']],watch:['myIx.#city'],
quote:a=>{const m=S.myIx[a.city];const f=m?(m.fab|0)+1:0,N=f<MYIX_FAB.length?MYIX_FAB[f]:null;return N?{setup:N.cost,monthly:N.mo}:{};},
doc:'Upgrade your own exchange\'s switch fabric. Each step has a level gate.'},