checkpoints-electrum
This tool is written to generate the checkpoints.json file which is used in Electrum for Bitcoin
and other altcoins with an electrum client.
A checkpoints.json file can be found in electrum clients. For Bitcoin: https://github.com/spesmilo/electrum/blob/a8e6eaa247a7a21cba1d23bf72ae9799cbc0cd73/electrum/checkpoints.json
Minimum Recommended Specifications
setup
cd ~/go/src/github.com/
https://github.com/romanornr/checkpoints-electrum.git
cd checkpoints-electrum
dep ensure
dep is a dependency management tool for Go. It requires Go 1.9 or newer to compile.
https://github.com/golang/dep
config.yml
change the host, port, username & password so it matches your RPC credentials.
Running the app
You can run the app by using the following command:
go run main.go
Or you can build the binary with the following command
go build main.go
This will produce a binary called "main" wich you can rename and for example upload
on the server with scp as example. With the compiled binary, your linux
server/vps does not need the dependency's. The server/VPS that will run the binary
does not need to have Golang installed at all.
The machine that will compile does need Golang installed and all dependency's (use dep).
License
This tool is released under the terms of the MIT license. See COPYING for more
information or see https://opensource.org/licenses/MIT.