anchor.diff:  % HELPER
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   
  +-spec send(Pid::comm:mypid(), Msg::comm:message() | comm:group_message()) -> ok.
  +send(Pid, Msg) ->
  +    ?TRACE_SEND(Pid, Msg),
  +    comm:send(Pid, Msg).
  +
  +-spec send_local(Pid::comm:erl_local_pid(), Msg::comm:message() | comm:group_message()) -> ok.
  +send_local(Pid, Msg) ->
  +    ?TRACE_SEND(Pid, Msg),
  +    comm:send_local(Pid, Msg).
  +
   %% @doc Sends a get_chunk request to the local DHT_node process.
   %%      Request responds with a list of {Key, Value} tuples.
   %%      The mapping to DestI is not done here!
  
positive.code:     case Method of
          merkle_tree -> 
              case Initiator of
                  true -> comm:send(DestReconPid,
                                    {check_nodes, comm:this(), [merkle_tree:get_hash(SyncStruct)]});
                  false ->
                      IntParams = [{interval, merkle_tree:get_interval(SyncStruct)}, {reconPid, comm:this()}],
                      comm:send(DestRRPid,
                                {continue_recon, comm:make_global(OwnerL), SID,
                                 {continue, merkle_tree, res_shared_interval, IntParams, true}})
              end,
              rr_recon_stats:set(
                [{tree_compareLeft, ?IIF(Initiator, 1, 0)},
                 {tree_size, merkle_tree:size_detail(SyncStruct)}], Stats);
          bloom ->
              comm:send(DestRRPid, {continue_recon, comm:make_global(OwnerL), SID,
                                    {continue, bloom, reconciliation, SyncStruct, true}}),
              comm:send_local(self(), {shutdown, {ok, build_struct}}),
              Stats;
          art ->
              {AOk, ARStats} = 
  
negative.code:     OwnerR = comm:make_global(OwnerL),
      case merkle_tree:get_item_count(Node) of
          0 ->
             send(Dest, {request_resolve, SID, {interval_upd_send, merkle_tree:get_interval(Node), OwnerR}, []}),
             1;
         _ ->
             send_local(OwnerL, {request_resolve, SID, {interval_upd_send, merkle_tree:get_interval(Node), Dest}, [{feedback, OwnerR}]}),
             2
      end.
  
  