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

nymius / bdk
86%
master: 82%

Build:
Build:
LAST BUILD BRANCH: ci/replace-grcov-by-cargo-llvm-cov
DEFAULT BRANCH: master
Repo Added 02 Aug 2024 11:30PM UTC
Token 1WeAu5t56ERtqhZNTdE2xBz70D4akwPf0 regen
Build 107 Last
Files 30
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

LAST BUILD ON BRANCH fix/off-by-one-error-in-coinbase-coin-selection
branch: fix/off-by-one-error-in-coinbase-coin-selection
CHANGE BRANCH
x
Reset
Sync Branches
  • fix/off-by-one-error-in-coinbase-coin-selection
  • I1499/introduce-tlv-for-bdk-file-store
  • I1517/append-after-open-causes-overwrites
  • bugfix/i-1517-store-append-after-open-causes-overwrite
  • ci/replace-grcov-by-cargo-llvm-cov
  • create-pull-request/update-rust-version
  • feat/silent-payments-with-rust-silentpayments
  • fix/check-foreign-utxos-are-foreign
  • master
  • refactor/i-1695-remove-serde-json-dependency
  • refactor/use-iterators-to-preselect-utxos

12 Feb 2025 07:44PM UTC coverage: 86.076% (-0.01%) from 86.089%
13293607264

push

github

nymius
fix(wallet): off-by-one error checking coinbase maturity in optional UTxOs

The `preselect_utxos` method has an off-by-one error that is making the
selection of optional UTxOs too restrictive, by requiring the coinbase
outputs to surpass or equal coinbase maturity time at the current height
of the selection, and not in the block in which the transaction may be
included in the blockchain.

The changes in this commit fix it by considering the maturity of the
coinbase output at the spending height and not the transaction creation
height, this means, a +1 at the considered height at the moment of
building the transaction.

4 of 4 new or added lines in 1 file covered. (100.0%)

2 existing lines in 1 file now uncovered.

12141 of 14105 relevant lines covered (86.08%)

22248.64 hits per line

Relevant lines Covered
Build:
Build:
14105 RELEVANT LINES 12141 COVERED LINES
22248.64 HITS PER LINE
Source Files on fix/off-by-one-error-in-coinbase-coin-selection
  • Tree
  • List 52
  • Changed 14
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
13293607264 fix/off-by-one-error-in-coinbase-coin-selection fix(wallet): off-by-one error checking coinbase maturity in optional UTxOs The `preselect_utxos` method has an off-by-one error that is making the selection of optional UTxOs too restrictive, by requiring the coinbase outputs to surpass or equal ... push 12 Feb 2025 07:52PM UTC nymius github
86.08
13293494438 fix/off-by-one-error-in-coinbase-coin-selection fix(wallet): off-by-one error checking coinbase maturity in optional UTxOs The `preselect_utxos` method has an off-by-one error that is making the selection of optional UTxOs too restrictive, by requiring the coinbase outputs to surpass or equal ... push 12 Feb 2025 07:44PM UTC nymius github
86.08
13270620088 fix/off-by-one-error-in-coinbase-coin-selection fix(wallet): off-by-one error checking coinbase maturity in optional UTxOs The `preselect_utxos` method has an off-by-one error that is making the selection of optional UTxOs too restrictive, by requiring the coinbase outputs to surpass or equal ... push 11 Feb 2025 07:13PM UTC nymius github
86.08
13242355578 fix/off-by-one-error-in-coinbase-coin-selection fix(wallet): off-by-one error checking coinbase maturity in optional UTxOs The `preselect_utxos` method has an off-by-one error that is making the selection of optional UTxOs too restrictive, by requiring the coinbase outputs to surpass or equal ... push 10 Feb 2025 01:52PM UTC nymius github
86.08
See All Builds (107)

Badge your Repo: bdk

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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

© 2025 Coveralls, Inc