Dont duplicate interfaces on port change 3.0
This commit is contained in:
@@ -19,12 +19,13 @@ export const storeJson = FileHelper.json(
|
||||
},
|
||||
z.object({
|
||||
/**
|
||||
* Port ckpool binds for plaintext stratum. Also requested as the
|
||||
* interface's preferred external port, so miners reach the pool on this
|
||||
* same number whenever the OS can grant it.
|
||||
* EXTERNAL port miners connect to for plaintext stratum — requested as the
|
||||
* interface's `preferredExternalPort`. The in-container bind is a fixed
|
||||
* constant (see utils.ts), so changing this rebinds without restarting
|
||||
* ckpool and never orphans a binding.
|
||||
*/
|
||||
stratumPort: z.number().int().min(1).max(65535).catch(defaultStratumPort),
|
||||
/** Port stunnel accepts TLS stratum on (only used when tlsEnabled). */
|
||||
/** EXTERNAL port for TLS stratum (only used when tlsEnabled). */
|
||||
stratumTlsPort: z
|
||||
.number()
|
||||
.int()
|
||||
|
||||
Reference in New Issue
Block a user