Skip to content

backport: Add difficulty adjustment calculation#3494

Merged
apoelstra merged 1 commit intorust-bitcoin:0.32.xfrom
Davidson-Souza:backport-2740
Oct 21, 2024
Merged

backport: Add difficulty adjustment calculation#3494
apoelstra merged 1 commit intorust-bitcoin:0.32.xfrom
Davidson-Souza:backport-2740

Conversation

@Davidson-Souza
Copy link
Copy Markdown

As discussed in #2740 (comment) this is a backport of #2740 to 0.32.x. I've simply cherry-picked the commit and all tests are passing locally.

@github-actions github-actions bot added the C-bitcoin PRs modifying the bitcoin crate label Oct 20, 2024
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 11422058493

Details

  • 122 of 123 (99.19%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.1%) to 83.303%

Changes Missing Coverage Covered Lines Changed/Added Lines %
bitcoin/src/pow.rs 122 123 99.19%
Totals Coverage Status
Change from base Build 11375296964: 0.1%
Covered Lines: 18549
Relevant Lines: 22267

💛 - Coveralls

Copy link
Copy Markdown
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

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

ACK 6624b94

Copy link
Copy Markdown
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK 6624b94; successfully ran local tests

@apoelstra apoelstra merged commit 831d37a into rust-bitcoin:0.32.x Oct 21, 2024
@tcharding tcharding changed the title backport 2740 (diff adjustment) to 0.32 backport: Add difficulty adjustment calculation Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-bitcoin PRs modifying the bitcoin crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants