anchor.diff:                           rate_since = lists:max([RateSince, T - ?MAX_RATE_PERIOD])}
       end.
   
  -% @doc Calculate estimated time of arrival.
  -% @end
  +%% @doc Calculate estimated time of arrival.
  +%% @end
   -type eta() :: {integer(), {integer(), integer(), integer()}}.
   -spec eta(integer(), float()) -> eta() | unknown.
   eta(_Left, DR) when DR == 0 ->
  
positive.code: eta(unknown, _DownloadRate) ->
      unknown.
  
  format_eta(Left, DownloadRate) ->
      case eta(Left, DownloadRate) of
  	{DaysLeft, {HoursLeft, MinutesLeft, SecondsLeft}} ->
  
negative.code:                  last = T - Fudge,
                   rate_since = T - Fudge }.
  
  %% @doc Update the rate record with Amount new downloaded bytes
  %% @end
  -spec update(#peer_rate{}, integer()) -> #peer_rate{}.
  update(#peer_rate {rate = Rate,
                     total = Total,
  