anchor.diff:  
   -include("etorrent_version.hrl").
   
  --export([stop/0, start/0]).
   -export([start/2, stop/1, prep_stop/1]).
   
   
  
positive.code: stop(_State) ->
      ok.
  
  
  %% @doc Generate a random peer id for use
  %% @end
  generate_peer_id() ->
  
negative.code: 
  -define(RANDOM_MAX_SIZE, 999999999999).
  
  %% @doc Application callback.
  %% @end
  start(_Type, _Args) ->
      PeerId = generate_peer_id(),
      %% DB
      etorrent_mnesia_init:init(),
      etorrent_mnesia_init:wait(),
      etorrent_sup:start_link(PeerId).
  
  %% @doc Application callback.
  %% @end
  