Go to file
Dave Collins f0a01ced0a
sampleconfig: Add package README and doc.go.
This adds a readme and doc.go for the sampleconfig package so it is
consistent with all of the other packages.

While here, it also changes the exported value to a constant and removes
the unused sampleConfigFilename constant.
2017-08-25 12:35:11 -05:00
addrmgr remove deadcode 2017-07-17 15:06:47 -05:00
blockchain blockchain: cast to int64. (#817) 2017-08-15 17:14:28 -04:00
chaincfg Use dchest/blake256 (#827) 2017-08-22 12:55:35 -04:00
cmd Bump for v1.0.8 (#832) 2017-08-24 16:15:38 -05:00
connmgr all: Remove seelog logger. 2017-06-20 10:58:10 -04:00
database multi: Error descriptions should be lowercase 2017-08-15 14:36:51 -05:00
dcrec dcrec: use hardcoded datasets in tests. 2017-08-21 13:35:52 -05:00
dcrjson dcrjson: add unconfirmed field. (#812) 2017-08-15 14:07:31 -05:00
docs docs: rpcapi format update. 2017-08-18 13:54:58 -05:00
limits blockchain: Rework to use new db interface. 2016-08-18 15:42:18 -04:00
mempool Only perform standard dust checks on regular transactions. 2017-08-08 14:40:48 -04:00
mining multi: Update markdown in README files to match change in github parser. 2017-05-26 12:06:19 -04:00
peer multi: Optimize by removing defers 2017-08-02 10:35:21 -05:00
release Add example service files. 2017-03-23 02:07:08 -05:00
rpctest rpctest: Store logs and data in same path. 2017-08-04 02:18:58 -05:00
sampleconfig sampleconfig: Add package README and doc.go. 2017-08-25 12:35:11 -05:00
txscript txscript: remove unneeded API 2017-08-17 15:42:04 -04:00
wire multi: Error descriptions should be lowercase 2017-08-15 14:36:51 -05:00
.dockerignore Run testing and linting in a Dockerfile. 2017-05-30 11:39:19 -04:00
.gitignore Add new tool, promptsecret (#649) 2017-03-31 14:00:18 -04:00
.travis.yml Tell travis not to run install step. 2017-06-06 12:54:31 -04:00
blocklogger.go Remove STransactions from transactions listing, update order (tickets, votes, revokes) 2017-08-15 14:32:53 -05:00
blockmanager.go blockmanager: remove unused logBlockHeight 2017-08-03 15:37:26 -04:00
CHANGES Apply various upstream comment fixes. 2016-05-27 00:35:06 -05:00
config.go sampleconfig: Add package README and doc.go. 2017-08-25 12:35:11 -05:00
cpuminer.go adjust for dcrutil Block changes. (#700) 2017-05-18 16:42:56 -04:00
dcrd.go all: Remove seelog logger. 2017-06-20 10:58:10 -04:00
doc.go config: Add --whitelist option 2017-07-24 15:39:23 -04:00
glide.lock Use dchest/blake256 (#827) 2017-08-22 12:55:35 -04:00
glide.yaml Use dchest/blake256 (#827) 2017-08-22 12:55:35 -04:00
ipc.go remove deadcode 2017-07-17 15:06:47 -05:00
LICENSE license: add title 2016-11-18 12:36:40 -06:00
log.go Update deps to pull in additional logging changes. 2017-06-28 14:58:20 -04:00
mining_test.go remove deadcode 2017-07-17 15:06:47 -05:00
mining.go blockchain: Remove exported CalcPastTimeMedian func. 2017-07-27 13:05:55 -05: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 Move Dockerfiles to decred/dcrdocker repo. 2017-07-03 00:28:39 -05:00
rpcserver_test.go rpctest: Gate rpctest-based behind a build tag. 2017-07-26 12:43:26 -05:00
rpcserver.go rpcserver: check whether ticketUtx was found (#824) 2017-08-18 14:27:21 -05:00
rpcserverhelp_test.go blockchain: Rework to use new db interface. 2016-08-18 15:42:18 -04:00
rpcserverhelp.go rpcserverhelp: update TicketFeeInfo help. 2017-08-06 23:16:29 +00:00
rpcwebsocket.go multi: Optimize by removing defers 2017-08-02 10:35:21 -05:00
run_tests.sh rpctest: Gate rpctest-based behind a build tag. 2017-07-26 12:43:26 -05:00
server.go mempool/wire: Don't make policy decisions in wire. 2017-08-05 15:49:55 -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 Bump for v1.0.8 (#832) 2017-08-24 16:15:38 -05: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

  • 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.

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.7

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.