rename to peerRequestQueue

this opens up the possibility of having multiple queues. And for all
outgoing messages to be managed by the decision engine

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
add local wantlist to decision engine

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
fix: don't sort the output of Entries()

only sort SortedEntries()

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
rm unused method

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
add comment

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
unexport functions

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
fix: check blockstore before adding task

addresses https://github.com/jbenet/go-ipfs/pull/438#discussion_r21953742

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
log unusual event

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
style: move worker to top

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>