Timelock Transactions

Absolute TimelocknLockTimePart of the original Bitcoin implementation, nLockTime is a field that specifies the earliest time a transaction may be added to a valid block. A later Bitcoin soft fork allowed nLockTime to alternatively specify the lowest block height a transaction may be added to a valid block.Although every…

Read More

Comments

Bitcoin Script Puzzles

Bitcoin scripts can be puzzles of any sort and they don't actually have to depend on the knowledge of a secret key. Complex scripts are replaced by shorter fingerprints in the transaction output, which allows for smaller transaction and less fees.Scripts can be hashed and encoded as a bitcoin…

Read More

Comments

Embedding Data with OP_RETURN

To follow along this tutorial and enter the commands step-by-step Type node in a terminal after cd into ./code for a Javascript prompt Open the Bitcoin Core GUI console or use bitcoin-cli for the Bitcoin Core commands Use bx aka Libbitcoin-explorer as a handy complement Let's store for eternity some…

Read More

Comments

Native Segwit P2WPKH

Read more about P2WPKH in BIP141 P2WPKH is the native Segwit version of a Pay to Public Key hash. The scripts and script data are spread out as follows witness: <signature> <pubkey> scriptSig: (empty) scriptPubKey: 0 <20-byte-key-hash> Each Bitcoin full node will parse the…

Read More

Comments