From 6b3c3c7498cb901b1c5c2a9e4b23855fe64d52be Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 19 Feb 2015 01:53:49 -0600 Subject: [PATCH] Import btcjson repo into btcjson directory. This commit contains the entire btcjson repository along with several changes needed to move all of the files into the btcjson directory in order to prepare it for merging. This does NOT update btcd or any of the other packages to use the new location as that will be done separately. - All import paths in the old btcjson test files have been changed to the new location - The coveralls badge has been removed since it unfortunately doesn't support coverage of sub-packages This is ongoing work toward #214. --- .gitignore | 33 -- .travis.yml | 20 - LICENSE | 13 - CONTRIBUTORS => btcjson/CONTRIBUTORS | 0 README.md => btcjson/README.md | 24 +- cmdhelp.go => btcjson/cmdhelp.go | 0 doc.go => btcjson/doc.go | 0 internal_test.go => btcjson/internal_test.go | 0 jsonapi.go => btcjson/jsonapi.go | 0 jsonapi_test.go => btcjson/jsonapi_test.go | 2 +- jsoncmd.go => btcjson/jsoncmd.go | 0 jsoncmd_test.go => btcjson/jsoncmd_test.go | 0 jsonerr.go => btcjson/jsonerr.go | 0 jsonfxns.go => btcjson/jsonfxns.go | 0 jsonfxns_test.go => btcjson/jsonfxns_test.go | 2 +- jsonresults.go => btcjson/jsonresults.go | 0 .../jsonresults_test.go | 2 +- {v2 => btcjson/v2}/btcjson/btcdextcmds.go | 0 .../v2}/btcjson/btcdextcmds_test.go | 2 +- .../v2}/btcjson/btcwalletextcmds.go | 0 .../v2}/btcjson/btcwalletextcmds_test.go | 2 +- {v2 => btcjson/v2}/btcjson/chainsvrcmds.go | 0 .../v2}/btcjson/chainsvrcmds_test.go | 2 +- {v2 => btcjson/v2}/btcjson/chainsvrresults.go | 0 .../v2}/btcjson/chainsvrresults_test.go | 2 +- {v2 => btcjson/v2}/btcjson/chainsvrwscmds.go | 0 .../v2}/btcjson/chainsvrwscmds_test.go | 2 +- {v2 => btcjson/v2}/btcjson/chainsvrwsntfns.go | 0 .../v2}/btcjson/chainsvrwsntfns_test.go | 2 +- {v2 => btcjson/v2}/btcjson/cmdinfo.go | 0 {v2 => btcjson/v2}/btcjson/cmdinfo_test.go | 2 +- {v2 => btcjson/v2}/btcjson/cmdparse.go | 0 {v2 => btcjson/v2}/btcjson/cmdparse_test.go | 2 +- {v2 => btcjson/v2}/btcjson/error.go | 0 {v2 => btcjson/v2}/btcjson/error_test.go | 2 +- {v2 => btcjson/v2}/btcjson/export_test.go | 0 {v2 => btcjson/v2}/btcjson/help.go | 0 {v2 => btcjson/v2}/btcjson/help_test.go | 2 +- {v2 => btcjson/v2}/btcjson/helpers.go | 0 {v2 => btcjson/v2}/btcjson/helpers_test.go | 2 +- {v2 => btcjson/v2}/btcjson/jsonrpc.go | 0 {v2 => btcjson/v2}/btcjson/jsonrpc_test.go | 2 +- {v2 => btcjson/v2}/btcjson/jsonrpcerr.go | 0 {v2 => btcjson/v2}/btcjson/register.go | 0 {v2 => btcjson/v2}/btcjson/register_test.go | 2 +- {v2 => btcjson/v2}/btcjson/walletsvrcmds.go | 0 .../v2}/btcjson/walletsvrcmds_test.go | 2 +- .../v2}/btcjson/walletsvrresults.go | 0 {v2 => btcjson/v2}/btcjson/walletsvrwscmds.go | 0 .../v2}/btcjson/walletsvrwscmds_test.go | 2 +- .../v2}/btcjson/walletsvrwsntfns.go | 0 .../v2}/btcjson/walletsvrwsntfns_test.go | 2 +- cov_report.sh | 17 - goclean.sh | 40 -- test_coverage.txt | 430 ------------------ 55 files changed, 29 insertions(+), 586 deletions(-) delete mode 100644 .gitignore delete mode 100644 .travis.yml delete mode 100644 LICENSE rename CONTRIBUTORS => btcjson/CONTRIBUTORS (100%) rename README.md => btcjson/README.md (77%) rename cmdhelp.go => btcjson/cmdhelp.go (100%) rename doc.go => btcjson/doc.go (100%) rename internal_test.go => btcjson/internal_test.go (100%) rename jsonapi.go => btcjson/jsonapi.go (100%) rename jsonapi_test.go => btcjson/jsonapi_test.go (99%) rename jsoncmd.go => btcjson/jsoncmd.go (100%) rename jsoncmd_test.go => btcjson/jsoncmd_test.go (100%) rename jsonerr.go => btcjson/jsonerr.go (100%) rename jsonfxns.go => btcjson/jsonfxns.go (100%) rename jsonfxns_test.go => btcjson/jsonfxns_test.go (97%) rename jsonresults.go => btcjson/jsonresults.go (100%) rename jsonresults_test.go => btcjson/jsonresults_test.go (99%) rename {v2 => btcjson/v2}/btcjson/btcdextcmds.go (100%) rename {v2 => btcjson/v2}/btcjson/btcdextcmds_test.go (98%) rename {v2 => btcjson/v2}/btcjson/btcwalletextcmds.go (100%) rename {v2 => btcjson/v2}/btcjson/btcwalletextcmds_test.go (99%) rename {v2 => btcjson/v2}/btcjson/chainsvrcmds.go (100%) rename {v2 => btcjson/v2}/btcjson/chainsvrcmds_test.go (99%) rename {v2 => btcjson/v2}/btcjson/chainsvrresults.go (100%) rename {v2 => btcjson/v2}/btcjson/chainsvrresults_test.go (96%) rename {v2 => btcjson/v2}/btcjson/chainsvrwscmds.go (100%) rename {v2 => btcjson/v2}/btcjson/chainsvrwscmds_test.go (99%) rename {v2 => btcjson/v2}/btcjson/chainsvrwsntfns.go (100%) rename {v2 => btcjson/v2}/btcjson/chainsvrwsntfns_test.go (99%) rename {v2 => btcjson/v2}/btcjson/cmdinfo.go (100%) rename {v2 => btcjson/v2}/btcjson/cmdinfo_test.go (99%) rename {v2 => btcjson/v2}/btcjson/cmdparse.go (100%) rename {v2 => btcjson/v2}/btcjson/cmdparse_test.go (99%) rename {v2 => btcjson/v2}/btcjson/error.go (100%) rename {v2 => btcjson/v2}/btcjson/error_test.go (97%) rename {v2 => btcjson/v2}/btcjson/export_test.go (100%) rename {v2 => btcjson/v2}/btcjson/help.go (100%) rename {v2 => btcjson/v2}/btcjson/help_test.go (99%) rename {v2 => btcjson/v2}/btcjson/helpers.go (100%) rename {v2 => btcjson/v2}/btcjson/helpers_test.go (97%) rename {v2 => btcjson/v2}/btcjson/jsonrpc.go (100%) rename {v2 => btcjson/v2}/btcjson/jsonrpc_test.go (98%) rename {v2 => btcjson/v2}/btcjson/jsonrpcerr.go (100%) rename {v2 => btcjson/v2}/btcjson/register.go (100%) rename {v2 => btcjson/v2}/btcjson/register_test.go (99%) rename {v2 => btcjson/v2}/btcjson/walletsvrcmds.go (100%) rename {v2 => btcjson/v2}/btcjson/walletsvrcmds_test.go (99%) rename {v2 => btcjson/v2}/btcjson/walletsvrresults.go (100%) rename {v2 => btcjson/v2}/btcjson/walletsvrwscmds.go (100%) rename {v2 => btcjson/v2}/btcjson/walletsvrwscmds_test.go (99%) rename {v2 => btcjson/v2}/btcjson/walletsvrwsntfns.go (100%) rename {v2 => btcjson/v2}/btcjson/walletsvrwsntfns_test.go (99%) delete mode 100644 cov_report.sh delete mode 100755 goclean.sh delete mode 100644 test_coverage.txt diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 16e35934..00000000 --- a/.gitignore +++ /dev/null @@ -1,33 +0,0 @@ -# Temp files -*~ - -# Databases -btcd.db -*-shm -*-wal - -# Log files -*.log - -# Compiled Object files, Static and Dynamic libs (Shared Objects) -*.o -*.a -*.so - -# Folders -_obj -_test - -# Architecture specific extensions/prefixes -*.[568vq] -[568vq].out - -*.cgo1.go -*.cgo2.c -_cgo_defun.c -_cgo_gotypes.go -_cgo_export.* - -_testmain.go - -*.exe diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f57343e1..00000000 --- a/.travis.yml +++ /dev/null @@ -1,20 +0,0 @@ -language: go -go: - - 1.3.3 - - 1.4.1 -sudo: false -before_install: - - gotools=golang.org/x/tools - - if [ "$TRAVIS_GO_VERSION" = "release" ]; then gotools=code.google.com/p/go.tools; fi -install: - - go get -d -t -v ./... - - go get -v $gotools/cmd/cover - - go get -v $gotools/cmd/vet - - go get -v github.com/bradfitz/goimports - - go get -v github.com/golang/lint/golint - - go get -v github.com/mattn/goveralls -script: - - export PATH=$PATH:$HOME/gopath/bin - - ./goclean.sh -after_success: - - goveralls -coverprofile=profile.cov -service=travis-ci diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 992dd50d..00000000 --- a/LICENSE +++ /dev/null @@ -1,13 +0,0 @@ -Copyright (c) 2013-2014 Conformal Systems LLC. - -Permission to use, copy, modify, and distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/CONTRIBUTORS b/btcjson/CONTRIBUTORS similarity index 100% rename from CONTRIBUTORS rename to btcjson/CONTRIBUTORS diff --git a/README.md b/btcjson/README.md similarity index 77% rename from README.md rename to btcjson/README.md index 0b0b8085..e3662c6d 100644 --- a/README.md +++ b/btcjson/README.md @@ -1,10 +1,8 @@ btcjson ======= -[![Build Status](https://travis-ci.org/btcsuite/btcjson.png?branch=master)] -(https://travis-ci.org/btcsuite/btcjson) [![Coverage Status] -(https://img.shields.io/coveralls/btcsuite/btcjson.svg)] -(https://coveralls.io/r/btcsuite/btcjson?branch=master) [![ISC License] +[![Build Status](https://travis-ci.org/btcsuite/btcd.png?branch=master)] +(https://travis-ci.org/btcsuite/btcd) [![ISC License] (http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) Package btcjson implements concrete types for marshalling to and from the @@ -12,9 +10,7 @@ bitcoin JSON-RPC API. A comprehensive suite of tests is provided to ensure proper functionality. Package btcjson is licensed under the copyfree ISC license. -This package is one of the core packages from btcd, an alternative full-node -implementation of bitcoin which is under active development by Conformal. -Although it was primarily written for btcd, this package has intentionally been +Although this package was primarily written for btcd, 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. @@ -29,9 +25,9 @@ ints, etc) to higher-level types with many nice and useful properties. ## JSON RPC -Bitcoin provides an extensive API call list to control bitcoind or bitcoin-qt -through JSON-RPC. These can be used to get information from the client or to -cause the client to perform some action. +Bitcoin provides an extensive API call list to control the chain and wallet +servers through JSON-RPC. These can be used to get information from the server +or to cause the server to perform some action. The general form of the commands are: @@ -66,20 +62,20 @@ server, and to handle the replies (putting them in useful Go data structures). ## Documentation [![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)] -(http://godoc.org/github.com/btcsuite/btcjson) +(http://godoc.org/github.com/btcsuite/btcd/btcjson) Full `go doc` style documentation for the project can be viewed online without installing this package by using the GoDoc site -[here](http://godoc.org/github.com/btcsuite/btcjson). +[here](http://godoc.org/github.com/btcsuite/btcd/btcjson). You can also view the documentation locally once the package is installed with the `godoc` tool by running `godoc -http=":6060"` and pointing your browser to -http://localhost:6060/pkg/github.com/btcsuite/btcjson +http://localhost:6060/pkg/github.com/btcsuite/btcd/btcjson ## Installation ```bash -$ go get github.com/btcsuite/btcjson +$ go get github.com/btcsuite/btcd/btcjson ``` ## GPG Verification Key diff --git a/cmdhelp.go b/btcjson/cmdhelp.go similarity index 100% rename from cmdhelp.go rename to btcjson/cmdhelp.go diff --git a/doc.go b/btcjson/doc.go similarity index 100% rename from doc.go rename to btcjson/doc.go diff --git a/internal_test.go b/btcjson/internal_test.go similarity index 100% rename from internal_test.go rename to btcjson/internal_test.go diff --git a/jsonapi.go b/btcjson/jsonapi.go similarity index 100% rename from jsonapi.go rename to btcjson/jsonapi.go diff --git a/jsonapi_test.go b/btcjson/jsonapi_test.go similarity index 99% rename from jsonapi_test.go rename to btcjson/jsonapi_test.go index bf91880b..05800370 100644 --- a/jsonapi_test.go +++ b/btcjson/jsonapi_test.go @@ -11,7 +11,7 @@ import ( "io/ioutil" "testing" - "github.com/btcsuite/btcjson" + "github.com/btcsuite/btcd/btcjson" ) // cmdtests is a table of all the possible commands and a list of inputs, diff --git a/jsoncmd.go b/btcjson/jsoncmd.go similarity index 100% rename from jsoncmd.go rename to btcjson/jsoncmd.go diff --git a/jsoncmd_test.go b/btcjson/jsoncmd_test.go similarity index 100% rename from jsoncmd_test.go rename to btcjson/jsoncmd_test.go diff --git a/jsonerr.go b/btcjson/jsonerr.go similarity index 100% rename from jsonerr.go rename to btcjson/jsonerr.go diff --git a/jsonfxns.go b/btcjson/jsonfxns.go similarity index 100% rename from jsonfxns.go rename to btcjson/jsonfxns.go diff --git a/jsonfxns_test.go b/btcjson/jsonfxns_test.go similarity index 97% rename from jsonfxns_test.go rename to btcjson/jsonfxns_test.go index ffe845a9..0398b312 100644 --- a/jsonfxns_test.go +++ b/btcjson/jsonfxns_test.go @@ -9,7 +9,7 @@ import ( "fmt" "testing" - "github.com/btcsuite/btcjson" + "github.com/btcsuite/btcd/btcjson" ) // TestMarshallAndSend tests the MarshallAndSend function to make sure it can diff --git a/jsonresults.go b/btcjson/jsonresults.go similarity index 100% rename from jsonresults.go rename to btcjson/jsonresults.go diff --git a/jsonresults_test.go b/btcjson/jsonresults_test.go similarity index 99% rename from jsonresults_test.go rename to btcjson/jsonresults_test.go index 83d7f07e..f80b2d18 100644 --- a/jsonresults_test.go +++ b/btcjson/jsonresults_test.go @@ -9,7 +9,7 @@ import ( "encoding/json" "testing" - "github.com/btcsuite/btcjson" + "github.com/btcsuite/btcd/btcjson" ) var resulttests = []struct { diff --git a/v2/btcjson/btcdextcmds.go b/btcjson/v2/btcjson/btcdextcmds.go similarity index 100% rename from v2/btcjson/btcdextcmds.go rename to btcjson/v2/btcjson/btcdextcmds.go diff --git a/v2/btcjson/btcdextcmds_test.go b/btcjson/v2/btcjson/btcdextcmds_test.go similarity index 98% rename from v2/btcjson/btcdextcmds_test.go rename to btcjson/v2/btcjson/btcdextcmds_test.go index 9e58bc31..58ea83cc 100644 --- a/v2/btcjson/btcdextcmds_test.go +++ b/btcjson/v2/btcjson/btcdextcmds_test.go @@ -11,7 +11,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" ) // TestBtcdExtCmds tests all of the btcd extended commands marshal and unmarshal diff --git a/v2/btcjson/btcwalletextcmds.go b/btcjson/v2/btcjson/btcwalletextcmds.go similarity index 100% rename from v2/btcjson/btcwalletextcmds.go rename to btcjson/v2/btcjson/btcwalletextcmds.go diff --git a/v2/btcjson/btcwalletextcmds_test.go b/btcjson/v2/btcjson/btcwalletextcmds_test.go similarity index 99% rename from v2/btcjson/btcwalletextcmds_test.go rename to btcjson/v2/btcjson/btcwalletextcmds_test.go index ecdace9a..78ad9952 100644 --- a/v2/btcjson/btcwalletextcmds_test.go +++ b/btcjson/v2/btcjson/btcwalletextcmds_test.go @@ -11,7 +11,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" ) // TestBtcWalletExtCmds tests all of the btcwallet extended commands marshal and diff --git a/v2/btcjson/chainsvrcmds.go b/btcjson/v2/btcjson/chainsvrcmds.go similarity index 100% rename from v2/btcjson/chainsvrcmds.go rename to btcjson/v2/btcjson/chainsvrcmds.go diff --git a/v2/btcjson/chainsvrcmds_test.go b/btcjson/v2/btcjson/chainsvrcmds_test.go similarity index 99% rename from v2/btcjson/chainsvrcmds_test.go rename to btcjson/v2/btcjson/chainsvrcmds_test.go index edbc6c7a..4765297b 100644 --- a/v2/btcjson/chainsvrcmds_test.go +++ b/btcjson/v2/btcjson/chainsvrcmds_test.go @@ -11,7 +11,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" ) // TestChainSvrCmds tests all of the chain server commands marshal and unmarshal diff --git a/v2/btcjson/chainsvrresults.go b/btcjson/v2/btcjson/chainsvrresults.go similarity index 100% rename from v2/btcjson/chainsvrresults.go rename to btcjson/v2/btcjson/chainsvrresults.go diff --git a/v2/btcjson/chainsvrresults_test.go b/btcjson/v2/btcjson/chainsvrresults_test.go similarity index 96% rename from v2/btcjson/chainsvrresults_test.go rename to btcjson/v2/btcjson/chainsvrresults_test.go index e1ce0b91..98d6b1c7 100644 --- a/v2/btcjson/chainsvrresults_test.go +++ b/btcjson/v2/btcjson/chainsvrresults_test.go @@ -8,7 +8,7 @@ import ( "encoding/json" "testing" - "github.com/btcsuite/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" ) // TestChainSvrCustomResults ensures any results that have custom marshalling diff --git a/v2/btcjson/chainsvrwscmds.go b/btcjson/v2/btcjson/chainsvrwscmds.go similarity index 100% rename from v2/btcjson/chainsvrwscmds.go rename to btcjson/v2/btcjson/chainsvrwscmds.go diff --git a/v2/btcjson/chainsvrwscmds_test.go b/btcjson/v2/btcjson/chainsvrwscmds_test.go similarity index 99% rename from v2/btcjson/chainsvrwscmds_test.go rename to btcjson/v2/btcjson/chainsvrwscmds_test.go index 11fe68bb..6f9c18e3 100644 --- a/v2/btcjson/chainsvrwscmds_test.go +++ b/btcjson/v2/btcjson/chainsvrwscmds_test.go @@ -11,8 +11,8 @@ import ( "reflect" "testing" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcjson/v2/btcjson" ) // TestChainSvrWsCmds tests all of the chain server websocket-specific commands diff --git a/v2/btcjson/chainsvrwsntfns.go b/btcjson/v2/btcjson/chainsvrwsntfns.go similarity index 100% rename from v2/btcjson/chainsvrwsntfns.go rename to btcjson/v2/btcjson/chainsvrwsntfns.go diff --git a/v2/btcjson/chainsvrwsntfns_test.go b/btcjson/v2/btcjson/chainsvrwsntfns_test.go similarity index 99% rename from v2/btcjson/chainsvrwsntfns_test.go rename to btcjson/v2/btcjson/chainsvrwsntfns_test.go index 1b8c88d3..37b03871 100644 --- a/v2/btcjson/chainsvrwsntfns_test.go +++ b/btcjson/v2/btcjson/chainsvrwsntfns_test.go @@ -11,7 +11,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" ) // TestChainSvrWsNtfns tests all of the chain server websocket-specific diff --git a/v2/btcjson/cmdinfo.go b/btcjson/v2/btcjson/cmdinfo.go similarity index 100% rename from v2/btcjson/cmdinfo.go rename to btcjson/v2/btcjson/cmdinfo.go diff --git a/v2/btcjson/cmdinfo_test.go b/btcjson/v2/btcjson/cmdinfo_test.go similarity index 99% rename from v2/btcjson/cmdinfo_test.go rename to btcjson/v2/btcjson/cmdinfo_test.go index 8be185e5..3e082d88 100644 --- a/v2/btcjson/cmdinfo_test.go +++ b/btcjson/v2/btcjson/cmdinfo_test.go @@ -8,7 +8,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" ) // TestCmdMethod tests the CmdMethod function to ensure it retuns the expected diff --git a/v2/btcjson/cmdparse.go b/btcjson/v2/btcjson/cmdparse.go similarity index 100% rename from v2/btcjson/cmdparse.go rename to btcjson/v2/btcjson/cmdparse.go diff --git a/v2/btcjson/cmdparse_test.go b/btcjson/v2/btcjson/cmdparse_test.go similarity index 99% rename from v2/btcjson/cmdparse_test.go rename to btcjson/v2/btcjson/cmdparse_test.go index 5c9cbc2c..84123995 100644 --- a/v2/btcjson/cmdparse_test.go +++ b/btcjson/v2/btcjson/cmdparse_test.go @@ -10,7 +10,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" ) // TestAssignField tests the assignField function handles supported combinations diff --git a/v2/btcjson/error.go b/btcjson/v2/btcjson/error.go similarity index 100% rename from v2/btcjson/error.go rename to btcjson/v2/btcjson/error.go diff --git a/v2/btcjson/error_test.go b/btcjson/v2/btcjson/error_test.go similarity index 97% rename from v2/btcjson/error_test.go rename to btcjson/v2/btcjson/error_test.go index d7e7e3fc..12d9bdf2 100644 --- a/v2/btcjson/error_test.go +++ b/btcjson/v2/btcjson/error_test.go @@ -7,7 +7,7 @@ package btcjson_test import ( "testing" - "github.com/btcsuite/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" ) // TestErrorCodeStringer tests the stringized output for the ErrorCode type. diff --git a/v2/btcjson/export_test.go b/btcjson/v2/btcjson/export_test.go similarity index 100% rename from v2/btcjson/export_test.go rename to btcjson/v2/btcjson/export_test.go diff --git a/v2/btcjson/help.go b/btcjson/v2/btcjson/help.go similarity index 100% rename from v2/btcjson/help.go rename to btcjson/v2/btcjson/help.go diff --git a/v2/btcjson/help_test.go b/btcjson/v2/btcjson/help_test.go similarity index 99% rename from v2/btcjson/help_test.go rename to btcjson/v2/btcjson/help_test.go index a58f06e9..1756c5bb 100644 --- a/v2/btcjson/help_test.go +++ b/btcjson/v2/btcjson/help_test.go @@ -8,7 +8,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" ) // TestHelpReflectInternals ensures the various help functions which deal with diff --git a/v2/btcjson/helpers.go b/btcjson/v2/btcjson/helpers.go similarity index 100% rename from v2/btcjson/helpers.go rename to btcjson/v2/btcjson/helpers.go diff --git a/v2/btcjson/helpers_test.go b/btcjson/v2/btcjson/helpers_test.go similarity index 97% rename from v2/btcjson/helpers_test.go rename to btcjson/v2/btcjson/helpers_test.go index 25b9ac77..cb55a9b2 100644 --- a/v2/btcjson/helpers_test.go +++ b/btcjson/v2/btcjson/helpers_test.go @@ -8,7 +8,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" ) // TestHelpers tests the various helper functions which create pointers to diff --git a/v2/btcjson/jsonrpc.go b/btcjson/v2/btcjson/jsonrpc.go similarity index 100% rename from v2/btcjson/jsonrpc.go rename to btcjson/v2/btcjson/jsonrpc.go diff --git a/v2/btcjson/jsonrpc_test.go b/btcjson/v2/btcjson/jsonrpc_test.go similarity index 98% rename from v2/btcjson/jsonrpc_test.go rename to btcjson/v2/btcjson/jsonrpc_test.go index 1f1f9fc5..8a48462e 100644 --- a/v2/btcjson/jsonrpc_test.go +++ b/btcjson/v2/btcjson/jsonrpc_test.go @@ -9,7 +9,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" ) // TestIsValidIDType ensures the IsValidIDType function behaves as expected. diff --git a/v2/btcjson/jsonrpcerr.go b/btcjson/v2/btcjson/jsonrpcerr.go similarity index 100% rename from v2/btcjson/jsonrpcerr.go rename to btcjson/v2/btcjson/jsonrpcerr.go diff --git a/v2/btcjson/register.go b/btcjson/v2/btcjson/register.go similarity index 100% rename from v2/btcjson/register.go rename to btcjson/v2/btcjson/register.go diff --git a/v2/btcjson/register_test.go b/btcjson/v2/btcjson/register_test.go similarity index 99% rename from v2/btcjson/register_test.go rename to btcjson/v2/btcjson/register_test.go index 9fac1172..f0131075 100644 --- a/v2/btcjson/register_test.go +++ b/btcjson/v2/btcjson/register_test.go @@ -9,7 +9,7 @@ import ( "sort" "testing" - "github.com/btcsuite/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" ) // TestUsageFlagStringer tests the stringized output for the UsageFlag type. diff --git a/v2/btcjson/walletsvrcmds.go b/btcjson/v2/btcjson/walletsvrcmds.go similarity index 100% rename from v2/btcjson/walletsvrcmds.go rename to btcjson/v2/btcjson/walletsvrcmds.go diff --git a/v2/btcjson/walletsvrcmds_test.go b/btcjson/v2/btcjson/walletsvrcmds_test.go similarity index 99% rename from v2/btcjson/walletsvrcmds_test.go rename to btcjson/v2/btcjson/walletsvrcmds_test.go index 99ec4a5d..d68820a6 100644 --- a/v2/btcjson/walletsvrcmds_test.go +++ b/btcjson/v2/btcjson/walletsvrcmds_test.go @@ -11,7 +11,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" ) // TestWalletSvrCmds tests all of the wallet server commands marshal and diff --git a/v2/btcjson/walletsvrresults.go b/btcjson/v2/btcjson/walletsvrresults.go similarity index 100% rename from v2/btcjson/walletsvrresults.go rename to btcjson/v2/btcjson/walletsvrresults.go diff --git a/v2/btcjson/walletsvrwscmds.go b/btcjson/v2/btcjson/walletsvrwscmds.go similarity index 100% rename from v2/btcjson/walletsvrwscmds.go rename to btcjson/v2/btcjson/walletsvrwscmds.go diff --git a/v2/btcjson/walletsvrwscmds_test.go b/btcjson/v2/btcjson/walletsvrwscmds_test.go similarity index 99% rename from v2/btcjson/walletsvrwscmds_test.go rename to btcjson/v2/btcjson/walletsvrwscmds_test.go index ff06b945..a4556c0a 100644 --- a/v2/btcjson/walletsvrwscmds_test.go +++ b/btcjson/v2/btcjson/walletsvrwscmds_test.go @@ -11,7 +11,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" ) // TestWalletSvrWsCmds tests all of the wallet server websocket-specific diff --git a/v2/btcjson/walletsvrwsntfns.go b/btcjson/v2/btcjson/walletsvrwsntfns.go similarity index 100% rename from v2/btcjson/walletsvrwsntfns.go rename to btcjson/v2/btcjson/walletsvrwsntfns.go diff --git a/v2/btcjson/walletsvrwsntfns_test.go b/btcjson/v2/btcjson/walletsvrwsntfns_test.go similarity index 99% rename from v2/btcjson/walletsvrwsntfns_test.go rename to btcjson/v2/btcjson/walletsvrwsntfns_test.go index 57b717d1..ef8b28ec 100644 --- a/v2/btcjson/walletsvrwsntfns_test.go +++ b/btcjson/v2/btcjson/walletsvrwsntfns_test.go @@ -11,7 +11,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcjson/v2/btcjson" + "github.com/btcsuite/btcd/btcjson/v2/btcjson" ) // TestWalletSvrWsNtfns tests all of the chain server websocket-specific diff --git a/cov_report.sh b/cov_report.sh deleted file mode 100644 index 307f05b7..00000000 --- a/cov_report.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -# This script uses gocov to generate a test coverage report. -# The gocov tool my be obtained with the following command: -# go get github.com/axw/gocov/gocov -# -# It will be installed to $GOPATH/bin, so ensure that location is in your $PATH. - -# Check for gocov. -type gocov >/dev/null 2>&1 -if [ $? -ne 0 ]; then - echo >&2 "This script requires the gocov tool." - echo >&2 "You may obtain it with the following command:" - echo >&2 "go get github.com/axw/gocov/gocov" - exit 1 -fi -gocov test | gocov report diff --git a/goclean.sh b/goclean.sh deleted file mode 100755 index f0512e77..00000000 --- a/goclean.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash -# The script does automatic checking on a Go package and its sub-packages, including: -# 1. gofmt (http://golang.org/cmd/gofmt/) -# 2. goimports (https://github.com/bradfitz/goimports) -# 3. golint (https://github.com/golang/lint) -# 4. go vet (http://golang.org/cmd/vet) -# 5. race detector (http://blog.golang.org/race-detector) -# 6. test coverage (http://blog.golang.org/cover) - -set -e - -# Automatic checks -cd v2/btcjson -test -z "$(gofmt -l -w . | tee /dev/stderr)" -test -z "$(goimports -l -w . | tee /dev/stderr)" -test -z "$(golint . | tee /dev/stderr)" -go vet ./... -go test -race ./... - -# Run test coverage on each subdirectories and merge the coverage profile. - -echo "mode: count" > profile.cov - -# Standard go tooling behavior is to ignore dirs with leading underscors -for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -type d); -do -if ls $dir/*.go &> /dev/null; then - go test -covermode=count -coverprofile=$dir/profile.tmp $dir - if [ -f $dir/profile.tmp ]; then - cat $dir/profile.tmp | tail -n +2 >> profile.cov - rm $dir/profile.tmp - fi -fi -done - -go tool cover -func profile.cov - -# To submit the test coverage result to coveralls.io, -# use goveralls (https://github.com/mattn/goveralls) -# goveralls -coverprofile=profile.cov -service=travis-ci diff --git a/test_coverage.txt b/test_coverage.txt deleted file mode 100644 index b489f821..00000000 --- a/test_coverage.txt +++ /dev/null @@ -1,430 +0,0 @@ - -github.com/conformal/btcjson/jsonapi.go JSONToAmount 100.00% (15/15) -github.com/conformal/btcjson/jsonfxns.go MarshallAndSend 100.00% (7/7) -github.com/conformal/btcjson/jsonfxns.go GetRaw 100.00% (6/6) -github.com/conformal/btcjson/jsonapi.go jsonWithArgs 100.00% (5/5) -github.com/conformal/btcjson/jsonapi.go IsValidIdType 100.00% (3/3) -github.com/conformal/btcjson/jsonapi.go JSONGetMethod 100.00% (3/3) -github.com/conformal/btcjson/jsonapi.go CreateMessage 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go ListLockUnspentCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ListLockUnspentCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ListReceivedByAccountCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ListReceivedByAccountCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ListReceivedByAddressCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ListReceivedByAddressCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go WalletLockCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go WalletLockCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewWalletLockCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go VerifyMessageCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go VerifyMessageCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewVerifyMessageCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go AddMultisigAddressCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go AddMultisigAddressCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go VerifyChainCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewListAddressGroupingsCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ListAddressGroupingsCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ListAddressGroupingsCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ListSinceBlockCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ListSinceBlockCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewListLockUnspentCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SendFromCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SendFromCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetNetworkInfoCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetNetworkInfoCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetNetworkInfoCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetNetTotalsCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SearchRawTransactionCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SearchRawTransactionCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetNetworkHashPSCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetNetworkHashPSCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetNewAddressCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetNewAddressCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ReconsiderBlockCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetPeerInfoCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetPeerInfoCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetPeerInfoCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ReconsiderBlockCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewReconsiderBlockCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetRawChangeAddressCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetRawChangeAddressCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go PingCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetRawMempoolCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetRawMempoolCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go PingCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetRawTransactionCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewPingCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAddressCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAddressCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go MoveCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetTransactionCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetTransactionCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetTransactionCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go MoveCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetTxOutCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetTxOutCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetTxOutSetInfoCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetTxOutSetInfoCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetTxOutSetInfoCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go LockUnspentCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go LockUnspentCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetWorkCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetWorkCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go HelpCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go HelpCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ListUnspentCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ListUnspentCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ImportPrivKeyCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ImportPrivKeyCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewImportWalletCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ImportWalletCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ImportWalletCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewInvalidateBlockCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go InvalidateBlockCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go InvalidateBlockCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ListTransactionsCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ListTransactionsCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ListAccountsCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ListAccountsCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go VerifyChainCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go AddNodeCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go AddNodeCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewBackupWalletCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go BackupWalletCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go BackupWalletCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsonapi.go Error.Error 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewCreateMultisigCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go CreateMultisigCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go CreateMultisigCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ValidateAddressCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewCreateRawTransactionCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go CreateRawTransactionCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go CreateRawTransactionCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go ValidateAddressCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewDebugLevelCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go DebugLevelCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go DebugLevelCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetAddressesByAccountCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewValidateAddressCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewDecodeRawTransactionCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go DecodeRawTransactionCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go DecodeRawTransactionCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewDecodeScriptCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SubmitBlockCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewDumpPrivKeyCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SubmitBlockCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewDumpWalletCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewEncryptWalletCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go EncryptWalletCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go EncryptWalletCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsonapi.go RpcCommand 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go StopCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewEstimateFeeCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go EstimateFeeCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go EstimateFeeCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseChangeCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go StopCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewEstimatePriorityCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go EstimatePriorityCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go EstimatePriorityCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseChangeCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewStopCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetAccountCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetAccountCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetAccountCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewWalletPassphraseChangeCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SignRawTransactionCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetAccountAddressCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetAccountAddressCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetAccountAddressCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SignRawTransactionCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetAddedNodeInfoCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetAddedNodeInfoCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockHashCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SignMessageCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetAddressesByAccountCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SignMessageCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetAddressesByAccountCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewSignMessageCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetBalanceCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetBalanceCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SetTxFeeCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetBestBlockHashCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetBestBlockHashCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetBestBlockHashCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SetTxFeeCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewSetTxFeeCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SetGenerateCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SetGenerateCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetBlockChainInfoCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockChainInfoCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockChainInfoCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SetAccountCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetBlockCountCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockCountCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockCountCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SetAccountCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewSetAccountCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetBlockHashCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockHashCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetMiningInfoCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewWalletPassphraseCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SendToAddressCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SendToAddressCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockTemplateCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockTemplateCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetConnectionCountCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetConnectionCountCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetConnectionCountCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SendRawTransactionCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetDifficultyCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetDifficultyCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetDifficultyCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SendRawTransactionCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetGenerateCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetGenerateCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetGenerateCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetRawTransactionCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetHashesPerSecCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetHashesPerSecCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetHashesPerSecCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SendManyCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go SendManyCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetInfoCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetInfoCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetInfoCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetMiningInfoCmd.Id 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetMiningInfoCmd.Method 100.00% (1/1) -github.com/conformal/btcjson/jsonapi.go CreateMessageWithId 96.29% (337/350) -github.com/conformal/btcjson/jsoncmd.go SendFromCmd.MarshalJSON 92.86% (13/14) -github.com/conformal/btcjson/jsoncmd.go SendManyCmd.MarshalJSON 92.86% (13/14) -github.com/conformal/btcjson/jsoncmd.go SearchRawTransactionCmd.MarshalJSON 91.67% (11/12) -github.com/conformal/btcjson/jsoncmd.go MoveCmd.MarshalJSON 91.67% (11/12) -github.com/conformal/btcjson/jsoncmd.go SendToAddressCmd.MarshalJSON 90.91% (10/11) -github.com/conformal/btcjson/jsoncmd.go ListUnspentCmd.MarshalJSON 90.91% (10/11) -github.com/conformal/btcjson/jsoncmd.go ListTransactionsCmd.MarshalJSON 90.91% (10/11) -github.com/conformal/btcjson/jsoncmd.go ImportPrivKeyCmd.MarshalJSON 90.00% (9/10) -github.com/conformal/btcjson/jsoncmd.go GetBalanceCmd.MarshalJSON 88.89% (8/9) -github.com/conformal/btcjson/jsoncmd.go ListSinceBlockCmd.MarshalJSON 88.89% (8/9) -github.com/conformal/btcjson/jsoncmd.go ListReceivedByAccountCmd.MarshalJSON 88.89% (8/9) -github.com/conformal/btcjson/jsoncmd.go GetNetworkHashPSCmd.MarshalJSON 88.89% (8/9) -github.com/conformal/btcjson/jsoncmd.go AddMultisigAddressCmd.MarshalJSON 88.89% (8/9) -github.com/conformal/btcjson/jsoncmd.go NewVerifyChainCmd 88.89% (8/9) -github.com/conformal/btcjson/jsoncmd.go NewGetNetworkHashPSCmd 88.89% (8/9) -github.com/conformal/btcjson/jsoncmd.go VerifyChainCmd.MarshalJSON 88.89% (8/9) -github.com/conformal/btcjson/jsoncmd.go ListReceivedByAddressCmd.MarshalJSON 88.89% (8/9) -github.com/conformal/btcjson/jsoncmd.go GetTxOutCmd.MarshalJSON 88.89% (8/9) -github.com/conformal/btcjson/jsoncmd.go ParseMarshaledCmd 88.66% (86/97) -github.com/conformal/btcjson/jsoncmd.go CreateRawTransactionCmd.MarshalJSON 87.50% (7/8) -github.com/conformal/btcjson/jsoncmd.go SetGenerateCmd.MarshalJSON 87.50% (7/8) -github.com/conformal/btcjson/jsoncmd.go NewRawCmd 87.50% (7/8) -github.com/conformal/btcjson/jsoncmd.go GetRawTransactionCmd.MarshalJSON 87.50% (7/8) -github.com/conformal/btcjson/jsoncmd.go SendRawTransactionCmd.MarshalJSON 87.50% (7/8) -github.com/conformal/btcjson/jsoncmd.go SubmitBlockCmd.MarshalJSON 87.50% (7/8) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAddressCmd.MarshalJSON 87.50% (7/8) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.MarshalJSON 87.50% (7/8) -github.com/conformal/btcjson/jsoncmd.go GetNewAddressCmd.MarshalJSON 85.71% (6/7) -github.com/conformal/btcjson/jsoncmd.go GetBlockTemplateCmd.MarshalJSON 85.71% (6/7) -github.com/conformal/btcjson/jsoncmd.go ListAccountsCmd.MarshalJSON 85.71% (6/7) -github.com/conformal/btcjson/jsoncmd.go GetWorkCmd.MarshalJSON 85.71% (6/7) -github.com/conformal/btcjson/jsoncmd.go GetRawChangeAddressCmd.MarshalJSON 85.71% (6/7) -github.com/conformal/btcjson/jsoncmd.go HelpCmd.MarshalJSON 85.71% (6/7) -github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.MarshalJSON 85.71% (6/7) -github.com/conformal/btcjson/jsoncmd.go GetAddedNodeInfoCmd.MarshalJSON 85.71% (6/7) -github.com/conformal/btcjson/jsoncmd.go GetRawMempoolCmd.MarshalJSON 85.71% (6/7) -github.com/conformal/btcjson/jsoncmd.go NewHelpCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewGetRawChangeAddressCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewGetAddedNodeInfoCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewAddMultisigAddressCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewGetNewAddressCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewSendRawTransactionCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewGetWorkCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewGetReceivedByAddressCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewGetTxOutCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewSubmitBlockCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewListAccountsCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewGetRawTransactionCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewSetGenerateCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewGetRawMempoolCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewKeyPoolRefillCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewGetReceivedByAccountCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewSearchRawTransactionCmd 80.95% (17/21) -github.com/conformal/btcjson/jsoncmd.go NewListTransactionsCmd 80.95% (17/21) -github.com/conformal/btcjson/jsoncmd.go NewSendFromCmd 80.95% (17/21) -github.com/conformal/btcjson/jsoncmd.go NewListUnspentCmd 80.95% (17/21) -github.com/conformal/btcjson/jsoncmd.go NewListSinceBlockCmd 80.00% (12/15) -github.com/conformal/btcjson/jsoncmd.go NewGetBalanceCmd 80.00% (12/15) -github.com/conformal/btcjson/jsoncmd.go NewListReceivedByAccountCmd 80.00% (12/15) -github.com/conformal/btcjson/jsoncmd.go NewSendManyCmd 80.00% (12/15) -github.com/conformal/btcjson/jsoncmd.go NewSendToAddressCmd 80.00% (12/15) -github.com/conformal/btcjson/jsoncmd.go NewMoveCmd 80.00% (12/15) -github.com/conformal/btcjson/jsoncmd.go NewListReceivedByAddressCmd 80.00% (12/15) -github.com/conformal/btcjson/jsoncmd.go DebugLevelCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go AddNodeCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go BackupWalletCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go CreateMultisigCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go DecodeRawTransactionCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go EncryptWalletCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go EstimateFeeCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go EstimatePriorityCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go GetAccountCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go GetAccountAddressCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go GetAddressesByAccountCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go GetBlockHashCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go GetTransactionCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go ImportWalletCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go InvalidateBlockCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go ReconsiderBlockCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go SetAccountCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go SetTxFeeCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go SignMessageCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go ValidateAddressCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go VerifyMessageCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseChangeCmd.MarshalJSON 80.00% (4/5) -github.com/conformal/btcjson/jsoncmd.go NewImportPrivKeyCmd 78.57% (11/14) -github.com/conformal/btcjson/jsoncmd.go ListUnspentCmd.UnmarshalJSON 76.92% (20/26) -github.com/conformal/btcjson/jsoncmd.go ListTransactionsCmd.UnmarshalJSON 76.92% (20/26) -github.com/conformal/btcjson/jsoncmd.go ListSinceBlockCmd.UnmarshalJSON 76.19% (16/21) -github.com/conformal/btcjson/jsoncmd.go ListReceivedByAddressCmd.UnmarshalJSON 76.19% (16/21) -github.com/conformal/btcjson/jsoncmd.go GetBalanceCmd.UnmarshalJSON 76.19% (16/21) -github.com/conformal/btcjson/jsoncmd.go GetNetworkHashPSCmd.UnmarshalJSON 76.19% (16/21) -github.com/conformal/btcjson/jsoncmd.go VerifyChainCmd.UnmarshalJSON 76.19% (16/21) -github.com/conformal/btcjson/jsoncmd.go ListReceivedByAccountCmd.UnmarshalJSON 76.19% (16/21) -github.com/conformal/btcjson/jsoncmd.go SearchRawTransactionCmd.UnmarshalJSON 75.86% (22/29) -github.com/conformal/btcjson/jsoncmd.go SendManyCmd.UnmarshalJSON 75.76% (25/33) -github.com/conformal/btcjson/jsoncmd.go ImportPrivKeyCmd.UnmarshalJSON 75.00% (18/24) -github.com/conformal/btcjson/jsoncmd.go ListAccountsCmd.UnmarshalJSON 75.00% (12/16) -github.com/conformal/btcjson/jsoncmd.go GetRawMempoolCmd.UnmarshalJSON 75.00% (12/16) -github.com/conformal/btcjson/jsoncmd.go GetRawChangeAddressCmd.UnmarshalJSON 75.00% (12/16) -github.com/conformal/btcjson/jsoncmd.go HelpCmd.UnmarshalJSON 75.00% (12/16) -github.com/conformal/btcjson/jsoncmd.go GetBlockTemplateCmd.UnmarshalJSON 75.00% (12/16) -github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.UnmarshalJSON 75.00% (12/16) -github.com/conformal/btcjson/jsoncmd.go GetNewAddressCmd.UnmarshalJSON 75.00% (12/16) -github.com/conformal/btcjson/jsoncmd.go LockUnspentCmd.MarshalJSON 75.00% (6/8) -github.com/conformal/btcjson/jsoncmd.go GetNetworkInfoCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go GetTxOutSetInfoCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go ListAddressGroupingsCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go PingCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go GetPeerInfoCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go GetMiningInfoCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go GetInfoCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go GetHashesPerSecCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go GetGenerateCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go GetDifficultyCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go GetConnectionCountCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go ListLockUnspentCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go GetBlockCountCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go GetBlockChainInfoCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go GetBestBlockHashCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go WalletLockCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go StopCmd.MarshalJSON 75.00% (3/4) -github.com/conformal/btcjson/jsoncmd.go SendFromCmd.UnmarshalJSON 73.68% (28/38) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.UnmarshalJSON 73.68% (14/19) -github.com/conformal/btcjson/jsoncmd.go SendRawTransactionCmd.UnmarshalJSON 73.68% (14/19) -github.com/conformal/btcjson/jsoncmd.go GetRawTransactionCmd.UnmarshalJSON 73.68% (14/19) -github.com/conformal/btcjson/jsoncmd.go SubmitBlockCmd.UnmarshalJSON 73.68% (14/19) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAddressCmd.UnmarshalJSON 73.68% (14/19) -github.com/conformal/btcjson/jsoncmd.go SetGenerateCmd.UnmarshalJSON 73.68% (14/19) -github.com/conformal/btcjson/jsoncmd.go SendToAddressCmd.UnmarshalJSON 73.33% (22/30) -github.com/conformal/btcjson/jsoncmd.go MoveCmd.UnmarshalJSON 72.73% (24/33) -github.com/conformal/btcjson/jsoncmd.go CreateRawTransactionCmd.UnmarshalJSON 72.73% (16/22) -github.com/conformal/btcjson/jsoncmd.go GetTxOutCmd.UnmarshalJSON 72.73% (16/22) -github.com/conformal/btcjson/jsoncmd.go GetWorkCmd.UnmarshalJSON 71.43% (10/14) -github.com/conformal/btcjson/jsoncmd.go GetAddedNodeInfoCmd.UnmarshalJSON 70.59% (12/17) -github.com/conformal/btcjson/jsoncmd.go AddMultisigAddressCmd.UnmarshalJSON 70.00% (14/20) -github.com/conformal/btcjson/jsoncmd.go GetBlockChainInfoCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetNetworkInfoCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetMiningInfoCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go ListLockUnspentCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetInfoCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetHashesPerSecCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetGenerateCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetDifficultyCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go WalletLockCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetConnectionCountCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetTxOutSetInfoCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go StopCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetBlockCountCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go PingCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetPeerInfoCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetBestBlockHashCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go ListAddressGroupingsCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go BackupWalletCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go InvalidateBlockCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go ImportWalletCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go GetTransactionCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go ReconsiderBlockCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go GetBlockHashCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go GetAddressesByAccountCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go GetAccountAddressCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go GetAccountCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go EstimatePriorityCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go EstimateFeeCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go EncryptWalletCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go DecodeRawTransactionCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go DebugLevelCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go ValidateAddressCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go SetAccountCmd.UnmarshalJSON 68.75% (11/16) -github.com/conformal/btcjson/jsoncmd.go SignMessageCmd.UnmarshalJSON 68.75% (11/16) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseCmd.UnmarshalJSON 68.75% (11/16) -github.com/conformal/btcjson/jsoncmd.go SetTxFeeCmd.UnmarshalJSON 68.75% (11/16) -github.com/conformal/btcjson/jsoncmd.go CreateMultisigCmd.UnmarshalJSON 68.75% (11/16) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseChangeCmd.UnmarshalJSON 68.75% (11/16) -github.com/conformal/btcjson/jsoncmd.go AddNodeCmd.UnmarshalJSON 68.75% (11/16) -github.com/conformal/btcjson/jsoncmd.go VerifyMessageCmd.UnmarshalJSON 68.42% (13/19) -github.com/conformal/btcjson/jsoncmd.go SignRawTransactionCmd.MarshalJSON 66.67% (8/12) -github.com/conformal/btcjson/jsoncmd.go NewLockUnspentCmd 66.67% (4/6) -github.com/conformal/btcjson/jsoncmd.go NewAddNodeCmd 66.67% (2/3) -github.com/conformal/btcjson/jsonresults.go ReadResultCmd 64.00% (112/175) -github.com/conformal/btcjson/jsoncmd.go GetBlockCmd.MarshalJSON 63.64% (7/11) -github.com/conformal/btcjson/jsonfxns.go jsonRPCSend 62.50% (10/16) -github.com/conformal/btcjson/jsonapi.go rpcCommand 61.54% (8/13) -github.com/conformal/btcjson/jsoncmd.go LockUnspentCmd.UnmarshalJSON 57.89% (11/19) -github.com/conformal/btcjson/jsoncmd.go GetBlockCmd.UnmarshalJSON 50.00% (12/24) -github.com/conformal/btcjson/cmdhelp.go GetHelpString 50.00% (3/6) -github.com/conformal/btcjson/jsonapi.go rpcRawCommand 47.06% (8/17) -github.com/conformal/btcjson/jsoncmd.go SignRawTransactionCmd.UnmarshalJSON 44.83% (13/29) -github.com/conformal/btcjson/jsoncmd.go NewGetBlockTemplateCmd 43.75% (7/16) -github.com/conformal/btcjson/jsoncmd.go NewSignRawTransactionCmd 38.10% (8/21) -github.com/conformal/btcjson/jsoncmd.go NewGetBlockCmd 36.36% (4/11) -github.com/conformal/btcjson/jsoncmd.go unparsableCmd.UnmarshalJSON 0.00% (0/6) -github.com/conformal/btcjson/jsonresults.go Vin.MarshalJSON 0.00% (0/5) -github.com/conformal/btcjson/jsonapi.go TlsRpcSend 0.00% (0/4) -github.com/conformal/btcjson/jsonapi.go RpcSend 0.00% (0/4) -github.com/conformal/btcjson/jsoncmd.go unparsableCmd.MarshalJSON 0.00% (0/4) -github.com/conformal/btcjson/jsonapi.go BadStatusCode.Error 0.00% (0/2) -github.com/conformal/btcjson/jsonresults.go Vin.IsCoinBase 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go unparsableCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go newUnparsableCmd 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go unparsableCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsonapi.go TlsRpcCommand 0.00% (0/1) -github.com/conformal/btcjson/jsonapi.go RpcRawCommand 0.00% (0/1) -github.com/conformal/btcjson/jsonapi.go TlsRpcRawCommand 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go isFloatInt64 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go RegisterCustomCmd 0.00% (0/1) -github.com/conformal/btcjson --------------------------------------- 77.86% (2458/3157) -