Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Foundations of Blockchain

You're reading from  Foundations of Blockchain

Product type Book
Published in Jan 2019
Publisher Packt
ISBN-13 9781789139396
Pages 372 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Koshik Raj Koshik Raj
Profile icon Koshik Raj
Toc

Table of Contents (14) Chapters close

Preface 1. Introduction 2. A Bit of Cryptography 3. Cryptography in Blockchain 4. Networking in Blockchain 5. Cryptocurrency 6. Diving into Blockchain - Proof of Existence 7. Diving into Blockchain - Proof of Ownership 8. Blockchain Projects 9. Blockchain Optimizations and Enhancements 10. Blockchain Security 11. When Shouldn't We Use Blockchain? 12. Blockchain Use Cases 13. Other Books You May Enjoy

What can we store on a blockchain?

We previously compared blockchains with databases and analyzed their respective properties to evaluate their suitability before selecting one as our storage mechanism. We have assumed that a blockchain can store similar information that can be inserted into a database. Although it is possible to insert any data into a blockchain, it is not the preferred storage mechanism for static data. In this section, we will list out a few of the constraints on storing data on a blockchain.

Storing data as transactions

The data on a blockchain is stored in the form of atomic events called transactions. In a cryptocurrency such as Bitcoin, transactions contain scripts that help to transfer assets. However...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}