is there a option to write SCRIPTS that CONDITION OVER THE CURRENT TIME stamp?

0
25


I’m very new to bitcoin scripts, and have to design some excessive stage bitcoin protocols with out sufficient time to actually dive into the small print of the language itself.

Is there a option to write a script that situations on the present time?
one thing like this. the place currentTime stands for the present time stamp.

GivenTimeLimit=8.23.2013

if currentTime<GivenTimeLimit: 
 redeeming requires realizing x s.t h(x)=x (enter is x)
else: 
 redeeming requires realizing x s.t. h(x)=x AND z s.t. h(z)=z (inputs are x and z)

I’m attempting to create a state of affairs the place till time (or date) GivenTimeLimit, just one social gathering p1 can redeem a certain quantity, however after GivenTimeLimit, solely the opposite social gathering, p2, can redeem this quantity. Is that attainable?

Thanks very a lot!



Supply hyperlink

Leave a reply