Skip to content

Conversation

@theStack
Copy link
Contributor

This PR is a (quite late) follow-up to #19237 (#19237 (comment)). Looking at CPubKey::Serialize and CPubKey::Unserialize I can't think of a scenario where the roundtrip (serialization/deserialization) equality wouldn't hold.

@theStack
Copy link
Contributor Author

ping @practicalswift

@DrahtBot DrahtBot added the Tests label Jun 17, 2021
@jamesob
Copy link
Contributor

jamesob commented Jun 17, 2021

crACK 9550dff pending CI

@maflcko maflcko merged commit 8cb4307 into bitcoin:master Jun 17, 2021
@practicalswift
Copy link
Contributor

Post-merge cr ACK 9550dff

Thanks for fixing this @theStack!

sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jun 18, 2021
9550dff fuzz: Assert roundtrip equality for `CPubKey` (Sebastian Falbesoner)

Pull request description:

  This PR is a (quite late) follow-up to bitcoin#19237 (bitcoin#19237 (comment)). Looking at `CPubKey::Serialize` and `CPubKey::Unserialize` I can't think of a scenario where the roundtrip (serialization/deserialization) equality wouldn't hold.

ACKs for top commit:
  jamesob:
    crACK bitcoin@9550dff pending CI

Tree-SHA512: 640fb9e777d249769b22ee52c0b15a68ff0645b16c986e1c0bce9742155d14f1be601e591833e1dc8dcffebf271966c6b861b90888a44aae1feae2e0248e2c55
@theStack theStack deleted the 202106-fuzz-assert-CPubKey-deser-roundtrip branch July 31, 2021 20:05
gwillen pushed a commit to ElementsProject/elements that referenced this pull request Jun 1, 2022
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants