checkpoints-electrum

command module
v0.0.0-...-4b9fe90 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2019 License: MIT Imports: 9 Imported by: 0

README

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

alt text

  • Go 1.10 or 1.11
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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL