Skip to content

Kyoto: Remove connection requirement to send tx#202

Merged
tvpeter merged 1 commit into
bitcoindevkit:masterfrom
rustaceanrob:kyoto-broadcast-6-17
Jun 18, 2025
Merged

Kyoto: Remove connection requirement to send tx#202
tvpeter merged 1 commit into
bitcoindevkit:masterfrom
rustaceanrob:kyoto-broadcast-6-17

Conversation

@rustaceanrob

@rustaceanrob rustaceanrob commented Jun 17, 2025

Copy link
Copy Markdown
Member

Kyoto now holds on to a transaction internally until it is successfully broadcast, so we can broadcast the transaction immediately once the node starts up, and wait for a confirmation or 30 second timeout

Successful test on Signet. Note that Testnet4 still has the difficulty adjustment bug when loading block headers from storage.

Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

New Features:

  • I've added tests for the new feature
  • I've added docs for the new feature
  • I've updated CHANGELOG.md

Bugfixes:

  • This pull request breaks the existing API
  • I've added tests to reproduce the issue which are now passing
  • I'm linking the issue being fixed by this PR

@coveralls

coveralls commented Jun 17, 2025

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 15730343098

Details

  • 0 of 5 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 2.674%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/handlers.rs 0 5 0.0%
Totals Coverage Status
Change from base Build 15624730149: 0.01%
Covered Lines: 25
Relevant Lines: 935

💛 - Coveralls

@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 15707490095

Details

  • 0 of 4 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 2.671%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/handlers.rs 0 4 0.0%
Totals Coverage Status
Change from base Build 15624730149: 0.01%
Covered Lines: 25
Relevant Lines: 936

💛 - Coveralls

@notmandatory notmandatory added this to the CLI 1.1.0 milestone Jun 17, 2025
@notmandatory notmandatory moved this to Ready to Review in BDK-CLI Jun 17, 2025
@notmandatory notmandatory added the enhancement New feature or request label Jun 17, 2025
@notmandatory notmandatory requested a review from tvpeter June 17, 2025 22:11

@notmandatory notmandatory left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

utACK 6ca7372

Comment thread src/handlers.rs

@tvpeter tvpeter left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

tACK 6ca7372

Thank you for updating this, Rob. Successfully tested on signet.

nit: I will update the timeout error message if you don't have time before merging.

Kyoto now holds on to a transaction internally until it is successfully
broadcast, so we can broadcast the transaction immediately once the node
starts up, and wait for a confirmation or 30 second timeout
@rustaceanrob rustaceanrob force-pushed the kyoto-broadcast-6-17 branch from 6ca7372 to 3b60b7b Compare June 18, 2025 10:25
@rustaceanrob

Copy link
Copy Markdown
Member Author

Updated the error message as well as the irrelevant tracing message

@tvpeter

tvpeter commented Jun 18, 2025

Copy link
Copy Markdown
Collaborator

Thank you @rustaceanrob

@tvpeter tvpeter merged commit 7a71b14 into bitcoindevkit:master Jun 18, 2025
8 checks passed
@github-project-automation github-project-automation Bot moved this from Ready to Review to Done in BDK-CLI Jun 18, 2025
@rustaceanrob rustaceanrob deleted the kyoto-broadcast-6-17 branch June 18, 2025 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants