You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
The nonce parameter is required to increase monotonically. This may work well in single-process apps, but is a broken approach in modern distributed apps.
E.g. node-bitpay-client uses the current time to seed the nonce. This causes failed API requests when several processes are started.
The text was updated successfully, but these errors were encountered:
Generating separate keypairs for each process is not a good solution. It's a manual operation, requiring a live person with access to the BitPay account to grant access for each process separately. We live in the PaaS era, when firing new processes is supposed to be a cheap and quick, even automatic operation.
This should be possible today; once the very first identity is created (and a corresponding token, containing the capability to authorize additional tokens), subsequent identity claims can be approved through the API by using this token. This is definitely a use case that has been on our mind that we aim to improve based on real-world use.
The
nonce
parameter is required to increase monotonically. This may work well in single-process apps, but is a broken approach in modern distributed apps.E.g. node-bitpay-client uses the current time to seed the
nonce
. This causes failed API requests when several processes are started.The text was updated successfully, but these errors were encountered: