opentimestamps/javascript-opentimestamps

Timeout parameter

Kexkey opened this issue · 1 comments

Hi, one of the OTS servers is very slow right now (eternitywall, takes over 1 minute to stamp anything), I was wondering if it would be possible to provide a timeout parameter to the OTS client instead of using the default server timeout? Something like:

ots-cli.js stamp -t 20 -m 2 -d <hash>

So that after 20 seconds, it would assume stamping is ok with at least 2 servers.

Thanks!