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
Stacks transactions done over Bitcoin are always stored with nonce = 0 on the API DB. This, however, can cause problems if it was the first executed transaction for an account because the "next possible nonce" reported by the nonces endpoint would be shown as 1.
We should either make those synthetic transaction nonces be null or -1 or we should ignore them from the next nonce calculation query.
A related idea is to add a synthetic boolean column to the transactions table to mark these transactions and avoid them during nonce calculations
The text was updated successfully, but these errors were encountered:
Stacks transactions done over Bitcoin are always stored with nonce = 0 on the API DB. This, however, can cause problems if it was the first executed transaction for an account because the "next possible nonce" reported by the nonces endpoint would be shown as
1
.We should either make those synthetic transaction nonces be
null
or-1
or we should ignore them from the next nonce calculation query.A related idea is to add a
synthetic
boolean column to the transactions table to mark these transactions and avoid them during nonce calculationsThe text was updated successfully, but these errors were encountered: