Skip to content

robust broadcasting config with multiple failovers#10

Open
sirdeggen wants to merge 2 commits into
masterfrom
dev
Open

robust broadcasting config with multiple failovers#10
sirdeggen wants to merge 2 commits into
masterfrom
dev

Conversation

@sirdeggen
Copy link
Copy Markdown
Collaborator

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.

  • I have added new unit tests
  • All tests pass locally
  • I have tested manually in my local environment

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have updated CHANGELOG.md with my changes
  • I have run the linter

@sirdeggen sirdeggen requested a review from Copilot August 28, 2025 14:12
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread back/src/BitailsBroadcaster.ts
Comment thread back/src/BitailsBroadcaster.ts
Comment thread back/src/BitailsBroadcaster.ts
Comment thread back/src/BitailsBroadcaster.ts Outdated
Comment thread back/src/arc.ts
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.

2 participants