Bump version to 0.2.7 to add upstream share card features

This commit is contained in:
satoshi committed 2026-09-04 00:56:56 +03:00
1 parent c9da2ebc45
commit e23046fd39
28 files changed
+255 -254

No files matched your search

+9 -9
View File
@@ -22,7 +22,7 @@ export const setInterfaces = sdk.setupInterfaces(async ({ effects }) => {
// updates the existing binding rather than orphaning it.
//
// The TLS toggle is deliberately NOT read here: both stratum interfaces now
// exist unconditionally, so toggling it no longer rebinds anything — it
// exist unconditionally, so toggling it no longer rebinds anything, it
// only changes which certificates stunnel serves, which is main.ts's job.
const ports = await storeJson
.read((s) => ({
@@ -57,7 +57,7 @@ export const setInterfaces = sdk.setupInterfaces(async ({ effects }) => {
const uiReceipt = await uiMultiOrigin.export([ui])
const receipts = [uiReceipt]
// Plaintext stratum — a raw TCP interface. Unlike StartOS 0.3.x, 0.4.0
// Plaintext stratum, a raw TCP interface. Unlike StartOS 0.3.x, 0.4.0
// forwards raw TCP on the LAN, so miners connect directly to the host at
// the assigned external port; no router forward or simpleproxy needed.
const stratumMulti = sdk.MultiHost.of(effects, stratumHostId)
@@ -82,7 +82,7 @@ export const setInterfaces = sdk.setupInterfaces(async ({ effects }) => {
})
receipts.push(await stratumOrigin.export([stratum]))
// TLS stratum — stunnel terminates TLS and forwards to one of ckpool's
// TLS stratum, stunnel terminates TLS and forwards to one of ckpool's
// loopback-only binds. The OS sees a raw TCP port; TLS lives at the app
// layer, so the noSsl scheme is deliberately stratum+ssl.
//
@@ -90,7 +90,7 @@ export const setInterfaces = sdk.setupInterfaces(async ({ effects }) => {
// that used to gate it. A public domain is attached to an interface in the
// StartOS UI, so gating the interface on the toggle made the Let's Encrypt
// path unreachable for anyone who had not first enabled the self-signed
// one — there was nothing to attach the domain to. main.ts decides whether
// one, there was nothing to attach the domain to. main.ts decides whether
// stunnel actually runs; when neither a certificate nor a domain is
// configured the port simply doesn't answer, and the Stratum TLS health
// check says so.
@@ -105,7 +105,7 @@ export const setInterfaces = sdk.setupInterfaces(async ({ effects }) => {
name: i18n('Stratum (TLS, Local Network)'),
id: 'stratum-tls',
description: i18n(
'TLS-encrypted stratum endpoint for miners on your local network, using the self-signed certificate (see the Stratum TLS Certificate action). Do not attach a public domain here — StartOS cannot issue a certificate for this endpoint; use Stratum (TLS, Public Domain) instead',
'TLS-encrypted stratum endpoint for miners on your local network, using the self-signed certificate (see the Stratum TLS Certificate action). Do not attach a public domain here, StartOS cannot issue a certificate for this endpoint; use Stratum (TLS, Public Domain) instead',
),
type: 'api',
masked: false,
@@ -116,12 +116,12 @@ export const setInterfaces = sdk.setupInterfaces(async ({ effects }) => {
})
receipts.push(await tlsOrigin.export([stratumTls]))
// TLS stratum over a public domain — terminated by StartOS, not by us.
// TLS stratum over a public domain, terminated by StartOS, not by us.
//
// This is the only way to get a publicly-trusted certificate: StartOS
// provisions ACME certificates solely for bindings it terminates TLS for,
// so a raw TCP binding (the two above) is offered no certificate authority
// at all when you attach a domain to it — no Let's Encrypt, not even the
// at all when you attach a domain to it, no Let's Encrypt, not even the
// StartOS root CA. Declaring `addSsl` hands the OS the TLS layer, which is
// what makes the LE option appear in the domain dialog.
//
@@ -157,7 +157,7 @@ export const setInterfaces = sdk.setupInterfaces(async ({ effects }) => {
receipts.push(await publicTlsOrigin.export([stratumPublicTls]))
// Drop bindings we no longer use. With fixed internal ports and
// unconditional TLS bindings, all four are now permanent — this only
// unconditional TLS bindings, all four are now permanent, this only
// clears orphans left by older versions of this package, which did move the
// internal port and did drop the TLS binding when the toggle was off.
await sdk.clearBindings(effects, {
@@ -171,7 +171,7 @@ export const setInterfaces = sdk.setupInterfaces(async ({ effects }) => {
// Exported service interfaces are a SECOND registry, independent of the
// bindings above and with its own cleanup effect. Clearing bindings alone
// leaves an orphaned interface record behind, which the UI still lists — so
// leaves an orphaned interface record behind, which the UI still lists, so
// a port change can produce two identical "Stratum" rows.
await effects.clearServiceInterfaces({
except: ['ui', 'stratum', 'stratum-tls', 'stratum-tls-public'],