diff --git a/doc/release-notes.md b/doc/release-notes.md
index 5346a4a3e..3aea2774c 100644
--- a/doc/release-notes.md
+++ b/doc/release-notes.md
@@ -1,24 +1,24 @@
# Bitcoin ABC 0.23.0 Release Notes
Bitcoin ABC version 0.23.0 is now available from:
This release includes the following features and fixes:
- The node's known peers are persisted to disk in a file called `peers.dat`. The
format of this file has been changed in a backwards-incompatible way in order to
accommodate the storage of Tor v3 and other BIP155 addresses. This means that if
the file is modified by 0.23.0 or newer then older versions will not be able to
read it. Those old versions, in the event of a downgrade, will log an error
- message that deserialization has failed and will continue normal operation
- as if the file was missing, creating a new empty one.
+ message "Incorrect keysize in addrman deserialization" and will continue normal
+ operation as if the file was missing, creating a new empty one.
- The Tor onion service that is automatically created by setting the
`-listenonion` configuration parameter will now be created as a Tor v3 service
instead of Tor v2. The private key that was used for Tor v2 (if any) will be
left untouched in the `onion_private_key` file in the data directory (see
`-datadir`) and can be removed if not needed. Bitcoin ABC will no longer
attempt to read it. The private key for the Tor v3 service will be saved in a
file named `onion_v3_private_key`. To use the deprecated Tor v2 service (not
recommended), then `onion_private_key` can be copied over
`onion_v3_private_key`, e.g.
`cp -f onion_private_key onion_v3_private_key`.
diff --git a/src/addrman.h b/src/addrman.h
index 7e7d0db6f..8011f9897 100644
--- a/src/addrman.h
+++ b/src/addrman.h
@@ -1,751 +1,776 @@
// Copyright (c) 2012 Pieter Wuille
// Copyright (c) 2012-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_ADDRMAN_H
#define BITCOIN_ADDRMAN_H
#include
+#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include