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

bip157: Fix typo on getcfcheckpt command string #367

Merged
merged 1 commit into from Dec 22, 2019
Merged

bip157: Fix typo on getcfcheckpt command string #367

merged 1 commit into from Dec 22, 2019

Conversation

5o50
Copy link
Contributor

@5o50 5o50 commented Dec 20, 2019

This corrects a small typo on BIP157 getcfcheckpt message command serialization/deserialization.
cf: https://github.com/bitcoin/bips/blob/master/bip-0157.mediawiki#getcfcheckpt

@5o50
Copy link
Contributor Author

5o50 commented Dec 20, 2019

I can add tests if you show me how to get bytes vector samples for network messages

@5o50 5o50 changed the title Fix typo on getcfcheckpt command string bip157: Fix typo on getcfcheckpt command string Dec 20, 2019
@codecov-io
Copy link

Codecov Report

Merging #367 into master will decrease coverage by 0.64%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #367      +/-   ##
==========================================
- Coverage   82.56%   81.91%   -0.65%     
==========================================
  Files          39       39              
  Lines        8236     7179    -1057     
==========================================
- Hits         6800     5881     -919     
+ Misses       1436     1298     -138
Impacted Files Coverage Δ
src/network/message.rs 61.6% <50%> (-8.09%) ⬇️
src/util/key.rs 72.77% <0%> (-10.06%) ⬇️
src/util/psbt/raw.rs 80.85% <0%> (-3.88%) ⬇️
src/util/misc.rs 95.08% <0%> (-2.57%) ⬇️
src/network/constants.rs 84.8% <0%> (-2.37%) ⬇️
src/util/bip32.rs 87.14% <0%> (-1.94%) ⬇️
src/network/message_network.rs 25% <0%> (-1.77%) ⬇️
src/blockdata/transaction.rs 93.89% <0%> (-1.47%) ⬇️
src/blockdata/block.rs 70.67% <0%> (-0.85%) ⬇️
... and 13 more

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 a643ac4...2605141. Read the comment docs.

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.

LGTM. Thanks!

Copy link
Member

@elichai elichai left a comment

Choose a reason for hiding this comment

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

utACK modulo testing that full round fails before this and succeed after.

Copy link
Member

@elichai elichai left a comment

Choose a reason for hiding this comment

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

tACK. and checked against bitcoin/bitcoin#16442

@elichai elichai merged commit 4c3ad9d into rust-bitcoin:master Dec 22, 2019
Davidson-Souza pushed a commit to Davidson-Souza/rust-bitcoin that referenced this pull request Jul 12, 2023
…ents

0e0fa06 Simplify `Display` impl of `SerializedSignature` (Martin Habovstiak)
5d51b9d Added `MAX_LEN` constant to `serialized_signature` (Martin Habovstiak)
e642a52 Add `#[inline]` to methods of `SerializedSignatre` (Martin Habovstiak)
e92540b `impl IntoIterator for SerializedSignature` (Martin Habovstiak)
7f2d3d2 Move `SerializedSignature` into its own module (Martin Habovstiak)
901d5ff `impl<'a> IntoIterator for &'a SerializedSignature` (Martin Habovstiak)
1d2a1c3 Deduplicate `self.data[..self.len]` expressions (Martin Habovstiak)

Pull request description:

  This

  * Deduplicates slicing operations
  * Implements `IntoIterator` (owned and borrowed)
  * Reorganizes the code for better clarity
  * Adds `#[inline]`s
  * Checks length set by libsep256k1

  Closes rust-bitcoin#367
  Closes rust-bitcoin#368

  Individual commits are hopefully easier to review.

ACKs for top commit:
  apoelstra:
    ACK 0e0fa06

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

Successfully merging this pull request may close these issues.

None yet

4 participants