Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
MonoTorrent
The official repository for MonoTorrent, a bittorrent library for .NET
Collective -
Host: opensource -
https://opencollective.com/monotorrent
- Code: https://github.com/alanmcgovern/monotorrent
github.com/alanmcgovern/monotorrent - 6b8e86c9209e6d87cb9050315f87d9f766cd2603 authored about 5 years ago by Alan McGovern <[email protected]>
And we can use some of the newer features.
github.com/alanmcgovern/monotorrent - 6ea6e3f5fede391a52c3755576b9e1d48969acfb authored about 5 years ago by Alan McGovern <[email protected]>github.com/alanmcgovern/monotorrent - 2cc9c25fbe28c5241bb4cceb63b46c1e5aff3e1a authored about 5 years ago by Alan McGovern <[email protected]>
This internal interface should only expose a method which allows
a choke/unchoke review to occur...
github.com/alanmcgovern/monotorrent - 087079d1e08f2d7d13ed9ae2625c504dfd849461 authored about 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - d53071215a5dfca3ce5338c92d88c143fe0b5c63 authored about 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - 6458d078fab285cb16a34ea1f57adbab6f15bf6a authored about 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - a3d8ffda86c208294f1da10c2cc46ceec0a41fcf authored about 5 years ago by Alan McGovern <[email protected]>
When some files are marked as DoNotDownload then this property
tracks the completion rate for th...
github.com/alanmcgovern/monotorrent - ad279e59da9c5dc271a65d9f4958bc9eab2aafbc authored about 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - 2e961510dfa344495f052e03a7a2e72689d56204 authored about 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - 89fd617f2d71871d417f12ee3c65a3f99b5dd505 authored about 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - 4e625133a7d14223378d877d5375f68b1e05e745 authored about 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - 555433844e9117d739c6007ac231c6aea5c0c623 authored about 5 years ago by Alan McGovern <[email protected]>
If we have skipped hashchecking files because they were set to
DoNotDownload, we need to hash ch...
Every mode should be using this nowadays!
github.com/alanmcgovern/monotorrent - 46a275cb0732e0d08a83da8a5efe59e653d81355 authored about 5 years ago by Alan McGovern <[email protected]>github.com/alanmcgovern/monotorrent - 7ba9bebb7bd63eda5026c01b31f78c616567a9da authored about 5 years ago by Alan McGovern <[email protected]>
This adds a test to ensure the Mode changes correctly and that
the CancellationException does pr...
github.com/alanmcgovern/monotorrent - 34e07e7e2b12a62b2373b3d2566441bd21b69e23 authored about 5 years ago by Alan McGovern <[email protected]>
Adds the feature requested in https://github.com/mono/monotorrent/issues/138
github.com/alanmcgovern/monotorrent - 6b01976bc4c1c715e3519bbd601e04cebfa91d93 authored about 5 years ago by Alan McGovern <[email protected]>github.com/alanmcgovern/monotorrent - a67e47d22f754e0c5fe95494882fadeaa06b7a42 authored about 5 years ago by Andrei <[email protected]>
RateLimiterGroup should not expose an UpdateChunks method as
it is dangerous to do so. If there'...
It logs successful/failing connections now, and also does not
set 'PrefersEncryption' to false a...
This should default to true!
github.com/alanmcgovern/monotorrent - 009425802a1d0b2b631bc60c1d4a7b95b145bc58 authored about 5 years ago by Alan McGovern <[email protected]>
It looks like there was a bug here and we could pass 'ChunkLength'
to the ratelimiter, and then ...
This is supposed to be threadsafe without locking, which means
we should really be using an inte...
* Expose the base picker in PiecePicker
* Handle null reference for manager in DhtEnginePeers...
github.com/alanmcgovern/monotorrent - 4f0f303f6e5f42745f11e6b5739f0a85769c5820 authored over 5 years ago by Andrei <[email protected]>github.com/alanmcgovern/monotorrent - 0558daa145ebf16863e438e7fcc6cf5a3ec6ddbf authored over 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - 6dab0db92da06d3b76afc89b3d3ec840580898ca authored over 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - 180d787ff3ee64077856ef4cb9ad6c3a4168e9d7 authored over 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - 79d99f2916de0101c0a924167da2c81de5711f3e authored over 5 years ago by Alan McGovern <[email protected]>
Rather than using a random to seed a random, let's just create
a single static, unseeded, Random...
github.com/alanmcgovern/monotorrent - e6fd97ebdb08aa91a1bacddea53493fb3771a6b0 authored over 5 years ago by Ben Origas <[email protected]>
github.com/alanmcgovern/monotorrent - e0486f1955ac29d388bebffc645d237c738134b3 authored over 5 years ago by Alan McGovern <[email protected]>
Sure why not!
github.com/alanmcgovern/monotorrent - 46c0a69e4d55c6e6ef678cfedac43dd25c021081 authored over 5 years ago by Alan McGovern <[email protected]>
Over a decade ago speeds in excess of 2GB/sec would've been
fairly unthinkable, but nowadays tha...
THe majority case will be that the Piece has blocks ready to
be requested, so in that scenario w...
I think all the API breaks are done for now.
github.com/alanmcgovern/monotorrent - 1c4f928775057e4348f53dc7402e989a6b3e56ea authored over 5 years ago by Alan McGovern <[email protected]>These should have a consistent naming scheme.
github.com/alanmcgovern/monotorrent - c9e7ee3b66d21fcfc734ffddb4833a632ae7312a authored over 5 years ago by Alan McGovern <[email protected]>github.com/alanmcgovern/monotorrent - 52c0143a58f5e1e7cf12efa388b9a4ae3da14628 authored over 5 years ago by Alan McGovern <[email protected]>
This lets me change around the actual implementation
later.
ConnectionManager shouldn't re-expose things which are already
exposed in an easy-to-access plac...
Bump the lang version to require 7.2.
github.com/alanmcgovern/monotorrent - 808321b5b8a47dc4817e21db02009db013084522 authored over 5 years ago by Alan McGovern <[email protected]>It's supposed to be immutable!
github.com/alanmcgovern/monotorrent - 7135d16d7fa67c4fd6caf16e0367c4c7e77595fe authored over 5 years ago by Alan McGovern <[email protected]>
The BanList happens to be backed by a 'RangeCollection' at
the moment, but RangeCollection is no...
* Renamed some properties to 'Allow*' to better indicate that
this is not a guarantee that the f...
These are created by the engine and passed to events
github.com/alanmcgovern/monotorrent - 595aaa9d4a0ee0c4dcd97d198d840c36d847bda3 authored over 5 years ago by Alan McGovern <[email protected]>
It's used by types in this namespace, so rather than having it
be the only public type in MonoTo...
This should generate better IL as this will turn into 4
simple comparisons.
It's used by TorrentManager so it should be in the same
namespace.
This will be included in the nupkg.
github.com/alanmcgovern/monotorrent - 680a51cd3afa50bb9c3f0f6b297a786f2339d163 authored over 5 years ago by Alan McGovern <[email protected]>* Add a threadsafe way of getting the torrent list.
github.com/alanmcgovern/monotorrent - 9eae6007998d4fb07fa127a65e99ec26c8ac0039 authored over 5 years ago by Volodymyr Sedler <[email protected]>
Create (and commit!) a file called alpha.txt or beta.txt
to postfix releases as alpha or beta.
github.com/alanmcgovern/monotorrent - 1012c0cd24b6eb01a9b765a6e9149789ce9c49fb authored over 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - a6fe4ff7deef4c341ba167f614f571c01be4817f authored over 5 years ago by Alan McGovern <[email protected]>
We should cover the case where we choose a reasonable number
of blocks, all the remaining blocks...
github.com/alanmcgovern/monotorrent - c89a36b2683eb3ff8d556d60c450a0256bf1e4cf authored over 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - 69810cf4e51cffecde4b75f5692c05525bb2a58e authored over 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - dd40f7c5f4f7079033c1d886e7f7b0c144f7016d authored over 5 years ago by Alan McGovern <[email protected]>
The only kind of timing we need is a comparison between
different Stopwatch timestamps. This can...
github.com/alanmcgovern/monotorrent - 38e0d8c74d1dec32a269bad4a622a48cd6fe6275 authored over 5 years ago by Alan McGovern <[email protected]>
We can get that data from a more natural place in the code rather than
shoving everything into P...
github.com/alanmcgovern/monotorrent - 51a2d91dc05b186751bd4e0c189b0086203ae263 authored over 5 years ago by Alan McGovern <[email protected]>
I'm tired of fighting the IDE. It makes this diff every time I do
anything.
github.com/alanmcgovern/monotorrent - b31ae940dcecf0b194a0a6d06eea8ac2aa15701c authored over 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - 39b82bb787dcbeb9829d1c79370ec2de790830fe authored over 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - 6f5024fe2f3c4a04aaddcc5020fda274d49d0af6 authored over 5 years ago by Alan McGovern <[email protected]>
I fixed a bug in this in an earlier commit where
the Equals method preferred the PeerId, but the...
github.com/alanmcgovern/monotorrent - 86a35f3f78db912d39ebbbe2a6812a449e52059a authored over 5 years ago by Alan McGovern <[email protected]>
Split up the monolithic TorrentManagerTests.cs into separate
sets of tests, each verifying the b...
TorrentManager.StartAsync ensures the TorrentManager has been
registered with a ClientEngine, an...
We should announce using Local Peer Discovery, DHT and any
available trackers.
If the torrentmanager does not enter the desired state within
a certain amount of time, then we ...
Now we'll have one more connection attempt, as was expected :p
It'll be a tad faster spinning up...
github.com/alanmcgovern/monotorrent - 8c3cf516bc687de5c5b3cb1767c73005a39af457 authored over 5 years ago by Alan McGovern <[email protected]>
This test is just ensuring that the returned task is marked as
complete. We don't care whether i...
github.com/alanmcgovern/monotorrent - de57f8534d77c0a181732c3b612a2592e487482c authored over 5 years ago by Alan McGovern <[email protected]>
github.com/alanmcgovern/monotorrent - db53204664292d6d4c47d822c21b152e9dd46be2 authored over 5 years ago by Alan McGovern <[email protected]>
Now that the codebase is all async/await we can make these timeouts
much shorter as we can be su...
We don't need to wait 500ms, twice, in order to test the timeout
behaviour of HttpTracker. We ca...
github.com/alanmcgovern/monotorrent - 3f461e1acac8cb04abfe64d01c14636a812eb97c authored over 5 years ago by Alan McGovern <[email protected]>
The code has two classes, NetworkIO for raw reading/writing, and
PeerIO when we want to send/rec...
Build in a timeout for ConnectionPair so that we can add a simple
timeout when we create the fak...
Ensure that the chosen midpoint is always greater than the
start index.
If there is no midpoint...
github.com/alanmcgovern/monotorrent - 59f8a93afa7165fbdce64dfb89ed55b4b9f9d2a2 authored over 5 years ago by Alan McGovern <[email protected]>
This makes the tests a little unpredictable as we can't make
direct asserions on which files wer...
The buffers can/should just be instantiated inside the
tests which need them.
If we change the semantics slightly we can make this a bit easier
to work with. PiecePicker.Pick...
Now that it's moved to ITorrentData i should rename the variables,
and while i'm at it i should ...
PeerId is a massive grab-bag of everything imaginable. Attempt to
keep things separated, and eas...
Rewrite EndGamePickerTests to rely on ITorrentData instead of
spinning up an entire ClientEngine...
github.com/alanmcgovern/monotorrent - 729dc2e86784b3ecd3d291db88a4b14aaa428ca5 authored over 5 years ago by Alan McGovern <[email protected]>
This picker now calculates and caches the bitfields it needs
to select pieces in prioritised ord...
Use ITorrentData rather than a TorrentManager+TestRig
github.com/alanmcgovern/monotorrent - a8d29b2839523c3515c8f9c321de5d19942ab38c authored over 5 years ago by Alan McGovern <[email protected]>
The consumer of this interface shouldn't be able to set the
'IsChoking' status. That's controlle...
TransferTest does not have to cover every possible encryption
combination as that's what Encrypt...
This is what attaching the payload is supposed to be used for,
so why not use it! It's easy to d...
Rename TestEncryption.cs to EncryptorFactoryTests.cs and then redo
the tests to not rely on Torr...
Use a simple(ish?) implementation of a Stream that acts like
a socket instead. To mock a connect...
This is still mostly superficial changes.
github.com/alanmcgovern/monotorrent - c4bb4183711d71cb2f19777e2e2318913e0ba86f authored over 5 years ago by Alan McGovern <[email protected]>
This includes adding the capability to test the ratelimiting
code by faking how fast time is pro...