blocto / solana-go-sdk

Solana Golang SDK
https://blocto.github.io/solana-go-sdk/
MIT License
373 stars 96 forks source link

Killing a transaction #63

Closed scottywm closed 2 years ago

scottywm commented 2 years ago

My last concern is transaction duration.

Normally transactions are very quick using Solana but could there ever be a time when for some reason a transaction is going to take a long time to complete and so in this case could we somehow kill the transaction ?

Cheers :)

jchen42703 commented 2 years ago

Solana transactions cannot be cancelled.

yihau commented 2 years ago

all solana transactions follow https://docs.solana.com/developing/programming-model/runtime#compute-budget I don' think you can have a tx take hours even minutes. If you find your txs missing, there is a info you can take a look https://solanacookbook.com/guides/retrying-transactions.html#facts