anchor.diff:      end;
   handle_cast({do_log, Entry}, State) ->
       {noreply, schedule_save(add_pending(State, Entry))};
  -handle_cast({sync, Compressed}, StateBefore) ->
  +handle_cast({sync, SrcNode, Compressed}, StateBefore) ->
       State = flush_pending(StateBefore),
       Recent = State#state.unique_recent,
       case binary_to_term(zlib:uncompress(Compressed)) of
  
positive.code:             {noreply, State};
          Logs ->
              State1 = schedule_save(State),
              {noreply, State1#state{unique_recent=tail_of_length(lists:umerge(Recent, Logs),
                                                                  ?RB_SIZE)}}
      end.
  
  %% Not handling any other state.
  
  
negative.code:         [] -> ok;
          Nodes ->
              Node = lists:nth(random:uniform(length(Nodes)), Nodes),
              send_sync_to(Recent, Node)
      end,
      {noreply, State};
  handle_info(save, StateBefore = #state{filename=Filename}) ->
  