anchor.diff:  add_trusted(PeerInfos) when is_list(PeerInfos) ->
       lists:foreach(fun(I) -> add_trusted(I) end, PeerInfos);
   add_trusted(PeerInfo) ->
  -    api_add_peer(undefined, PeerInfo, true).
  +    async_add_peer(undefined, PeerInfo, true).
   
   %% @doc Adds a normal peer or a list of normal peers.
   %% The IP address of the node that gave us this peer must be specified.
  
positive.code: add_peers(SourceAddr, PeerInfos) when is_list(PeerInfos) ->
      lists:foreach(fun(I) -> add_peers(SourceAddr, I) end, PeerInfos);
  add_peers(SourceAddr, PeerInfo) ->
      api_add_peer(SourceAddr, PeerInfo, false).
  
  %% @doc Removes a peer; if connected, closes the connection.
  %% At the moment also removes peer from the blocked list.
  
negative.code: %% Handles event adding a new peer to the pool.
  -spec on_add_peer(inet:ip_address(), peer(), state()) -> state().
  on_add_peer(SourceAddr, Peer, State0) ->
      #state{ hostnames = HostMap } = State0,
      State = maybe_unblock(State0#state{hostnames = maps:remove(Peer#peer.host, HostMap)}),
      PeerId  = peer_id(Peer),
      #peer{ pubkey = PPK, address = PA, port = PP } = Peer,
      case is_local(PeerId, State) orelse is_blocked(PeerId, State) of
  