This is my experimental bitcoin client for learning the basics of bitcoin and go. It is currently not meant to be used for any practical purpose except me learning this stuff. So, use at your own risk. You've been warned!
Run main file:
go run main.go
Run the tests:
go test bitcoin/network -v
Some possibly helpful links...
- Bitcoin protocol: https://en.bitcoin.it/wiki/Protocol_documentation#Common_standards
- Bitcoin dev guide: https://developer.bitcoin.org/devguide/block_chain.html
- Bitcoin dev reference: https://developer.bitcoin.org/reference/rpc/
- Bitcoin nodes: https://bitnodes.io/
- The Bitcoin book: https://github.com/bitcoinbook/bitcoinbook#chapters
- Chapter 8 (network): https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch08.asciidoc
- Bitcoin core source on github: https://github.com/bitcoin/bitcoin
- Go language spec: https://go.dev/ref/spec
- Go standard lib: https://pkg.go.dev/std
- A tour of go: https://go.dev/tour/welcome/1
- The Go language FAQ: https://go.dev/doc/faq