Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Change WitnessTransaction inv type to use txid #424

Merged
merged 1 commit into from May 14, 2020

Conversation

jrawsthorne
Copy link
Contributor

From BIP144: "MSG_WITNESS_TX getdata requests should use the non-witness serialized hash."

@codecov-io
Copy link

Codecov Report

Merging #424 into master will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #424   +/-   ##
=======================================
  Coverage   86.71%   86.71%           
=======================================
  Files          40       40           
  Lines        8689     8689           
=======================================
  Hits         7535     7535           
  Misses       1154     1154           
Impacted Files Coverage Δ
src/network/message_blockdata.rs 89.23% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c3a7d1b...81c061a. Read the comment docs.

@stevenroose
Copy link
Collaborator

Hmm, @apoelstra this is clearly a bug. How easy is it for you to make patch releases forking from the release point?

@stevenroose
Copy link
Collaborator

If you want, I could make a release branch and quickly try backport all the non-backwards incompatible changes to it to make a minor release. Not sure it's worth it for us, though.

Copy link
Collaborator

@stevenroose stevenroose left a comment

Choose a reason for hiding this comment

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

ACK

@stevenroose
Copy link
Collaborator

Just saw that there are others waiting for a next major release, though.

@dr-orlovsky
Copy link
Collaborator

dr-orlovsky commented May 14, 2020

Yeah, it was my bad messing with that when was doing hashtype system...

Just saw that there are others waiting for a next major release, though.

... and others waiting:
romanz/electrs#239
and there are pending changes to rust-lightning

@apoelstra apoelstra merged commit c44bad8 into rust-bitcoin:master May 14, 2020
Davidson-Souza pushed a commit to Davidson-Souza/rust-bitcoin that referenced this pull request Jul 12, 2023
…and sign_ecdsa_recoverable_with_noncedata

f93ca81 Add sign_ecdsa_with_noncedata and sign_ecdsa_recoverable_with_noncedata (junderw)

Pull request description:

  Fixes rust-bitcoin#424

  As discussed on [IRC](https://gnusha.org/bitcoin-rust/2022-03-19.log) (starts at 09:14).

  These methods will allow for users to generate multiple signatures with the same private key and message by utilizing one of the `Variants` mention in RFC6979 which is exposed by libsecp256k1 via the `noncedata` argument.

  The reasoning behind adding this is to allow our library to migrate from using the -sys crate. Currently we support using this noncedata argument, and would like to continue doing so while at the same time migrating away from -sys crate.

ACKs for top commit:
  apoelstra:
    ACK f93ca81

Tree-SHA512: 494d4f9046960779e199b18ff908fe74feda66a5cfc066c9ae6f3836fcaabd56defaa2138a913b25f1af3aa7dd48986e058804223224b76b303837c0c7adbaed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants