-
10.3.0-altcha.2
Pre-ReleaseAll checks were successfulPublish NuGets / build (release) Successful in 39sreleased this
2026-05-12 20:09:00 -04:00 | 0 commits to feat/altcha-check-pipeline since this releaseAdaptive 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 byAddSvrntyAltcha()viaTryAddSingleton, so applications can register their own advisor
without ordering constraints.AltchaGrpcChallengeProvidernow resolves the advisor and setsCreateChallengeRequest.Complexitywhen 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