Skip to content

Commit

Permalink
Add torrent library dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
0x-r4bbit committed Apr 5, 2022
1 parent 6691516 commit 19f4b17
Show file tree
Hide file tree
Showing 4,459 changed files with 2,987,063 additions and 15,244 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ replace github.com/nfnt/resize => github.com/status-im/resize v0.0.0-20201215164
replace github.com/forPelevin/gomoji => github.com/status-im/gomoji v1.1.3-0.20220213022530-e5ac4a8732d4

require (
github.com/anacrolix/torrent v1.41.0
github.com/beevik/ntp v0.2.0
github.com/cenkalti/backoff/v3 v3.2.2
github.com/davecgh/go-spew v1.1.1
Expand Down Expand Up @@ -71,7 +72,7 @@ require (
github.com/xeipuuv/gojsonschema v1.2.0
github.com/zenthangplus/goccm v0.0.0-20211005163543-2f2e522aca15
go.uber.org/zap v1.19.0
golang.org/x/crypto v0.0.0-20211202192323-5770296d904e
golang.org/x/crypto v0.0.0-20220131195533-30dcbda58838
golang.org/x/image v0.0.0-20210220032944-ac19c3e999fb
golang.org/x/tools v0.1.2 // indirect
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
Expand Down
555 changes: 544 additions & 11 deletions go.sum

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions protocol/communities/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ import (
"strings"
"time"

// These will be used in the following commit
// The reason import and usage is done in multiple commits
// is to make reviewing the changes easier
_ "github.com/anacrolix/torrent"
_ "github.com/anacrolix/torrent/bencode"
_ "github.com/anacrolix/torrent/metainfo"
"github.com/golang/protobuf/proto"

"github.com/google/uuid"
Expand Down
20 changes: 20 additions & 0 deletions vendor/github.com/RoaringBitmap/roaring/.drone.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions vendor/github.com/RoaringBitmap/roaring/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
32 changes: 32 additions & 0 deletions vendor/github.com/RoaringBitmap/roaring/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions vendor/github.com/RoaringBitmap/roaring/AUTHORS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 19f4b17

Please sign in to comment.