Skip to Content
Foundations of Blockchain
book

Foundations of Blockchain

by Koshik Raj
January 2019
Beginner to intermediate
372 pages
11h 17m
English
Packt Publishing
Content preview from Foundations of Blockchain

Transaction input and output

Transactions are primarily constructed with input and output. Each transaction can have multiple inputs and outputs. Unlike account-based bookkeeping, Bitcoin needs to keep track of the output of every transaction. A node needs to have all the transaction output information in order to know the spendable balance of an account. The output can later be referenced in a transaction's input whenever a user wants to spend their cryptocurrency. This output consists of indivisible chunks of currency and can only be broken down after they are consumed in a transaction. The output that is not referenced in any of the transaction's input is referred to as unspent transaction output or UTXO.

Whenever a user wants to spend ...

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

Blockchain Basics

Blockchain Basics

Daniel Drescher
What Is Blockchain?

What Is Blockchain?

Sir John Hargrave, Evan Karnoupakis
Mastering Blockchain

Mastering Blockchain

Lorne Lantz, Daniel Cawrey

Publisher Resources

ISBN: 9781789139396Supplemental Content