Skip to content

Conversation

@practicalswift
Copy link
Contributor

@practicalswift practicalswift commented Nov 9, 2020

Check for addrv1 compatibility before using addrv1 serializer/deserializer on CSubNet. As requested by MarcoFalke in #20289 (comment).

Assert roundtrip equality for both addrv1 and addrv2 versions of CService.

@maflcko
Copy link
Member

maflcko commented Nov 9, 2020

review ACK 79b8f8d

@DrahtBot DrahtBot added the Tests label Nov 9, 2020
@maflcko maflcko merged commit 0b69bb9 into bitcoin:master Nov 10, 2020
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Nov 10, 2020
…g addrv1 serializer/deserializer on CSubNet

79b8f8d fuzz: Assert roundtrip equality for both addrv1 and addrv2 versions of CService (practicalswift)
0e3a78a fuzz: Check for addrv1 compatibility before using addrv1 serializer/deserializer on CSubNet (practicalswift)

Pull request description:

  Check for `addrv1` compatibility before using `addrv1` serializer/deserializer on `CSubNet`. As requested by MarcoFalke in bitcoin#20289 (comment).

  Assert roundtrip equality for both `addrv1` and `addrv2` versions of `CService`.

ACKs for top commit:
  MarcoFalke:
    review ACK 79b8f8d

Tree-SHA512: 3f758aa89ab0c253b593fbe8fe9adc5c6db9afec8856facfe635053a32b4feb438c951323ae0c9e27f1d7e89d12a9b62d81f094dc96159233c12f64d4b95c290
@practicalswift practicalswift deleted the fix-sub_net_deserialize branch April 10, 2021 19:42
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 18, 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.

3 participants