Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR implements a robust broadcasting configuration with multiple failovers for transaction broadcasting. The implementation includes a new SuperArc class that attempts to broadcast transactions through multiple providers sequentially until one succeeds.
- Added a new BitailsBroadcaster class for the Bitails API
- Created SuperArc class that tries multiple broadcasting services in order (TAAL, GorillaPool, BSVA, WhatsOnChain, Bitails)
- Updated TypeScript target to ES2020 to support BigInt literals
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| back/tsconfig.json | Updated TypeScript target to ES2020 for BigInt support |
| back/src/functions/utxoStatusUptate.ts | Refactored to use new woc module for BEEF retrieval |
| back/src/functions/allFunds.ts | Updated to use ArcTaal instead of Arc for transaction broadcasting |
| back/src/arc.ts | Complete rewrite to implement SuperArc with multiple broadcaster failover |
| back/src/BitailsBroadcaster.ts | New broadcaster implementation for Bitails API |
| back/package.json | Version bump and BSV SDK update |
Files not reviewed (1)
- back/package-lock.json: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Changes
Added a braodcaster which sends to all popular miners & indexers.
Testing Procedure
Describe the tests you've added or any testing steps you've taken.
Checklist:
CHANGELOG.mdwith my changes