anchor.diff:      chunks_assigned :: array(),
       chunks_stored   :: array(),
       %% Chunks assigned to peers
  -    peer_monitors   :: monitorset()}).
  +    peer_monitors   :: monitorset(),
  +    %% Piece priority lists
  +    prio_begun :: #pieceprio{},
  +    prio_unassigned :: #pieceprio{}}).
   
   %% # Open requests
   %% A gb_tree mapping {PieceIndex, Offset} to Chunklength
  
positive.code:             InitTorrentPid
      end,
  
      InitState = #state{
          torrent_id=TorrentID,
          torrent_pid=TorrentPid,
  
negative.code:         %% Initially, the sets of assigned and stored chunks are equal
          chunks_assigned=ChunkSets,
          chunks_stored=ChunkSets,
          peer_monitors=etorrent_monitorset:new(),
          prio_begun=PriorityBegun,
          prio_unassigned=PriorityUnassigned},
      {ok, InitState}.
  
  
  