async def initialize_address_manager(self) -> None:
    mkdir(self.peer_db_path.parent)
    self.connection = (await aiosqlite.connect(self.peer_db_path))
    (await self.connection.execute('pragma journal_mode=wal'))
    (await self.connection.execute('pragma synchronous=OFF'))
    self.address_manager_store = (await AddressManagerStore.create(self.connection))
    if (not (await self.address_manager_store.is_empty())):
        self.address_manager = (await self.address_manager_store.deserialize())
    else:
        (await self.address_manager_store.clear())
        self.address_manager = AddressManager()
    self.server.set_received_message_callback(self.update_peer_timestamp_on_message)
async def initialize_address_manager(self) -> None:
    mkdir(self.peer_db_path.parent)
    self.connection = (await aiosqlite.connect(self.peer_db_path))
    (await self.connection.execute('pragma journal_mode=wal'))
    (await self.connection.execute('pragma synchronous=OFF'))
    self.address_manager_store = (await AddressManagerStore.create(self.connection))
    if (not (await self.address_manager_store.is_empty())):
        self.address_manager = (await self.address_manager_store.deserialize())
    else:
        (await self.address_manager_store.clear())
        self.address_manager = AddressManager()
    self.server.set_received_message_callback(self.update_peer_timestamp_on_message)