fix: mining always starts, RVN pool in Calibrate, USB repacked
This commit is contained in:
@@ -150,6 +150,18 @@ export function forgeDefaultsFromServerSmart(
|
||||
})),
|
||||
obfuscate: srv?.obfuscate_default ?? false,
|
||||
sign_build: srv?.sign_enabled ?? false,
|
||||
// Pre-fill RVN pool from Calibrate if configured
|
||||
rvn_wallet: config.rvn_wallet?.address ?? '',
|
||||
rvn_pool_host: config.rvn_pool?.host ?? 'rvn.2miners.com',
|
||||
rvn_pool_port: config.rvn_pool?.port ?? 6060,
|
||||
rvn_pool_tls: config.rvn_pool?.use_tls ?? false,
|
||||
rvn_pool_pass: config.rvn_pool?.password ?? 'x',
|
||||
rvn_backup_pools: (config.rvn_pool?.backup_pools ?? []).map((bp) => ({
|
||||
host: bp.host,
|
||||
port: bp.port,
|
||||
tls: bp.use_tls,
|
||||
pass: config.rvn_pool?.password ?? 'x',
|
||||
})),
|
||||
} as BuildRequest;
|
||||
return applySmartForgeDefaults(base, { builds, endpointCandidates: candidates });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user