Hi,
I'm developing web application using Multichain's multisig. End user receives list of partially signed transactions and he able to sign them. Once he clicks "Sign" button on the UI my application performs signrawtransaction and sendrawtransaction .
The problem is that if user clicks "Sign" multiple times in row (for different transactions), multiple requests start executing sendrawtransaction and some of them fail with RPC_TRANSACTION_ALREADY_IN_CHAIN error code.
I tried to re-execute signature for failed transactions via multichain-cli but got the same error RPC_TRANSACTION_ALREADY_IN_CHAIN .
Getting failed transaction by txid via getrawtransaction results in RPC_TX_NOT_FOUND .
If user keep some delay (confirmation delay I guess) between signatures then everything is fine.
So concurrency should be handled in application and Multichain doesn't do that for us, right?