HomePhabricator

Merge #7696: Fix de-serialization bug where AddrMan is left corrupted
5c3f8ddcaa11Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Merge #7696: Fix de-serialization bug where AddrMan is left corrupted

1475ecf 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. (EthanHeilman)

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rABC5c3f8ddcaa11: Merge #7696: Fix de-serialization bug where AddrMan is left corrupted (authored by Pieter Wuille <pieter.wuille@gmail.com>).May 17 2016, 08:53