dcrd/dcrjson
2016-08-10 11:53:00 -05:00
..
btcdextcmds_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
btcdextcmds.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
btcwalletextcmds_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
btcwalletextcmds.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
chainsvrcmds_test.go dcrjson/txscript: Merge arm-specific test updates. 2016-05-27 09:48:01 -05:00
chainsvrcmds.go rpcserver: Add filteraddrs param to srt API. 2016-05-25 11:47:19 -05:00
chainsvrresults_test.go Fix VinPrevOut fields for Decred 2016-05-17 17:41:03 -04:00
chainsvrresults.go rpcserver: searchrawtx - update coinbase output (#299) 2016-08-10 11:53:00 -05:00
chainsvrwscmds_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
chainsvrwscmds.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
chainsvrwsntfns_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
chainsvrwsntfns.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
chainsvrwsresults.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
cmdinfo_test.go multi: Fix several misspellings in the comments. 2016-05-30 12:24:21 -05:00
cmdinfo.go multi: Fix several misspellings in the comments. 2016-05-30 12:24:21 -05:00
cmdparse_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
cmdparse.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
CONTRIBUTORS Initial Decred Commit. 2016-02-07 14:00:12 -05:00
dcrdextcmds_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
dcrdextcmds.go Add ticketvwap and txfeeinfo RPC server commands (#145) 2016-04-29 17:13:47 -05:00
dcrdextresults.go Add ticketvwap and txfeeinfo RPC server commands (#145) 2016-04-29 17:13:47 -05:00
dcrwalletextcmds_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
dcrwalletextcmds.go Add rescan and scanfrom options to importprivkey and importscript (#267) 2016-06-03 15:05:09 -05:00
dcrwalletextresults.go Add BlockHeight field to getstakeinfo (#274) 2016-06-28 10:14:48 -05:00
dcrwalletextwsntfns_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
dcrwalletextwsntfns.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
doc.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
error_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
error.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
example_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
export_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
help_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
help.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
helpers_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
helpers.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
jsonerr.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
jsonrpc_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
jsonrpc.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
jsonrpcerr.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
README.md docs: Make various README.md files consistent. 2016-05-20 16:00:12 -05:00
register_test.go multi: Fix several misspellings in the comments. 2016-05-30 12:24:21 -05:00
register.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
walletsvrcmds_test.go Add rescan and scanfrom options to importprivkey and importscript (#267) 2016-06-03 15:05:09 -05:00
walletsvrcmds.go Add rescan and scanfrom options to importprivkey and importscript (#267) 2016-06-03 15:05:09 -05:00
walletsvrresults.go Add transaction type to listtransactions result (#158) 2016-05-09 10:41:38 -05:00
walletsvrwscmds_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
walletsvrwscmds.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
walletsvrwsntfns_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
walletsvrwsntfns.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00

dcrjson

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

Package dcrjson implements concrete types for marshalling to and from the bitcoin JSON-RPC API. A comprehensive suite of tests is provided to ensure proper functionality.

Although this package was primarily written for the decred, it has intentionally been designed so it can be used as a standalone package for any projects needing to marshal to and from bitcoin JSON-RPC requests and responses.

Note that although it's possible to use this package directly to implement an RPC client, it is not recommended since it is only intended as an infrastructure package. Instead, RPC clients should use the dcrrpcclient package which provides a full blown RPC client with many features such as automatic connection management, websocket support, automatic notification re-registration on reconnect, and conversion from the raw underlying RPC types (strings, floats, ints, etc) to higher-level types with many nice and useful properties.

Installation and Updating

$ go get -u github.com/decred/dcrd/dcrjson

Examples

GPG Verification Key

All official release tags are signed by Conformal so users can ensure the code has not been tampered with and is coming from the decred developers. To verify the signature perform the following:

  • Download the public key from the Conformal website at https://opensource.conformal.com/GIT-GPG-KEY-conformal.txt

  • Import the public key into your GPG keyring:

    gpg --import GIT-GPG-KEY-conformal.txt
    
  • Verify the release tag with the following command where TAG_NAME is a placeholder for the specific tag:

    git tag -v TAG_NAME
    

License

Package dcrjson is licensed under the copyfree ISC License.