Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ conanbuildinfo*
node_modules/
dist/
joystream.log
bin/
8 changes: 4 additions & 4 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ class JoyStreamNode(ConanFile):
requires = ("Libtorrent/1.1.1@joystream/stable",
"LibtorrentNode/0.0.6@joystream/stable",
"CoinCore/0.1.2@joystream/stable",
"Common/0.1.2@joystream/stable",
"Common/0.1.3@joystream/stable",
"PaymentChannel/0.1.2@joystream/stable",
"ProtocolWire/0.1.2@joystream/stable",
"ProtocolStateMachine/0.1.2@joystream/stable",
"ProtocolSession/0.1.4@joystream/stable",
"Extension/0.1.6@joystream/stable",
"ProtocolStateMachine/0.2.0@joystream/stable",
"ProtocolSession/0.2.0@joystream/stable",
"Extension/0.2.0@joystream/stable",
"Boost/1.60.0@lasote/stable",
"OpenSSL/1.0.2j@lasote/stable")

Expand Down
9 changes: 5 additions & 4 deletions examples/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
purchase/buyer/
purchase/seller/
buyer/downloads/
seller/downloads/

dht/buyer/
dht/seller/
sintel.mp4
"stock footage - clouds.m2ts"
joystream.log
3 changes: 0 additions & 3 deletions examples/basic/README.md

This file was deleted.

55 changes: 0 additions & 55 deletions examples/basic/basic.js

This file was deleted.

4 changes: 4 additions & 0 deletions examples/buyer/buyer.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ function letsBuy (torrent) {
})
})

torrent.on('allSellersGone', function() {
lookingForSeller = true
})

// Wait for one suitable seller and start downloading
torrent.on('peerPluginStatusUpdates', function (peerStatuses) {
if (!lookingForSeller) return
Expand Down
3 changes: 0 additions & 3 deletions examples/dht/README.md

This file was deleted.

78 changes: 0 additions & 78 deletions examples/dht/index.js

This file was deleted.

Loading