Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I've heard block.timestampblock.timestamp can be manipulated by miners, and as I am writing a contract that uses block.timestampblock.timestamp in crucial functions, I am wondering how best to mirror its behavior using block.number
I've heard block.timestamp can be manipulated by miners, and as I am writing a contract that uses block.timestamp in crucial functions, I am wondering how best to mirror its behavior using block.number
I've heard block.timestamp can be manipulated by miners, and as I am writing a contract that uses block.timestamp in crucial functions, I am wondering how best to mirror its behavior using block.number
How do we use block.number (as opposed to block.timestamp) for measuring time?
I've heard block.timestamp can be manipulated by miners, and as I am writing a contract that uses block.timestamp in crucial functions, I am wondering how best to mirror its behavior using block.number