Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions public/pyblock-pool-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 3 additions & 8 deletions src/components/setup/steps/PoolConfigStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,9 @@ export function PoolConfigStep({ data, updateData, onNext }: StepProps) {
return (
<div className="space-y-8">
<div className="text-center">
<h2 className="text-2xl md:text-3xl font-semibold tracking-tight mb-3">
<h2 className="text-2xl md:text-3xl font-semibold tracking-tight">
{isSoloMode ? 'Select Solo Pool' : 'Select Pool'}
</h2>
<p className="text-lg text-muted-foreground">
{isSoloMode ? 'Choose a solo mining pool to connect to' : isJdMode ? 'Choose a pool that supports Job Declaration' : 'Choose your mining pool'}
</p>
</div>

<div className="space-y-2">
Expand Down Expand Up @@ -116,9 +113,8 @@ export function PoolConfigStep({ data, updateData, onNext }: StepProps) {
<PoolIcon logoUrl={pool.logoUrl} logoOnDark={pool.logoOnDark} name={pool.name} />
<div className="flex-1 min-w-0 pr-8">
<div className={`font-medium text-sm mb-1 ${isSelected ? 'text-primary' : ''}`}>{pool.name}</div>
<div className="text-xs text-muted-foreground leading-relaxed">{pool.description}</div>
{pool.address && (
<div className="text-xs text-muted-foreground font-mono mt-1">{pool.address}:{pool.port}</div>
<div className="text-xs text-muted-foreground font-mono">{pool.address}:{pool.port}</div>
)}
</div>
</div>
Expand All @@ -144,8 +140,7 @@ export function PoolConfigStep({ data, updateData, onNext }: StepProps) {
</div>
)}
<div className="pr-8">
<div className={`font-medium text-sm mb-1 ${isCustom ? 'text-primary' : ''}`}>Custom Pool</div>
<div className="text-xs text-muted-foreground leading-relaxed">Configure your own pool connection</div>
<div className={`font-medium text-sm ${isCustom ? 'text-primary' : ''}`}>Custom Pool</div>
</div>
</button>
</div>
Expand Down
19 changes: 14 additions & 5 deletions src/lib/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const SOLO_POOLS: KnownPool[] = [
address: 'blitzpool.yourdevice.ch',
port: 3333,
authority_public_key: '9bCoFxTszKCuffyywH5uS5o6WcU4vsjTH2axxc7wE86y2HhvULU',
description: 'Solo mining pool by Blitzpool',
description: 'Blitzpool',
logoUrl: '/blitzpool.svg',
},
{
Expand All @@ -56,25 +56,34 @@ export const SOLO_POOLS: KnownPool[] = [
address: 'btc.mkpool.com',
port: 3340,
authority_public_key: '9c9aZWzETaiJyqGGUSCn8GqFgTpxs96ert4d4jGeRnvxqRqhZar',
description: 'Solo mining pool by MKPool',
description: 'MKPool',
logoUrl: '/mkpool-avatar-navy.svg',
},
{
id: 'publicpool',
name: 'PublicPool',
address: 'public-pool.io',
port: 3333,
port: 23330,
authority_public_key: '9c4zpyJ2ndm4e8sP2uNc1VNCGxYjqaxWS6wUCjk8zFj6njFquH6',
description: 'Solo mining pool by PublicPool',
description: 'PublicPool',
logoUrl: '/public-pool-logo.svg',
},
{
id: 'pypool',
name: 'PyPool',
address: 'pool.pyblock.xyz',
port: 5555,
authority_public_key: '9anZZb1uaJDqubvJhekPiNRHA2tuShcNaugDmFxtnTq54sDvTf5',
description: 'PyPool',
logoUrl: '/pyblock-pool-logo.svg',
},
{
id: 'sri-solo',
name: 'SRI Community Solo Pool',
address: '75.119.150.111',
port: 3333,
authority_public_key: '9auqWEzQDVyd2oe1JVGFLMLHZtCo2FFqZwtKA5gd9xbuEu7PH72',
description: 'Community-run solo mining pool',
description: 'Community-run',
Comment thread
plebhash marked this conversation as resolved.
logoUrl: '/sri-logo.png',
},
];
Expand Down
1 change: 1 addition & 0 deletions src/lib/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
const VALID_PUBKEYS = [
'9awtMD5KQgvRUh2yFbjVeT7b6hjipWcAsQHd6wEhgtDT9soosna', // Braiins
'9auqWEzQDVyd2oe1JVGFLMLHZtCo2FFqZwtKA5gd9xbuEu7PH72', // SRI
'9anZZb1uaJDqubvJhekPiNRHA2tuShcNaugDmFxtnTq54sDvTf5', // PyPool
'9bCoFxTszKCuffyywH5uS5o6WcU4vsjTH2axxc7wE86y2HhvULU', // Blitzpool
'9c9aZWzETaiJyqGGUSCn8GqFgTpxs96ert4d4jGeRnvxqRqhZar', // MKPool
'9c4zpyJ2ndm4e8sP2uNc1VNCGxYjqaxWS6wUCjk8zFj6njFquH6', // PublicPool
Expand Down
Loading