llms.txt API v1 · 2026-11-02
Go live上线

Go-live checklist上线检查清单

Items to confirm before going live.上线前需逐项确认的事项。

  • ☐ Signing reproduces the test vector in Signing; signatures are verified on raw body bytes in constant time.
  • ☐ Timestamp window ±300 s enforced; server clocks on NTP.
  • ☐ All our egress IPs whitelisted; your Platform API source IPs sent to us.
  • ☐ Your Wallet API whitelist checks the TCP source address (or the entry appended by your own load balancer), never a client-supplied header.
  • ☐ Business errors return HTTP 200 with a code from Allowed codes per endpoint; nothing outside the list.
  • ☐ Unique constraint on (merchantCode, txnId); balance change and record in one DB transaction.
  • ☐ Repeats return the original result, including failures.
  • ☐ Multiple debits per round accepted; no round + type deduplication.
  • ☐ Zero credit closes the round with OK.
  • ☐ Rollback of an unknown debit is remembered; the late debit gets TXN_ROLLED_BACK.
  • ☐ Credits and rollbacks are never refused for a disabled player.
  • ☐ Amounts handled as decimals; precision per currency.
  • ☐ /debit answers within 5 s, P99 below 1 s.
  • ☐ Launch errors handled; stale catalog entries handled; message never shown to players.
  • ☐ Daily reconciliation from your own wallet records in place (Reconciliation).
  • ☐ Conformance test run; all blocking cases pass.
  • ☐ 签名能算出 签名 的测试向量;用原始正文字节、常量时间比较验签。
  • ☐ 时间戳 ±300 秒窗口已生效;服务器已用 NTP 对时。
  • ☐ 平台全部出口 IP 已加白名单;商户调用平台的服务器 IP 已提供给平台。
  • ☐ 钱包接口白名单按 TCP 来源地址判断(或自己负载均衡追加的那一段),绝不信客户端自带的请求头。
  • ☐ 业务错误返回 HTTP 200,结果码都在 各接口允许的码 清单内。
  • ☐ (merchantCode, txnId) 有唯一约束;改余额与写记录在同一个数据库事务。
  • ☐ 重发返回第一次的结果,包括失败。
  • ☐ 一局多笔扣款都能接受;没有按「局 + 类型」去重。
  • ☐ 0 派彩能关局并返回 OK。
  • ☐ 冲正不存在的扣款时记下了冲正;迟到的扣款返回 TXN_ROLLED_BACK。
  • ☐ 派彩和冲正从不因玩家被禁用而拒绝。
  • ☐ 金额全程 Decimal;按币种精度处理。
  • ☐ /debit 5 秒内必返回,P99 低于 1 秒。
  • ☐ 进游戏的各种错误有处理;目录过期有处理;message 不直接展示给玩家。
  • ☐ 已用商户自己的钱包流水做每日对账(对账)。
  • ☐ 已跑对接测试,阻断级用例全部通过。