anchor.diff:  
   
   %%--------------------------------------------------------------------
  +%% Func: handle_endgame_got_chunk(Index, Offset, S) -> State
  +%% Description: Some other peer just downloaded {Index, Offset} so try
  +%%   not to download it here if we can avoid it.
  +%%--------------------------------------------------------------------
  +handle_endgame_got_chunk(_Index, _Offset, S) ->
  +    todo,
  +    S.
  +
  +%%--------------------------------------------------------------------
   %% Func: handle_got_chunk(Index, Offset, Data, Len, S) -> {ok, State}
   %% Description: We just got some chunk data. Store it in the mnesia DB
   %%   TODO: This is one of the functions which is a candidate for optimization!
  
positive.code: %%--------------------------------------------------------------------
  send_have_piece(Pid, PieceNumber) ->
      gen_server:cast(Pid, {send_have_piece, PieceNumber}).
  
  %%--------------------------------------------------------------------
  %% Function: complete_handshake(Pid, ReservedBytes, Socket, PeerId)
  
negative.code: %% API
  -export([start_link/5, connect/3, choke/1, unchoke/1, interested/1,
  	 send_have_piece/2, complete_handshake/4,
  	 stop/1, endgame_got_chunk/3]).
  
  %% gen_server callbacks
  -export([init/1, handle_call/3, handle_cast/2, handle_info/2,
  