Skip to content

Backport bitcoin#11252: [P2P] When clearing addrman clear mapInfo and mapAddr.#3171

Merged
codablock merged 1 commit intodashpay:developfrom
codablock:pr_fixaddrmancrash
Oct 23, 2019
Merged

Backport bitcoin#11252: [P2P] When clearing addrman clear mapInfo and mapAddr.#3171
codablock merged 1 commit intodashpay:developfrom
codablock:pr_fixaddrmancrash

Conversation

@codablock
Copy link

b86a420 when clearing addrman clear mapInfo and mapAddr (Gregory Sanders)

Pull request description:

Power failure on my machine resulted in a corrupted addrman that would hit bad assertions when trying to serialize the "cleared" addrman to disk: https://github.com/bitcoin/bitcoin/blob/6866b4912b8013ed748d12250209f7079a3c92e6/src/addrman.h#L320

Tree-SHA512: 07ca8b6cbd88407e5f3f0dccb346ae31bd1392f4210b2d5c5647c853986bfec95cf70240b92bafdc61b90e452a5d8315962738d10c10c2b53fdabff10503d05a

…pAddr.

b86a420 when clearing addrman clear mapInfo and mapAddr (Gregory Sanders)

Pull request description:

  Power failure on my machine resulted in a corrupted addrman that would hit bad assertions when trying to serialize the "cleared" addrman to disk: https://github.com/bitcoin/bitcoin/blob/6866b4912b8013ed748d12250209f7079a3c92e6/src/addrman.h#L320

Tree-SHA512: 07ca8b6cbd88407e5f3f0dccb346ae31bd1392f4210b2d5c5647c853986bfec95cf70240b92bafdc61b90e452a5d8315962738d10c10c2b53fdabff10503d05a
@codablock codablock added this to the 14.1 milestone Oct 21, 2019
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

utACK

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.

3 participants