Go to file
2017-03-21 19:42:17 -05:00
addrmgr travis: enable gometalinter (#603) 2017-03-08 15:44:15 -05:00
blockchain Preallocate the exact number of bytes if known. 2017-03-20 21:46:33 -05:00
chaincfg Remove variables for testnet v1. 2017-03-16 20:19:07 -04:00
cmd dcrctl: Be smarter about automatic configuration. 2017-03-20 14:17:06 -04:00
database Remove variables for testnet v1. 2017-03-16 20:19:07 -04:00
dcrec gometalinter: use --vendor to skip ./vendor/ 2017-03-18 14:22:53 -04:00
dcrjson rpcserver: Confirmations -1 when a block is orphan 2017-03-14 14:47:39 -05:00
docs docs: Add chainhash to README.md 2016-11-18 13:07:59 -06:00
limits blockchain: Rework to use new db interface. 2016-08-18 15:42:18 -04:00
mempool Remove variables for testnet v1. 2017-03-16 20:19:07 -04:00
mining multi: Upstream chainhash abstraction sync 2016-11-16 12:48:40 -06:00
peer peer: rename peer.Connect to AssociateConnection 2017-03-21 19:42:17 -05:00
release Initial Decred Commit. 2016-02-07 14:00:12 -05:00
txscript Preallocate the exact number of bytes if known. 2017-03-20 21:46:33 -05:00
wire Preallocate the exact number of bytes if known. 2017-03-20 21:46:33 -05:00
.gitignore glide man 2016-07-15 15:46:43 -05:00
.travis.yml TravisCI: Remove a couple of linters. 2017-03-16 14:07:53 -05:00
blocklogger.go fix singular case for stake transactions (#545) 2017-01-16 12:35:02 -06:00
blockmanager.go travis: enable gometalinter (#603) 2017-03-08 15:44:15 -05:00
chainindexer.go Switch to upstream golang.org/x/crypto (#608) 2017-03-08 11:22:02 -05:00
CHANGES Apply various upstream comment fixes. 2016-05-27 00:35:06 -05:00
config.go Testnet Reset 2017-03-15 19:34:21 -04:00
cpuminer.go gometalinter: use --vendor to skip ./vendor/ 2017-03-18 14:22:53 -04:00
dcrd.go Display Go version next to application versions. (#616) 2017-03-14 09:22:40 -04:00
deps.txt Add 0.11.1 deps to deps.txt. 2015-05-27 10:50:12 -05:00
discovery.go blockchain: Rework to use new db interface. 2016-08-18 15:42:18 -04:00
doc.go blockchain: Rework to use new db interface. 2016-08-18 15:42:18 -04:00
dynamicbanscore_test.go Implement banning based on dynamic ban scores 2016-05-28 00:07:14 -05:00
dynamicbanscore.go multi: Fix several misspellings in the comments. 2016-05-30 12:24:21 -05:00
glide.lock Remove variables for testnet v1. 2017-03-16 20:19:07 -04:00
glide.yaml Switch to upstream golang.org/x/crypto (#608) 2017-03-08 11:22:02 -05:00
goclean.sh gometalinter: use --vendor to skip ./vendor/ 2017-03-18 14:22:53 -04:00
ipc.go Add pipes for parent process IPC. (#311) 2016-08-31 10:45:16 -04:00
LICENSE license: add title 2016-11-18 12:36:40 -06:00
log.go mempool: Refactor mempool code to its own package. 2016-11-29 15:32:22 -06:00
mining_test.go Merge in btcd commit 'e15d3008cfd59756db9570da9e47da6831313196' 2016-09-23 11:17:45 -04:00
mining.go gometalinter: use --vendor to skip ./vendor/ 2017-03-18 14:22:53 -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 Add Go 1.8 support, remove 1.6. (#581) 2017-02-16 17:06:33 -05:00
rpcserver.go Preallocate the exact number of bytes if known. 2017-03-20 21:46:33 -05:00
rpcserverhelp_test.go blockchain: Rework to use new db interface. 2016-08-18 15:42:18 -04:00
rpcserverhelp.go Convert version array to version:bits tuple. (#586) 2017-02-21 12:39:43 -05:00
rpcwebsocket.go rpcserver: Confirmations -1 when a block is orphan 2017-03-14 14:47:39 -05:00
sample-dcrd.conf indexers: Implement optional tx/address indexes. 2016-08-18 15:42:18 -04:00
server.go peer: rename peer.Connect to AssociateConnection 2017-03-21 19:42:17 -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 travis: enable gometalinter (#603) 2017-03-08 15:44:15 -05:00
version.go Differentian dev and release in -V 2017-02-20 09:24:36 -05:00

dcrd

[Build Status] (https://travis-ci.org/decred/dcrd) ![ISC License] (http://img.shields.io/badge/license-ISC-blue.svg)

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

  • Glide

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

    go get -u github.com/Masterminds/glide

Unfortunately, the use of glide 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 glide, 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 glide (create directories as needed):

git clone https://github.com/decred/dcrd $GOPATH/src/github.com/decred/dcrd
cd $GOPATH/src/github.com/decred/dcrd
glide install
go install $(glide nv)

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

cd $GOPATH/src/github.com/decred/dcrd
git pull
glide install
go install $(glide nv)

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

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.