Hi DAISEE!
What's the rationale for not using the now global (timestamp of the latest block) to deal with timestamps? Right now anyone could call nextTime many times and break the system.
Maybe use something like
contract c {
uint interval;
function currentTime() constant {
return now / interval;
}
}
Cheers :)
Hi DAISEE!
What's the rationale for not using the
nowglobal (timestamp of the latest block) to deal with timestamps? Right now anyone could callnextTimemany times and break the system.Maybe use something like
Cheers :)