Porting the code from this book to another language would also be a great learning tool.
writes Jimmy Song in Programming Bitcoin 1 on page 250.
So this is a Java implementation of it.
As this is the most popular application of Bitcoin, creating a wallet will give you a lot of insight into users' needs.
writes Jimmy Song in Programming Bitcoin 1 on page 249.
So there is also a wallet, based on the Electrum protocol, included.
run tests with maven
mvn clean test
mvn test -Dtest=Chapter7Test
mvn test -Dtest=Chapter7Test#exercise4
- network tests work only with a peer @ localhost
mvn test -Dnetwork=true
mvn test -Dtest=SimpleNodeTest#handshake -Dnetwork=true
mvn test -Dtest=Chapter10Test#example2 -Dnetwork=true
mvn test -Dtest=Chapter7Test#verifyBiggestTransaction -Ddisabled=false