godcr

command module
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: ISC Imports: 31 Imported by: 0

README

godcr

Build Status Tests Status

A cross-platform desktop SPV wallet for decred built with gio.

Building

Note: You need to have Go 1.16 or above to build.

Follow the installation instructions for gio.

Then go build.

Linux

To build godcr on Linux these gio dependencies are required.

Running godcr

General usage

By default, godcr runs on Mainnet network type. However, godcr can run on testnet by issuing commands on the terminal in the format:

godcr [options]
  • Run ./godcr --network=testnet to run godcr on the testnet network.
  • Run godcr -h or godcr help to get general information of commands and options that can be issued on the cli.
  • Use godcr <command> -h or godcr help <command> to get detailed information about a command.

Profiling

Godcr uses pprof for profiling. It creates a web server which you can use to save your profiles. To setup a profiling web server, run godcr with the --profile flag and pass a server port to it as an argument.

So, after running the build command above, run the command

./godcr --profile=6060

You should now have a local web server running on 127.0.0.1:6060.

To save a profile, you can simply use

curl -O localhost:6060/debug/pprof/profile

Contributing

See CONTRIBUTING.md

Other

Earlier experimental work with other user interface toolkits can be found at godcr-old.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
ui
Package wallet provides functions and types for interacting with the dcrlibwallet backend.
Package wallet provides functions and types for interacting with the dcrlibwallet backend.

Jump to

Keyboard shortcuts

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