合同到期日与使用开采的区块编号

Contract expiration dates vs using mined block number

如果我想让一堆合约同时到期,比如所有合约都在 3 月 30 日中午 12 点到期,是否可以这样做?还是说它们在区块号 X 过期更安全?

我在这里找到了一些信息:https://ethereum.stackexchange.com/questions/25170/how-to-do-a-contract-with-expire-time。看起来时间戳可以被操纵,所以你应该避免使用它。 https://ethereum.stackexchange.com/questions/15047/solidity-timestamp-dependency-is-it-possible-to-do-safely/15049