anchor.diff:      Source = {192, 168, 0, 1},
       PubKey = <<"ef42d46eace742cd">>,
       Id = aec_peers:peer_id(PubKey),
  -    Peer = peer(PubKey, <<"aeternity.com">>, 4000),
  +    Peer = peer(PubKey, <<"10.1.0.1">>, 4000),
   
       aec_peers:add_peers(Source, Peer),
   
  
positive.code: 
      % Last retry of unverified peer, should be removed.
  
      {ok, Conn8} = ?assertCalled(connect, [#{ r_pubkey := PubKey }], {ok, _}, 450),
      conn_kill(Conn8),
  
      ?assertMatch([], aec_peers:connected_peers()),
  
negative.code:     ?assertEqual(0, aec_peers:count(standby)),
  
      % First retry
      ?assertMessage({getaddr, "aeternity.com"}, 400),
      ?assertMatch(1, aec_peers:count(hostnames)),
  
      aec_peers:add_trusted(Peer2),
      ?assertMessage({getaddr, "aeternity.com"}, 100),
  
      % Second retry
      ?assertMessage({getaddr, "aeternity.com"}, 400),
      ?assertMatch(1, aec_peers:count(hostnames)),
  
      % Third retry
      ?assertMessage({getaddr, "aeternity.com"}, 500),
      ?assertMatch(1, aec_peers:count(hostnames)),
  
      % Trusted peers keep retrying forever, but normal peers are removed.
      ?assertMessage({getaddr, "aeternity.com"}, 500),
      ?assertMatch(1, aec_peers:count(hostnames)),
  
      ?assertMessage({getaddr, "aeternity.com"}, 500),
      ?assertMatch(1, aec_peers:count(hostnames)),
  
      % Make the hostname resolvable again
      mock_getaddr({ok, {192, 168, 0, 10}}),
  
      % Only the trusted peer is added, the other one was removed.
      ?assertMessage({getaddr, "aeternity.com"}, 500),
      {ok, Conn1} = ?assertCalled(connect, [#{ r_pubkey := PubKey2 }], {ok, _}, 200),
  
      ?assertMatch(0, aec_peers:count(hostnames)),
      ?assertEqual(1, aec_peers:count(connections)),
  