Go to file
Dave Collins 6fcd077696
stake: Override false positive vet error.
This adds a directive to instruct gometalinter to ignore a false
positive produced by vet.  The code in question intentionally makes use
of the property vet is warning about.
2018-01-06 19:23:23 -06:00
addrmgr travis: add ineffassign linter 2017-12-01 09:14:04 -05:00
blockchain stake: Override false positive vet error. 2018-01-06 19:23:23 -06:00
bloom travis: add ineffassign linter 2017-12-01 09:14:04 -05:00
certgen certgen: Add doc.go and README.md (#883) 2017-10-11 11:32:50 -04:00
chaincfg sec256k1: update func signatures. 2017-12-21 19:38:42 -06:00
cmd Bump for v1.1.2 2017-11-20 18:53:16 -06:00
connmgr travis: add ineffassign linter 2017-12-01 09:14:04 -05:00
database multi: remove unused funcs and vars 2017-12-07 21:46:25 -06:00
dcrec sec256k1: update func signatures. 2017-12-21 19:38:42 -06:00
dcrjson dcrjson: update handleSendRawTransaction error handling. (#939) 2017-12-08 09:04:53 -05:00
dcrutil txsort: Implement stable tx sorting package. 2017-12-08 11:22:21 -06:00
docs docs: Add fullblocktests entry and minor consistency updates 2017-12-31 12:25:01 +00:00
hdkeychain travis: add gosimple linter 2017-11-20 18:49:55 -06:00
limits blockchain: Rework to use new db interface. 2016-08-18 15:42:18 -04:00
mempool sec256k1: update func signatures. 2017-12-21 19:38:42 -06:00
mining Merge remaining dcrutil code into a dcrd package. 2017-10-11 22:06:36 -04:00
peer txscript: Remove OP_SMALLDATA 2017-12-29 19:57:26 +00:00
release Add example service files. 2017-03-23 02:07:08 -05:00
rpcclient rpcclient: json unmarshal into unexported embedded pointer 2017-12-08 11:20:35 -06:00
rpctest rpctest: Choose flags based on provided params. 2017-12-05 15:44:01 +00:00
sampleconfig extend --profile cmd line option to allow interface to be specified 2017-09-09 15:26:37 +10:00
txscript txscript: Remove OP_SMALLDATA 2017-12-29 19:57:26 +00:00
wire travis: add ineffassign linter 2017-12-01 09:14:04 -05:00
.dockerignore Run testing and linting in a Dockerfile. 2017-05-30 11:39:19 -04:00
.gitignore Import dcrutil repo under dcrutil directory. 2017-10-11 21:29:08 -04:00
.travis.yml travis: set GOVERSION environment properly 2018-01-02 13:51:39 -06:00
blocklogger.go Merge remaining dcrutil code into a dcrd package. 2017-10-11 22:06:36 -04:00
blockmanager.go multi: remove unused funcs and vars 2017-12-07 21:46:25 -06:00
CHANGES Apply various upstream comment fixes. 2016-05-27 00:35:06 -05:00
config.go Merge remaining dcrutil code into a dcrd package. 2017-10-11 22:06:36 -04:00
cpuminer.go Merge remaining dcrutil code into a dcrd package. 2017-10-11 22:06:36 -04:00
dcrd.go config: add --nofilelogging option. 2017-10-04 14:44:13 -05:00
doc.go Import dcrutil repo under dcrutil directory. 2017-10-11 21:29:08 -04:00
Gopkg.lock Use upstream jrick/bitset (#899) 2017-10-13 09:47:26 -04:00
Gopkg.toml Use upstream jrick/bitset (#899) 2017-10-13 09:47:26 -04:00
ipc.go travis: add ineffassign linter 2017-12-01 09:14:04 -05:00
LICENSE Import dcrutil repo under dcrutil directory. 2017-10-11 21:29:08 -04:00
log.go multi: remove unused funcs and vars 2017-12-07 21:46:25 -06:00
mining_test.go mining_test: add edge conditions from btcd. 2017-08-31 00:28:36 -05:00
mining.go Merge remaining dcrutil code into a dcrd package. 2017-10-11 22:06:36 -04:00
miningerror.go blockchain: Rework to use new db interface. 2016-08-18 15:42:18 -04:00
params.go Remove variables for testnet v1. 2017-03-16 20:19:07 -04:00
README.md update go version for example test run in readme 2017-12-04 13:05:15 -06:00
rpcserver_test.go rpctest: Gate rpctest-based behind a build tag. 2017-07-26 12:43:26 -05:00
rpcserver.go rpcserver: remove redundant checks in blockTemplateResult. 2017-12-21 19:44:40 -06:00
rpcserverhelp_test.go blockchain: Rework to use new db interface. 2016-08-18 15:42:18 -04:00
rpcserverhelp.go rpc: Add localaddr and relaytxes to getpeerinfo 2017-11-29 22:21:17 +00:00
rpcwebsocket.go Merge remaining dcrutil code into a dcrd package. 2017-10-11 22:06:36 -04:00
run_tests.sh stake: Override false positive vet error. 2018-01-06 19:23:23 -06:00
server.go travis: add ineffassign linter 2017-12-01 09:14:04 -05:00
service_windows.go dcrd: Simplify shutdown signal handling logic sync. 2016-11-18 12:06:55 -06:00
signal.go dcrd: Simplify shutdown signal handling logic sync. 2016-11-18 12:06:55 -06:00
signalsigterm.go Add pipes for parent process IPC. (#311) 2016-08-31 10:45:16 -04:00
upnp.go multi: Error descriptions are in lower case. 2017-09-08 18:03:59 +02:00
version.go Bump for v1.1.2 2017-11-20 18:53:16 -06:00

dcrd

Build Status ISC License GoDoc

dcrd is a Decred full node implementation written in Go (golang).

This acts as a chain daemon for the Decred cryptocurrency. dcrd maintains the entire past transactional ledger of Decred and allows relaying of transactions to other Decred nodes across the world. To read more about Decred please see the project documentation.

Note: To send or receive funds and join Proof-of-Stake mining, you will also need dcrwallet.

This project is currently under active development and is in a Beta state. It is extremely stable and has been in production use since February 2016.

It is forked from btcd which is a bitcoin full node implementation written in Go. btcd is a ongoing project under active development. Because dcrd is constantly synced with btcd codebase, it will get the benefit of btcd's ongoing upgrades to peer and connection handling, database optimization and other blockchain related technology improvements.

Requirements

Go 1.7 or newer.

Getting Started

  • dcrd (and utilities) will now be installed in either $GOROOT/bin or $GOPATH/bin depending on your configuration. If you did not already add the bin directory to your system path during Go installation, we recommend you do so now.

Updating

Windows

Install a newer MSI

Linux/BSD/MacOSX/POSIX - Build from Source

  • Dep

    Dep is used to manage project dependencies and provide reproducible builds. To install:

    go get -u github.com/golang/dep/cmd/dep

Unfortunately, the use of dep prevents a handy tool such as go get from automatically downloading, building, and installing the source in a single command. Instead, the latest project and dependency sources must be first obtained manually with git and dep, and then go is used to build and install the project.

Getting the source:

For a first time installation, the project and dependency sources can be obtained manually with git and dep (create directories as needed):

git clone https://github.com/decred/dcrd $GOPATH/src/github.com/decred/dcrd
cd $GOPATH/src/github.com/decred/dcrd
dep ensure
go install . ./cmd/...

To update an existing source tree, pull the latest changes and install the matching dependencies:

cd $GOPATH/src/github.com/decred/dcrd
git pull
dep ensure
go install . ./cmd/...

For more information about decred and how to set up your software please go to our docs page at docs.decred.org.

Docker

All tests and linters may be run in a docker container using the script run_tests.sh. This script defaults to using the current supported version of go. You can run it with the major version of go you would like to use as the only arguement to test a previous on a previous version of go (generally decred supports the current version of go and the previous one).

./run_tests.sh 1.8

To run the tests locally without docker:

./run_tests.sh local

Contact

If you have any further questions you can find us at:

  • irc.freenode.net (channel #decred)
  • webchat
  • forum.decred.org
  • decred.slack.com

Issue Tracker

The integrated github issue tracker is used for this project.

Documentation

The documentation is a work-in-progress. It is located in the docs folder.

License

dcrd is licensed under the copyfree ISC License.