I have a contract which I need to update occasionally.
This update has nothing to do with "real money transfer".
It deals only with the value of a state (global) variable in my contract.
Also, I am the only one who can change this state variable (protected with an onlyOwner
modifier).
My general question is:
Do I need to worry about the status of this transaction in any way whatsoever?
For example, do I need to keep the receipt and check that it is still valid after 12 blocks?
More specifically, do I need to worry about this transaction not taking place because it coincidentally went into a block which also contained a "double-spending" transaction and was forked out of the chain due to that?
In other words, with regards to that block - does everybody need to worry about their transactions, or only the one who issued the "double-spending" transaction?
I found this post, which more or less refers to some of my concerns.
However, the answer does not refer to one specific question in that post, which happens to be exactly what I'm asking here:
What if it was included in some block, but then the block gets orphaned? Will my transaction be "removed"?
Thank you very much!