6.3. Peer Server Handler – Multithreading requests
6.3.1 Peer Request Thread
6.4. Mining Thread
Summary . . . . . . . . . . . . . . . . .
Spiro Buzharovski is a full-stack software developer in the IT sector. He has a degree in mechanical engineering and has worked as an engineer in the oil and gas sector for more than six years. His interests include Java frameworks, blockchain, and the latest high-tech trends. Inspiration for this book came while working as a technical reviewer on the Apress book by Boro Sitnikovski, Introducing Blockchain with Lisp: Implement and Extend Blockchains with the Racket Language.
Create your own crypto currency by implementing blockchain technology using Java. This step-by-step guide will teach you how to create a user interface using Java FX and implement SQLite DB using JDBC Driver for the blockchain.
Introducing Blockchain with Java includes numerous exercises and test questions to help you solidify what you have learned as you progress through the book, and provides ideas on expanding the codebase to make it your own. You will have access to a fully-functioning repository with Java code.
Upon completing this book, you will have the knowledge necessary to program your own blockchains with Java and you will have a completed project for your portfolio.
You will:
Know the most important theoretical concepts of the blockchain
Code the blockchain in Java
Create a user interface with JavaFX
Implement SQLite DB using JDBC Driver
Create a P2P multi-threaded app
Create your own cryptocurrency app with full functionality
Implement blockchain technology on a P2P network from scratch using Java, JavaFX, and SQL