Some changes in PeerDBHandler.