@if (form) {
@if (isAnyPoolUsingDefaultAddress()) {
Warning: You are using the default factory Bitcoin address. Please change the User field to your own Bitcoin address to receive mining rewards.
}

Active Pool Selection

Pool Configurations ({{ poolsArray.length }}/8)

@for (poolControl of poolsArray.controls; track poolControl; let i = $index) {
Pool {{ poolControl.get('id')?.value + 1 }} {{ getProtocolLabel(poolControl.get('stratumProtocol')?.value) }} @if (poolControl.get('id')?.value === form.get('primaryPoolIndex')?.value) { Primary } @if (poolControl.get('id')?.value === form.get('secondaryPoolIndex')?.value) { Fallback } @if (activeCardIndex !== i && poolControl.get('stratumURL')?.value) { {{ poolControl.get('stratumURL')?.value }}:{{ poolControl.get('stratumPort')?.value }} } @if (activeCardIndex !== i && !poolControl.get('stratumURL')?.value) { (not configured) }
@for (option of protocolOptions; track option.value) {
}
@if (poolControl.get('stratumPassword')?.dirty) { }
@if (isPoolV2Enabled(i)) {
@for (option of sv2ChannelOptions; track option.value) {
}
@if (poolControl.get('stratumV2ChannelType')?.value === 'extended') { Recommended for external SV2 pools. The pool sends the coinbase template, enabling transaction verification. } @if (poolControl.get('stratumV2ChannelType')?.value === 'standard') { Only use with a self-deployed local SV2 node or JD client. Not supported on Bitaxe Max (BM1397). } @if (isStandardChannelDisabled()) { Standard Channels are not available on BM1397 — Extended Channels are required. }
@if (poolControl.get('stratumV2AuthorityPubkey')?.errors?.['invalidBase58']) { Invalid base58 string. Only base58 characters allowed (no 0, O, I, l). } @if (poolControl.get('stratumV2AuthorityPubkey')?.errors?.['invalidBase58Length']) { Invalid length. SV2 authority pubkeys are typically 51-52 characters. }
}
{{showAdvancedOptions[poolControl.get('id')?.value] ? 'Hide' : 'Show'}} Advanced Options
@if (!isPoolV2Enabled(i)) {
@for (option of tlsOptions; track option.value) {
}
@if (poolControl.get('stratumTLS')?.value === 2) {
@if (poolControl.get('stratumCert')?.errors?.['invalidCertificate']) { Please enter a valid SSL/TLS certificate }
} } @if (!isPoolV2Enabled(i) || isPoolV2Extended(i)) {
}
}
}