Add lbry.getPeersForBlobHash()

This commit is contained in:
Alex Liebowitz 2016-12-07 16:29:04 -05:00
parent 3058f6714c
commit 7ca6017986

View file

@ -183,6 +183,10 @@ lbry.getCostEstimate = function(name, callback) {
lbry.call('get_est_cost', { name: name }, callback);
}
lbry.getPeersForBlobHash = function(blobHash, callback) {
lbry.call('get_peers_for_hash', { blob_hash: blobHash }, callback)
}
lbry.getFileStatus = function(name, callback) {
lbry.call('get_lbry_file', { 'name': name }, callback);
}