• 10.3.0-altcha.2 07a7a683b7

    10.3.0-altcha.2
    All checks were successful
    Publish NuGets / build (release) Successful in 39s
    Pre-Release

    mathias released this 2026-05-12 20:09:00 -04:00 | 0 commits to feat/altcha-check-pipeline since this release

    Adaptive PoW difficulty groundwork for the Altcha pipeline.

    What's new

    • IAltchaDifficultyAdvisor (Svrnty.CQRS.Altcha.Abstractions) — new interface returning an optional per-request complexity (Task<uint?>) for the next challenge. null
      defers to the upstream Altcha service's configured default, so consumers that don't opt in see no behavioural change.
    • NullAltchaDifficultyAdvisor (Svrnty.CQRS.Altcha) — no-op fallback wired by AddSvrntyAltcha() via TryAddSingleton, so applications can register their own advisor
      without ordering constraints.
    • AltchaGrpcChallengeProvider now resolves the advisor and sets CreateChallengeRequest.Complexity when the advisor returns a value. The Altcha server clamps to its
      configured min/max, so callers don't enforce bounds here.

    Compatibility

    No breaking changes to existing consumers — the no-op default keeps behaviour identical when no advisor is registered.

    Consumed by

    plan-b's AltchaAdaptiveDifficultyAdvisor (repeat-offender count × CF threat-score lanes) bumps complexity exponentially for suspicious actors while keeping baseline cheap for legitimate users.

    Downloads