ysk-server-shared 1.1.19 → 1.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -130,13 +130,13 @@
130
130
  "disk": "磁碟"
131
131
  },
132
132
  "cli": {
133
- "usage": "用法:ysk-server validators list|chains|disk|get|status|logs|create|start|stop|restart|clear|upgrade|set-version|versions|policy|mithril|prune|switch-network|snapshot|compose|settings [--chain C] [--network N] [--profile P] [--el EL] [--cl CL] [--el-tag T] [--cl-tag T] [--node-tag T] [--client ID] [--tag T] [--data-path P] [--rpc-port N] [--id ID] [--upgrade POLICY] [--confirm TOKEN] [--accept-low-disk] [--accept-mainnet] [--execute] [--json]"
133
+ "usage": "用法:ysk-server validators list|chains|disk|get|status|logs|create|start|stop|restart|clear|upgrade|set-version|versions|policy|mithril|prune|switch-network|snapshot|compose|settings|producer-keys|producer-detach [--chain C] [--network N] [--profile P] [--el EL] [--cl CL] [--el-tag T] [--cl-tag T] [--node-tag T] [--client ID] [--tag T] [--data-path P] [--rpc-port N] [--id ID] [--upgrade POLICY] [--confirm TOKEN] [--kes-file P] [--vrf-file P] [--opcert-file P] [--accept-low-disk] [--accept-mainnet] [--refresh] [--execute] [--json]"
134
134
  },
135
135
  "clients": {
136
136
  "el": "執行層客戶端",
137
137
  "cl": "共識層客戶端",
138
138
  "version": "版本",
139
- "pin": "本面板釘選(此版本已測過)",
139
+ "pin": "本面板釘選",
140
140
  "officialNewer": "官方較新",
141
141
  "olderThanPin": "舊於本面板釘選",
142
142
  "prerelease": "預發佈",
@@ -183,7 +183,15 @@
183
183
  "snapshotLookup": "無法解析官方快照指標",
184
184
  "needSnapshotConfirm": "還原快照須 confirm=實例識別碼 或 SNAPSHOT",
185
185
  "snapshotBlocked": "快照的 docker run 被允許清單拒絕",
186
- "snapshotFailed": "快照下載或解壓失敗"
186
+ "snapshotFailed": "快照下載或解壓失敗",
187
+ "producerAdaOnly": "營運憑證只適用於 Cardano",
188
+ "needProducerConfirm": "掛上營運憑證須 confirm=實例識別碼 或 PRODUCER",
189
+ "needMainnetProducerAck": "主網掛上營運憑證須 acceptMainnet",
190
+ "producerColdRejected": "拒絕 cold 或 pool 擁有者簽名金鑰。cold 金鑰須保持離線。",
191
+ "producerTooLarge": "金鑰檔大於 64 KiB",
192
+ "producerBadType": "此檔不是 KES 金鑰、VRF 金鑰或 operational certificate",
193
+ "producerEmpty": "請至少提供 kes、vrf 或 opcert 其中一份",
194
+ "switchNeedDetachProducer": "轉網絡前請先卸下營運憑證"
187
195
  },
188
196
  "notes": {
189
197
  "beta": "此功能屬 Beta。變更主機須 root 及 YSK_EXECUTE=1。",
@@ -214,6 +222,11 @@
214
222
  "snapshotEthCl": "已重設共識層資料,使用官方 checkpoint sync",
215
223
  "snapshotNear": "已清空 NEAR 資料;compose 會重新用官方 genesis 與 epoch sync 初始化",
216
224
  "nativePrune": "已執行客戶端原生清理指令",
225
+ "dryProducer": "掛上營運憑證為試行。請加 --execute 及 YSK_EXECUTE=1。",
226
+ "dryProducerDetach": "卸下營運憑證為試行。請加 --execute 及 YSK_EXECUTE=1。",
227
+ "producerPartial": "已寫入熱金鑰。KES、VRF、opcert 齊了才會以 block producer 啟動。",
228
+ "producerAttached": "已掛上熱金鑰,compose 改為 block producer",
229
+ "producerDetached": "已卸下熱金鑰,compose 改回 relay",
217
230
  "dryDelete": "刪除屬預演。要真正套用須 --execute 與 YSK_EXECUTE=1。",
218
231
  "deleted": "已刪除節點",
219
232
  "leftoverRemoved": "已刪除殘留 {{path}}"
@@ -322,6 +335,28 @@
322
335
  "near": "官方免費 NEAR tar 快照已停用。還原會清空資料,再用官方 genesis 與 epoch sync。",
323
336
  "none": "此鏈未設定快照來源。"
324
337
  },
338
+ "producer": {
339
+ "title": "Block producer 熱金鑰",
340
+ "hint": "不是填 IP。請上傳離線機產生的 KES、VRF 與 operational certificate。cold 金鑰不要放在此主機。",
341
+ "warn": "此節點已公開 P2P,掛上後會出塊。官方拓撲把 producer 放在內網。這三份檔是熱金鑰。",
342
+ "kes": "KES",
343
+ "vrf": "VRF",
344
+ "opcert": "opcert",
345
+ "missing": "未掛上",
346
+ "present": "已掛上 {{fp}}",
347
+ "choose": "選擇檔案",
348
+ "apply": "套用並以 block producer 重啟",
349
+ "detach": "卸下並改回 relay",
350
+ "applyTitle": "將熱金鑰掛到 {{id}}?",
351
+ "applyDesc": "KES、VRF、opcert 會寫入實例 keys 目錄,並重寫 compose。容器會以 block producer 重啟。",
352
+ "applyC1": "cold 金鑰須保持離線。不要上傳 cold.skey。",
353
+ "applyC2": "檔案有效時,運行中的節點可以出塊。",
354
+ "applyC3": "主網:離線或設定錯誤會錯過出塊。",
355
+ "detachTitle": "從 {{id}} 卸下營運憑證?",
356
+ "detachDesc": "會從此主機刪除熱金鑰,compose 改回 relay。",
357
+ "detachC1": "節點將不再出塊。",
358
+ "mainnet": "主網:我明白此主機會保存熱金鑰並出塊。"
359
+ },
325
360
  "stake": {
326
361
  "title": "準備質押(私鑰由你保管)",
327
362
  "offlineKeys": "離線產生金鑰。面板永不保存。",
@@ -417,7 +452,7 @@
417
452
  "閱讀官方 operate-a-stake-pool 指南。",
418
453
  "在離線機器產生 cold、KES、VRF 金鑰。",
419
454
  "用該等金鑰在鏈上登記 stake pool。",
420
- "把運行中的 cardano-node 指向你的營運憑證。"
455
+ "在此實例頁掛上 KES、VRF 與 operational certificate。不要上傳 cold 金鑰。"
421
456
  ],
422
457
  "never": [
423
458
  "不要當成 MetaMask 一鍵質押。",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ysk-server-shared",
3
- "version": "1.1.19",
3
+ "version": "1.1.20",
4
4
  "description": "Shared types, DTOs, and interfaces for YSK Server",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",