HomePhabricator

Fix de-serialization bug where AddrMan is corrupted after exception * CAddrDB…
1475ecf61141Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Fix de-serialization bug where AddrMan is corrupted after exception * CAddrDB modified so that when de-serialization code throws an exception Addrman is reset to a clean state * CAddrDB modified to make unit tests possible * Regression test created to ensure bug is fixed * StartNode modifed to clear adrman if CAddrDB::Read returns an error code.

Details

Provenance
EthanHeilman <ethan.r.heilman@gmail.com>Authored on Mar 16 2016, 16:54
Ethan Heilman <Ethan.R.Heilman@gmail.com>Committed on May 4 2016, 22:55
deadalnixPushed on May 14 2017, 22:04
Parents
rABC326f010332a6: Merge #7465: [doc] Update release-process.md
Branches
Unknown
Tags
Unknown

Event Timeline

Ethan Heilman <Ethan.R.Heilman@gmail.com> committed rABC1475ecf61141: Fix de-serialization bug where AddrMan is corrupted after exception * CAddrDB… (authored by EthanHeilman <ethan.r.heilman@gmail.com>).May 4 2016, 22:55