solana-resilience-kit - v1.0.0
    Preparing search index...

    Interface EndpointHealth

    HealthMonitor — tracks per-endpoint freshness and reliability so the pool can route to healthy, up-to-date nodes and avoid the "lagging node drops your tx" failure mode. Freshness is judged by comparing observed slots across endpoints; an endpoint more than maxSlotLag behind the best is unhealthy.

    interface EndpointHealth {
        consecutiveFailures: number;
        errorRate: number;
        healthy: boolean;
        lastError: unknown;
        latencyMs: number;
        name: string;
        slot: bigint | null;
    }
    Index

    Properties

    consecutiveFailures: number
    errorRate: number

    Rolling error rate in [0,1].

    healthy: boolean
    lastError: unknown
    latencyMs: number

    Exponentially-weighted mean latency in ms.

    name: string
    slot: bigint | null