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…
series
Multi-signature Transactions
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…
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…
Native Segwit P2WPKH
Legacy pay to public key hash
P2PKH is the standard and most common output type until now, used before the Segregated Witness soft fork, that Pays To PubKey Hash (P2PKH). A P2PKH contains instructions which allow anyone to spend that output if they can prove they control the private key corresponding to the hashed public key.…