anchor.diff:      end.
   
   all_received(finalize, _From, State) ->
  +    %% 1. state the From pid into our
  +    %%    state so that we know to reply
  +    %%    later with the finished manifest
       Reply = ok,
       {reply, Reply, all_received, State}.
   
   done(finalize, _From, State) ->
  +    %% 1. reply immediately
  +    %%    with the finished manifest
       Reply = ok,
       {reply, Reply, stop, State}.
   
  
positive.code:     {next_state, not_full, State}.
  
  all_received({block_written, BlockID}, State=#state{unacked_writes=UnackedWrites}) ->
      NewUnackedSet = ordsets:del_element(BlockID, UnackedWrites),
      case ordsets:size(NewUnackedSet) of
          0 ->
  
negative.code: %%--------------------------------------------------------------------
  %%
  %%--------------------------------------------------------------------
  handle_sync_event(_Event, _From, StateName, State) ->
      Reply = ok,
      {reply, Reply, StateName, State}.
  