filecoin-shipyard / browser-retrieval

A p2p network of Filecoin content retrievers
21 stars 8 forks source link

Handle an invalid voucher #163

Closed aistoc closed 3 years ago

aistoc commented 3 years ago

If the Provider.js determines the voucher to be invalid in any way (amount is wrong, signature does not validate), then the Provider node should respond by doing this:

The Client.js browser should do this: