Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.
Sign up to join this communityAnybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
What happened if I translate to network transaction with the folowing redeem script:
[now + 3 months] CHECKLOCKTIMEVERIFY DROP DUP HASH160 [Bob's Public Key Hash] EQUALVERIFY CHECKSIG
- This tx will be accepted (included in block) and after 3 month Bob can spend bitcoins?
- Transaction will be rejected, and can only be accepted by the network when 3 month is reached?
- Transaction will be accepted immediatly, but can be confirmed (included in block) after 3 month ?
Does it depends to input script (scriptsig)? If yes, can you provide an example pls? According to wiki, I just need to push some value to stack?
A transaction with a CLTV output can be created at any time, and can be accepted and confirmed immediately.
Spending such an output requires a transaction whose nLocktime field is at least the CLTV-specified time. That transaction will only be accepted and confirmed when its nLocktime field matches the real time.
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments