Commit graph

13 commits

Author SHA1 Message Date
Leo Balduf
f4101f83e0 store: use stopper, extraxt StringStore tests 2016-06-19 17:02:46 -04:00
Jimmy Zelinskie
1597d1ffd3 Merge pull request #165 from mrd0ll4r/add-peer
middleware: added peer store updates middleware (swarm)
2016-05-17 03:31:13 -04:00
Leo Balduf
468eefee57 store: add ErrResourceDoesNotExist and update memory implementation 2016-05-17 00:49:06 -04:00
mrd0ll4r
7f16c55d81 make infohash and peerID byte arrays (#169) 2016-05-16 23:48:23 -04:00
Leo Balduf
373d3c4c31 make peer Equal work on values 2016-04-16 16:05:29 -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
1ba0f92ceb store: normalized config 2016-03-11 21:21:31 +01:00
Jimmy Zelinskie
6327938545 memory: fix paren bug 2016-03-02 21:05:32 -05:00
Leo Balduf
3b54069a1b various small fixes 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
Justin Li
05b7b955a1 Address minor comments 2016-03-02 21:05:30 -05:00
Jimmy Zelinskie
bd33c0c66b initial middleware refactor 2016-03-02 21:05:30 -05:00