Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Foundations of Blockchain

You're reading from   Foundations of Blockchain The pathway to cryptocurrencies and decentralized blockchain applications

Arrow left icon
Product type Paperback
Published in Jan 2019
Publisher Packt
ISBN-13 9781789139396
Length 372 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Koshik Raj Koshik Raj
Author Profile Icon Koshik Raj
Koshik Raj
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Introduction 2. A Bit of Cryptography FREE CHAPTER 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

Blockchain

The blockchain in Bitcoin is a collection of an ordered lists of blocks that connects the previous block with the hash pointer. Bitcoin uses Google's LevelDB database to store the blockchain metadata. The identity of each block is created by using the SHA256 hash value of the block header, and this block hash is stored in the block header of the next block in the blockchain in order to form a link.

Block structure

The data structure of a Bitcoin block holds a collection of transactions and metadata information about the block. A block is made up of a header and body, which consists of all the transactions. A block holds more than 500 transactions, on average.

Table 5.2 shows all the fields that are included...

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 €18.99/month. Cancel anytime