Commit graph

11 commits

Author SHA1 Message Date
Leo Balduf
f4101f83e0 store: use stopper, extraxt StringStore tests 2016-06-19 17:02:46 -04:00
Leo Balduf
aaf9978df3 middleware: add swarm interaction 2016-05-17 00:49:16 -04:00
Leo Balduf
468eefee57 store: add ErrResourceDoesNotExist and update memory implementation 2016-05-17 00:49:06 -04:00
Leo Balduf
38856e82be store: added peer parameters to AnnouncePeers 2016-04-12 12:15:38 -04:00
Josh de Kock
a9d3c2e071 store/peer_store: Add tests & functions for getting info about peers
This commit adds four functions: GetSeeders, GetLeechers,
NumSeeders, and NumLeechers to the store/peer_store API. The
first two functions are for getting a list of all the
seeders/leechers by an info hash, the latter two are helper
functions which use the Get functions, combine the ipv4, and
ipv4, and then len() them. It also adds some minimal tests for
memory/peer_store.
2016-04-02 21:49:08 +01:00
Leo Balduf
eca7d9ee72 store/server: normalized error messages/formatting 2016-03-11 21:22:03 +01:00
Leo Balduf
1ba0f92ceb store: normalized config 2016-03-11 21:21:31 +01:00
Leo Balduf
1a4ecb133f store: now opening stores 2016-03-02 21:05:31 -05:00
Justin Li
b1f186b665 Set IP on the request object 2016-03-02 21:05:31 -05:00
Justin Li
75b4a20e56 Bring in more old behaviour, use types for peer_id and infohash 2016-03-02 21:05:31 -05:00
Jimmy Zelinskie
bd33c0c66b initial middleware refactor 2016-03-02 21:05:30 -05:00