Is it possible to do something on a specific block number? (e.g. publish a contract or execute a transaction)
Asked
Active
Viewed 1,416 times
3
-
This is a related question to http://ethereum.stackexchange.com/q/304/1366 but not an exact duplicate. It may be helpful for people who do not think of this behavior as "waking up." – Raine Revere May 19 '16 at 20:17
-
Yes, I upvoted your question. Main benefit of duplicate is trying to group answers together: there's basically 2 questions: "why it isn't possible" and "workarounds". – eth May 19 '16 at 20:58
1 Answers
0
Transactions are not guaranteed to happen on the next block or any future specific block, since it is up to the miners to include transactions and not up to the submitter of the transaction. This applies to function calls/transactions and contract creation transactions.
If you want to schedule future calls of your contract, you can use the Ethereum alarm clock.
Retrieved from: http://solidity.readthedocs.io/en/latest/frequently-asked-questions.html
Raine Revere
- 3,600
- 2
- 23
- 34