Skip to content

Mp/foundation#20

Draft
leolambo wants to merge 6 commits into
masterfrom
mp/foundation
Draft

Mp/foundation#20
leolambo wants to merge 6 commits into
masterfrom
mp/foundation

Conversation

@leolambo

Copy link
Copy Markdown
Owner

Description

Link to an issue if one exists and/or briefly describe what this PR does and why it's needed.

Changelog

  • Add bullet points summarizing your changes.

Testing Notes

Add any helpful notes for reviewers to test your code here.


Checklist

  • I have read CONTRIBUTING.md and verified that this PR follows the guidelines and requirements outlined in it.
  • I have added the appropriate package tag(s) (e.g. BWC if modifying the bitcore-wallet-client package, CLI if modifying the bitcore-cli package, etc.)
  • I have verified that this is not an existing PR (open or closed)

leolambo and others added 6 commits February 23, 2026 14:19
Implements the error class hierarchy used by external API adapters
(Moralis/Alchemy) to classify failures for circuit breaker and
failover decisions. Includes 7 AdapterError subclasses with
isBreakerable flags plus AllProvidersUnavailableError for orchestrator.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…i-provider failover

Implements CircuitBreaker class with composite key (chain:network:provider),
configurable failure thresholds (consecutive + rate-based), timeout-driven
HALF_OPEN probing with in-flight permit tracking, and metrics reporting.
Includes 36 comprehensive unit tests covering all state transitions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…fig config type

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…emy stub

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… binary search block-by-date

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…orts from alchemy tests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant