Add lbry.getPeersForBlobHash()
This commit is contained in:
parent
3058f6714c
commit
7ca6017986
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue