dcrd
dcrd copied to clipboard
server: Do not update addrmgr on simnet/regnet.
This modifies the logic that updates the address manager with the last seen time when a peer has disconnected to ignore the simulation and regression test networks since there will be no entry for the peer to update on those networks given they are only intended to connect to specified peers and thus actively avoid advertising and connecting to discovered peers.