• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bitcoindevkit / rust-esplora-client / 20725239190
87%

Build:
DEFAULT BRANCH: master
Ran 05 Jan 2026 06:33PM UTC
Jobs 1
Files 4
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Jan 2026 06:29PM UTC coverage: 86.65% (-4.0%) from 90.654%
20725239190

push

github

oleonardolima
Merge bitcoindevkit/rust-esplora-client#114: feat(client): add new `submit_package` api to blocking/async client

cf64f976b feat(client): add new `submit_package` API (acidbunny21)

Pull request description:

  ### Description

  Add new `submit_package` method to both `BlockingClient` and `AsyncClient`, as it's now supported by Esplora API, see: https://github.com/Blockstream/electrs/pull/119, https://github.com/Blockstream/electrs/pull/159. Also, adds new `SubmitPackageResult`, `TxResult`, and `MempoolFeesSubmitPackage` API structures.

  It updates the internal `post_request_hex` method to `post_request_bytes`, now handling `query_params` and having `Response` as return type. Additionally, updates the internals of `broadcast` to utilize the new `post_request` and `post_request_bytes` without breaking its API.

  ### Notes to the reviewers

  As mentioned in the PR comments, I updated the original commit by `@acidbunny21` by:
  - (i) adding `@ValuedMammal`'s suggested fixes;
  - (ii) removing the breaking change on the `broadcast` API, it's now a follow-up in https://github.com/bitcoindevkit/rust-esplora-client/pull/151.

  ### Changelog notice

  ```
  ### Added

  - feat(client): add new `submit_package` API to `BlockingClient` and `AsyncClient`
  - feat(api): add new `SubmitPackageResult`, `TxResult`, and `MempoolFeesSubmitPackage` API structures

  ### Changed

  - feat(client): update the `post_request_hex` method to `post_request_bytes`, now handling `query_params` and having `Response` as return type.
  - feat(client): update the internals of the  `broadcast` method to use new `post_request` and `post_request_bytes`, with no breaking change.
  ```

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `just p` before pushing

  #### New Features:

  * [ ] I've a... (continued)

32 of 102 new or added lines in 3 files covered. (31.37%)

8 existing lines in 2 files now uncovered.

1402 of 1618 relevant lines covered (86.65%)

8.28 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
12
65.56
-10.09% src/api.rs
29
76.44
-6.9% src/async.rs
29
76.11
-7.56% src/blocking.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
76.44
-6.9% src/async.rs
7
76.11
-7.56% src/blocking.rs
Jobs
ID Job ID Ran Files Coverage
1 20725239190.1 05 Jan 2026 06:33PM UTC 4
86.65
GitHub Action Run
Source Files on build 20725239190
  • Tree
  • List 4
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e0f79851 on github
  • Prev Build on master (#20722132454)
  • Next Build on master (#20858034035)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc