tupelo-wasm-sdk

Home > tupelo-wasm-sdk > ICallbackBitswap

ICallbackBitswap interface

The callback-based version of Bitswap (current master).

Signature:

export interface ICallbackBitswap 

Methods

Method Description
get(cid, cb)  
getMany(cids, callback)  
getWantlist()  
ledgerForPeer(peerId)  
peers()  
put(block, cb)  
putMany(blocks, callback)  
start(cb)  
stat()  
stop(cb)  
wantlistForPeer(peerID)