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
If I sent one name_update after another, electrum returns 500 error for the second one, only first name_update is being executed
Both only works, if I have decent-enough delay between, like 3 seconds or more.
Is it something I need to configure additionally?
The text was updated successfully, but these errors were encountered:
Are you using the broadcast command by itself to send the transactions, or are you also using addtransaction? There is an undocumented race condition in upstream Electrum; the former will only result in your wallet learning about the transaction after the server reports it, which would explain your 3-second minimum. If that's the cause, let me know and I can look into documenting this upstream.
We are using broadcast, so that explains it indeed. Thanks for pointing this out! If we change that to addtransaction, will that automatically broadcast, or do we need to do both of them?
You need to do both; see the implementation of the name_autoregister command for an example. Thanks for confirming this is the cause; I'll check with upstream about documenting this better. (I'll leave this issue open until the documentation is fixed.)
If I sent one name_update after another, electrum returns 500 error for the second one, only first name_update is being executed
Both only works, if I have decent-enough delay between, like 3 seconds or more.
Is it something I need to configure additionally?
The text was updated successfully, but these errors were encountered: