Launch prep: /health + Dockerfile HEALTHCHECK; old site links (/?<old username>, /splashpg.php?pid=N&r=, /lcp.php?pid=N&r= -> /?ref=<network username> from the oldrefs.json MySQL document, loaded by POST /api/admin/oldrefs; any other *.php -> /), checked before any page; hubreport.js (DLB pattern): each VBBShop purchase reported to the network hub by wallet, first as contract-bind with the sponsor, later as contract-spend, signed as vbb, off unless HUB_ENABLED; compose passes HUB_* + RPC_URLS + CHAIN_ID. Smoke 134/134

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-14 08:03:26 -06:00
parent 07cc1944e6
commit be9de262db
6 changed files with 159 additions and 3 deletions
+6
View File
@@ -31,3 +31,9 @@ SHOP_CONFIRMATIONS=10 # credit only this many blocks behind the head
SHOP_POLL_MS=30000
KEEPER_KEY= # private key of the contract's keeper (signs sponsor vouchers). Coolify secret only, never in git
VOUCHER_SECONDS=1800 # a voucher is good for 30 minutes
# Network hub report (hubreport.js): every VBBShop purchase reported by wallet (bind, then spend). Off unless HUB_ENABLED=1.
HUB_URL= # https://hub.saasy.top
HUB_SECRET= # this site's secret in the hub's HUB_SITES (32+ chars)
HUB_SITE=vbb
HUB_ENABLED=0
RPC_URLS= # kept for parity with Downline Banners; the watcher reads CHAIN_RPC