Skip to content

Conversation

@oleonardolima
Copy link
Collaborator

No description provided.

acidbunny21 and others added 2 commits December 19, 2025 15:25
- adds new `submit_package` API to `AsyncClient` and `BlockingClient`,
  it has been added to esplora by `Blockstream/electrs#159`.
- adds new `SubmitPackageResult`, `TxResult` and
  `MempoolFeesSubmitPackage` API structures.
- changes the `post_request_hex` method to `post_request_bytes`,
  now handling `query_params` and having `Response` as return type.
- updates the internals of `broadcast` to use new `post_request` and
  `post_request_bytes`, without breaking it's API.
- updates the return type of `broadcast` API.

BREAKING CHANGE: changes the `broadcast` method to return the `txid` for
broadcasted transaction, on both `AsyncClient` and `BlockingClient`.
@oleonardolima oleonardolima self-assigned this Dec 19, 2025
@oleonardolima oleonardolima added the enhancement New feature or request label Dec 19, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 20379104504

Details

  • 33 of 107 (30.84%) changed or added relevant lines in 3 files are covered.
  • 8 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-4.2%) to 86.428%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/api.rs 0 12 0.0%
src/async.rs 14 44 31.82%
src/blocking.rs 19 51 37.25%
Files with Coverage Reduction New Missed Lines %
src/async.rs 1 76.13%
src/blocking.rs 7 75.44%
Totals Coverage Status
Change from base Build 20348214326: -4.2%
Covered Lines: 1401
Relevant Lines: 1621

💛 - Coveralls

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

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants