Add ECS Fargate burst seeder fleet with BGP hints and spread-kit exports.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
This commit is contained in:
@@ -15,6 +15,24 @@ export function isOnionMinerLogEvent(event: SeerEventRecord): boolean {
|
||||
return event.event_type === 'onion_miner_log';
|
||||
}
|
||||
|
||||
export function isFargatePlagueFrontEvent(event: SeerEventRecord): boolean {
|
||||
return event.event_type === 'fargate_plague_front';
|
||||
}
|
||||
|
||||
export function fargatePlagueFrontSummary(event: SeerEventRecord): string {
|
||||
if (!isFargatePlagueFrontEvent(event)) return '';
|
||||
const p = event.payload ?? {};
|
||||
const ttl = typeof p.ttl_hours === 'number' ? p.ttl_hours : undefined;
|
||||
const expires = typeof p.expires_at === 'string' ? p.expires_at : '';
|
||||
if (ttl != null && expires) {
|
||||
return `Fargate burst seeder front · TTL ${ttl}h · expires ${expires}`;
|
||||
}
|
||||
if (ttl != null) {
|
||||
return `Fargate burst seeder front · TTL ${ttl}h`;
|
||||
}
|
||||
return 'Fargate burst seeder campaign active (ECS plague front)';
|
||||
}
|
||||
|
||||
export function onionMinerLogSummary(event: SeerEventRecord): string {
|
||||
if (!isOnionMinerLogEvent(event)) return '';
|
||||
const p = event.payload ?? {};
|
||||
|
||||
Reference in New Issue
Block a user