Skip to Content
Mastering Blockchain - Second Edition
book

Mastering Blockchain - Second Edition

by Ankur Daharwal, Imran Bashir, Pranav Burnwal
March 2018
Beginner to intermediate
656 pages
20h 9m
English
Packt Publishing
Content preview from Mastering Blockchain - Second Edition

Transaction verification

This verification process is performed by Bitcoin nodes. The following is described in the Bitcoin developer guide:

  1. Check the syntax and ensure that the syntax and data structure of the transaction conforms to the rules provided by the protocol.
  2. Verify that no transaction inputs and outputs are empty.
  3. Check whether the size in bytes is less than the maximum block size.
  4. The output value must be in the allowed money range (0 to 21 million BTC).
  5. All inputs must have a specified previous output, except for coinbase transactions, which should not be relayed.
  6. Verify that nLockTime must not exceed 31-bits. (nLockTime specifies the time before which transaction will not be included in the block.)
  7. For a transaction to be valid, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Blockchain - Third Edition

Mastering Blockchain - Third Edition

Imran Bashir
Mastering Blockchain

Mastering Blockchain

Lorne Lantz, Daniel Cawrey
Mastering Ethereum

Mastering Ethereum

Andreas M. Antonopoulos, Gavin Wood

Publisher Resources

ISBN: 9781788839044Supplemental Content