Bitcoin Forum
May 04, 2024, 09:13:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: OP_CHECKLOCKTIMEVERIFY / OP_HODL script  (Read 188 times)
MasterQ (OP)
Jr. Member
*
Offline Offline

Activity: 66
Merit: 3


View Profile
January 29, 2018, 04:42:04 PM
Merited by DannyHamilton (2), achow101 (1)
 #1

Can someone please explain how I can use OP_CHECKLOCKTIMEVERIFY or OP_HODL to lock funds until block 600000? I have been searching for a newb friendly script but the only ones I have come across is for nLocktime
1714857214
Hero Member
*
Offline Offline

Posts: 1714857214

View Profile Personal Message (Offline)

Ignore
1714857214
Reply with quote  #2

1714857214
Report to moderator
1714857214
Hero Member
*
Offline Offline

Posts: 1714857214

View Profile Personal Message (Offline)

Ignore
1714857214
Reply with quote  #2

1714857214
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714857214
Hero Member
*
Offline Offline

Posts: 1714857214

View Profile Personal Message (Offline)

Ignore
1714857214
Reply with quote  #2

1714857214
Report to moderator
1714857214
Hero Member
*
Offline Offline

Posts: 1714857214

View Profile Personal Message (Offline)

Ignore
1714857214
Reply with quote  #2

1714857214
Report to moderator
1714857214
Hero Member
*
Offline Offline

Posts: 1714857214

View Profile Personal Message (Offline)

Ignore
1714857214
Reply with quote  #2

1714857214
Report to moderator
mvrcrypto
Newbie
*
Offline Offline

Activity: 9
Merit: 4


View Profile
January 30, 2018, 12:59:00 PM
Merited by DannyHamilton (2), achow101 (1)
 #2

You can get some explanations here with script example: https://github.com/bitcoinbook/bitcoinbook/blob/second_edition/ch07.asciidoc#timelocks.
MasterQ (OP)
Jr. Member
*
Offline Offline

Activity: 66
Merit: 3


View Profile
January 30, 2018, 01:25:06 PM
 #3

Thanks I was looking at that earlier. I am now trying to figure out how to make a transaction like that though. I'm looking for a newb friendly step by step guide.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!