From a645c36f4558fc0316d9af00d89fc8b787a48170 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 22 Nov 2013 10:01:41 -0600 Subject: [PATCH] Add new extension command named debuglevel. ok @jcvernaleo. --- jsoncmd.go | 72 +++++++++ jsoncmd_test.go | 10 ++ test_coverage.txt | 387 ++++++++++++++++++++++++---------------------- 3 files changed, 280 insertions(+), 189 deletions(-) diff --git a/jsoncmd.go b/jsoncmd.go index 2119663a..3fa7d3eb 100644 --- a/jsoncmd.go +++ b/jsoncmd.go @@ -81,6 +81,9 @@ func ParseMarshaledCmd(b []byte) (Cmd, error) { case "createrawtransaction": cmd = new(CreateRawTransactionCmd) + case "debuglevel": + cmd = new(DebugLevelCmd) + case "decoderawtransaction": cmd = new(DecodeRawTransactionCmd) @@ -828,6 +831,75 @@ func (cmd *CreateRawTransactionCmd) UnmarshalJSON(b []byte) error { return nil } +// DebugLevelCmd is a type handling custom marshaling and unmarshaling of +// debuglevel JSON RPC commands. This command is not a standard Bitcoin +// command. It is an extension for btcd. +type DebugLevelCmd struct { + id interface{} + LevelSpec string +} + +// Enforce that DebugLevelCmd satisifies the Cmd interface. +var _ Cmd = &DebugLevelCmd{} + +// NewDebugLevelCmd creates a new DebugLevelCmd. This command is not a standard +// Bitcoin command. It is an extension for btcd. +func NewDebugLevelCmd(id interface{}, levelSpec string) (*DebugLevelCmd, error) { + return &DebugLevelCmd{ + id: id, + LevelSpec: levelSpec, + }, nil +} + +// Id satisfies the Cmd interface by returning the id of the command. +func (cmd *DebugLevelCmd) Id() interface{} { + return cmd.id +} + +// Method satisfies the Cmd interface by returning the json method. +func (cmd *DebugLevelCmd) Method() string { + return "debuglevel" +} + +// MarshalJSON returns the JSON encoding of cmd. Part of the Cmd interface. +func (cmd *DebugLevelCmd) MarshalJSON() ([]byte, error) { + // Fill and marshal a RawCmd. + return json.Marshal(RawCmd{ + Jsonrpc: "1.0", + Method: cmd.Method(), + Id: cmd.id, + Params: []interface{}{ + cmd.LevelSpec, + }, + }) +} + +// UnmarshalJSON unmarshals the JSON encoding of cmd into cmd. Part of +// the Cmd interface. +func (cmd *DebugLevelCmd) UnmarshalJSON(b []byte) error { + // Unmashal into a RawCmd + var r RawCmd + if err := json.Unmarshal(b, &r); err != nil { + return err + } + + if len(r.Params) != 1 { + return ErrWrongNumberOfParams + } + levelSpec, ok := r.Params[0].(string) + if !ok { + return errors.New("first parameter levelspec must be a string") + } + + newCmd, err := NewDebugLevelCmd(r.Id, levelSpec) + if err != nil { + return err + } + + *cmd = *newCmd + return nil +} + // DecodeRawTransactionCmd is a type handling custom marshaling and // unmarshaling of decoderawtransaction JSON RPC commands. type DecodeRawTransactionCmd struct { diff --git a/jsoncmd_test.go b/jsoncmd_test.go index 09656208..5f59ce2f 100644 --- a/jsoncmd_test.go +++ b/jsoncmd_test.go @@ -124,6 +124,16 @@ var jsoncmdtests = []struct { }, }, }, + { + name: "basic debuglevel", + f: func() (Cmd, error) { + return NewDebugLevelCmd(float64(1), "debug") + }, + result: &DebugLevelCmd{ + id: float64(1), + LevelSpec: "debug", + }, + }, { name: "basic decoderawtransaction", f: func() (Cmd, error) { diff --git a/test_coverage.txt b/test_coverage.txt index 7fffc964..4fab3663 100644 --- a/test_coverage.txt +++ b/test_coverage.txt @@ -1,72 +1,90 @@ -github.com/conformal/btcjson/jsonapi.go ReadResultCmd 100.00% (63/63) github.com/conformal/btcjson/jsonapi.go JSONToAmount 100.00% (15/15) github.com/conformal/btcjson/jsonapi.go JSONGetMethod 100.00% (14/14) github.com/conformal/btcjson/jsoncmd.go SendFromCmd.MarshalJSON 100.00% (8/8) github.com/conformal/btcjson/jsonfxns.go MarshallAndSend 100.00% (7/7) -github.com/conformal/btcjson/jsonfxns.go jsonRpcSend 100.00% (7/7) -github.com/conformal/btcjson/jsoncmd.go GetNetworkHashPSCmd.MarshalJSON 100.00% (6/6) -github.com/conformal/btcjson/jsoncmd.go VerifyChainCmd.MarshalJSON 100.00% (6/6) github.com/conformal/btcjson/jsoncmd.go MoveCmd.MarshalJSON 100.00% (6/6) -github.com/conformal/btcjson/jsoncmd.go ListUnspentCmd.MarshalJSON 100.00% (6/6) github.com/conformal/btcjson/jsoncmd.go GetBalanceCmd.MarshalJSON 100.00% (6/6) -github.com/conformal/btcjson/jsonfxns.go GetRaw 100.00% (6/6) +github.com/conformal/btcjson/jsoncmd.go ImportPrivKeyCmd.MarshalJSON 100.00% (6/6) +github.com/conformal/btcjson/jsoncmd.go GetNetworkHashPSCmd.MarshalJSON 100.00% (6/6) +github.com/conformal/btcjson/jsoncmd.go ListUnspentCmd.MarshalJSON 100.00% (6/6) +github.com/conformal/btcjson/jsoncmd.go VerifyChainCmd.MarshalJSON 100.00% (6/6) github.com/conformal/btcjson/jsoncmd.go SendToAddressCmd.MarshalJSON 100.00% (6/6) +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/jsoncmd.go HelpCmd.MarshalJSON 100.00% (4/4) -github.com/conformal/btcjson/jsoncmd.go CreateRawTransactionCmd.MarshalJSON 100.00% (4/4) github.com/conformal/btcjson/jsoncmd.go GetRawTransactionCmd.MarshalJSON 100.00% (4/4) -github.com/conformal/btcjson/jsoncmd.go GetNewAddressCmd.MarshalJSON 100.00% (4/4) -github.com/conformal/btcjson/jsoncmd.go SubmitBlockCmd.MarshalJSON 100.00% (4/4) -github.com/conformal/btcjson/jsoncmd.go AddMultisigAddressCmd.MarshalJSON 100.00% (4/4) -github.com/conformal/btcjson/jsoncmd.go SetGenerateCmd.MarshalJSON 100.00% (4/4) -github.com/conformal/btcjson/jsoncmd.go GetBlockTemplateCmd.MarshalJSON 100.00% (4/4) +github.com/conformal/btcjson/jsoncmd.go CreateRawTransactionCmd.MarshalJSON 100.00% (4/4) github.com/conformal/btcjson/jsoncmd.go GetAddedNodeInfoCmd.MarshalJSON 100.00% (4/4) +github.com/conformal/btcjson/jsoncmd.go GetNewAddressCmd.MarshalJSON 100.00% (4/4) +github.com/conformal/btcjson/jsoncmd.go SetGenerateCmd.MarshalJSON 100.00% (4/4) +github.com/conformal/btcjson/jsoncmd.go AddMultisigAddressCmd.MarshalJSON 100.00% (4/4) +github.com/conformal/btcjson/jsoncmd.go GetBlockTemplateCmd.MarshalJSON 100.00% (4/4) github.com/conformal/btcjson/jsoncmd.go GetRawChangeAddressCmd.MarshalJSON 100.00% (4/4) +github.com/conformal/btcjson/jsoncmd.go SubmitBlockCmd.MarshalJSON 100.00% (4/4) +github.com/conformal/btcjson/jsoncmd.go HelpCmd.MarshalJSON 100.00% (4/4) github.com/conformal/btcjson/jsonapi.go IsValidIdType 100.00% (3/3) -github.com/conformal/btcjson/jsoncmd.go SetAccountCmd.MarshalJSON 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseCmd.MarshalJSON 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go WalletLockCmd.MarshalJSON 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go VerifyMessageCmd.MarshalJSON 100.00% (2/2) github.com/conformal/btcjson/jsoncmd.go GetTransactionCmd.MarshalJSON 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go ValidateAddressCmd.MarshalJSON 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go StopCmd.MarshalJSON 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go SignMessageCmd.MarshalJSON 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go SetTxFeeCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go ImportWalletCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go VerifyMessageCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go SetAccountCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go GetTxOutSetInfoCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go GetWorkCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go ListAddressGroupingsCmd.MarshalJSON 100.00% (2/2) github.com/conformal/btcjson/jsoncmd.go SendRawTransactionCmd.MarshalJSON 100.00% (2/2) github.com/conformal/btcjson/jsonapi.go CreateMessage 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go PingCmd.MarshalJSON 100.00% (2/2) github.com/conformal/btcjson/jsoncmd.go ListLockUnspentCmd.MarshalJSON 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go ListAddressGroupingsCmd.MarshalJSON 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.MarshalJSON 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go ImportWalletCmd.MarshalJSON 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go GetWorkCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go ValidateAddressCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go PingCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go StopCmd.MarshalJSON 100.00% (2/2) github.com/conformal/btcjson/jsoncmd.go WalletPassphraseChangeCmd.MarshalJSON 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go GetTxOutSetInfoCmd.MarshalJSON 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go NewPingCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go WalletPassphraseCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go SignMessageCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go WalletLockCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go SetTxFeeCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go NewGetWorkCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewGetPeerInfoCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go GetPeerInfoCmd.MarshalJSON 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewWalletPassphraseCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewWalletLockCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewVerifyMessageCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewValidateAddressCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go AddNodeCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewBackupWalletCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewStopCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go BackupWalletCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewCreateMultisigCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewSignMessageCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go CreateMultisigCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewCreateRawTransactionCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewSetTxFeeCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewDebugLevelCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go DebugLevelCmd.Method 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go DebugLevelCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewDecodeRawTransactionCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go DecodeRawTransactionCmd.MarshalJSON 100.00% (1/1) -github.com/conformal/btcjson/jsonapi.go Error.Error 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewSetAccountCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewDecodeScriptCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewDumpPrivKeyCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewSendRawTransactionCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewDumpWalletCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewEncryptWalletCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewPingCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go EncryptWalletCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewGetAccountCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go GetAccountCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewGetAccountAddressCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go GetAccountAddressCmd.MarshalJSON 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewListLockUnspentCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewGetAddressesByAccountCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewListAddressGroupingsCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go GetAddressesByAccountCmd.MarshalJSON 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewKeyPoolRefillCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewGetBestBlockHashCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewImportWalletCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go GetBestBlockHashCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewGetBlockCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go GetBlockCmd.MarshalJSON 100.00% (1/1) @@ -75,82 +93,68 @@ github.com/conformal/btcjson/jsoncmd.go GetBlockCountCmd.MarshalJSON 100.00% github.com/conformal/btcjson/jsoncmd.go NewGetBlockHashCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go GetBlockHashCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewGetConnectionCountCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewGetTxOutSetInfoCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go GetConnectionCountCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewGetDifficultyCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go GetDifficultyCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewGetGenerateCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewGetTransactionCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go GetGenerateCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewGetHashesPerSecCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go NewGetRawMempoolCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go GetHashesPerSecCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewGetInfoCmd 100.00% (1/1) +github.com/conformal/btcjson/jsonapi.go Error.Error 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go GetInfoCmd.MarshalJSON 100.00% (1/1) +github.com/conformal/btcjson/jsonapi.go RpcCommand 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewGetMiningInfoCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go GetMiningInfoCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewGetNetTotalsCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.MarshalJSON 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetPeerInfoCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go GetPeerInfoCmd.MarshalJSON 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetRawMempoolCmd 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go GetRawMempoolCmd.MarshalJSON 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetBestBlockHashCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetTransactionCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetTxOutSetInfoCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewGetWorkCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewImportWalletCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewKeyPoolRefillCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewListAddressGroupingsCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewListLockUnspentCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewSendRawTransactionCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewSetAccountCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewSetTxFeeCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewSignMessageCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewStopCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewValidateAddressCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewVerifyMessageCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewWalletLockCmd 100.00% (1/1) -github.com/conformal/btcjson/jsoncmd.go NewWalletPassphraseCmd 100.00% (1/1) +github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.MarshalJSON 100.00% (1/1) github.com/conformal/btcjson/jsoncmd.go NewWalletPassphraseChangeCmd 100.00% (1/1) +github.com/conformal/btcjson/jsonapi.go ReadResultCmd 98.46% (64/65) github.com/conformal/btcjson/jsonapi.go CreateMessageWithId 96.18% (327/340) -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 NewVerifyChainCmd 88.89% (8/9) github.com/conformal/btcjson/jsoncmd.go NewListUnspentCmd 88.89% (8/9) -github.com/conformal/btcjson/jsoncmd.go ParseMarshaledCmd 87.06% (74/85) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAddressCmd.MarshalJSON 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewHelpCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go ImportPrivKeyCmd.MarshalJSON 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewGetTxOutCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewListAccountsCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.MarshalJSON 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewGetRawChangeAddressCmd 83.33% (5/6) +github.com/conformal/btcjson/jsoncmd.go ParseMarshaledCmd 87.21% (75/86) +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 NewGetTxOutCmd 83.33% (5/6) github.com/conformal/btcjson/jsoncmd.go NewSetGenerateCmd 83.33% (5/6) +github.com/conformal/btcjson/jsoncmd.go NewGetRawChangeAddressCmd 83.33% (5/6) github.com/conformal/btcjson/jsoncmd.go NewGetRawTransactionCmd 83.33% (5/6) +github.com/conformal/btcjson/jsoncmd.go NewListAccountsCmd 83.33% (5/6) github.com/conformal/btcjson/jsoncmd.go NewGetAddedNodeInfoCmd 83.33% (5/6) github.com/conformal/btcjson/jsoncmd.go NewSubmitBlockCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewAddMultisigAddressCmd 83.33% (5/6) +github.com/conformal/btcjson/jsoncmd.go NewHelpCmd 83.33% (5/6) github.com/conformal/btcjson/jsoncmd.go NewGetBlockTemplateCmd 83.33% (5/6) +github.com/conformal/btcjson/jsoncmd.go GetReceivedByAddressCmd.MarshalJSON 83.33% (5/6) +github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.MarshalJSON 83.33% (5/6) github.com/conformal/btcjson/jsoncmd.go NewSendFromCmd 80.95% (17/21) github.com/conformal/btcjson/jsoncmd.go NewMoveCmd 80.00% (12/15) -github.com/conformal/btcjson/jsoncmd.go NewGetBalanceCmd 80.00% (12/15) github.com/conformal/btcjson/jsoncmd.go NewGetReceivedByAddressCmd 80.00% (12/15) -github.com/conformal/btcjson/jsoncmd.go NewGetReceivedByAccountCmd 80.00% (12/15) github.com/conformal/btcjson/jsoncmd.go NewSendToAddressCmd 80.00% (12/15) +github.com/conformal/btcjson/jsoncmd.go NewGetBalanceCmd 80.00% (12/15) +github.com/conformal/btcjson/jsoncmd.go NewGetReceivedByAccountCmd 80.00% (12/15) github.com/conformal/btcjson/jsoncmd.go GetBlockTemplateCmd.UnmarshalJSON 79.41% (27/34) github.com/conformal/btcjson/jsoncmd.go NewImportPrivKeyCmd 78.57% (11/14) github.com/conformal/btcjson/jsoncmd.go SubmitBlockCmd.UnmarshalJSON 76.92% (20/26) -github.com/conformal/btcjson/jsoncmd.go ListUnspentCmd.UnmarshalJSON 76.19% (16/21) -github.com/conformal/btcjson/jsoncmd.go VerifyChainCmd.UnmarshalJSON 76.19% (16/21) -github.com/conformal/btcjson/jsoncmd.go GetNetworkHashPSCmd.UnmarshalJSON 76.19% (16/21) github.com/conformal/btcjson/jsoncmd.go GetBalanceCmd.UnmarshalJSON 76.19% (16/21) -github.com/conformal/btcjson/jsoncmd.go GetNewAddressCmd.UnmarshalJSON 75.00% (12/16) +github.com/conformal/btcjson/jsoncmd.go ListUnspentCmd.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 ImportPrivKeyCmd.UnmarshalJSON 75.00% (18/24) github.com/conformal/btcjson/jsoncmd.go HelpCmd.UnmarshalJSON 75.00% (12/16) github.com/conformal/btcjson/jsoncmd.go GetRawChangeAddressCmd.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% (3/4) -github.com/conformal/btcjson/jsoncmd.go GetTxOutCmd.MarshalJSON 75.00% (3/4) github.com/conformal/btcjson/jsoncmd.go ListAccountsCmd.MarshalJSON 75.00% (3/4) +github.com/conformal/btcjson/jsoncmd.go GetTxOutCmd.MarshalJSON 75.00% (3/4) github.com/conformal/btcjson/jsoncmd.go SendFromCmd.UnmarshalJSON 73.68% (28/38) -github.com/conformal/btcjson/jsoncmd.go GetRawTransactionCmd.UnmarshalJSON 73.68% (14/19) github.com/conformal/btcjson/jsoncmd.go SetGenerateCmd.UnmarshalJSON 73.68% (14/19) +github.com/conformal/btcjson/jsoncmd.go GetRawTransactionCmd.UnmarshalJSON 73.68% (14/19) github.com/conformal/btcjson/jsoncmd.go GetWorkCmd.UnmarshalJSON 73.53% (25/34) github.com/conformal/btcjson/jsoncmd.go SendToAddressCmd.UnmarshalJSON 73.33% (22/30) github.com/conformal/btcjson/jsoncmd.go AddMultisigAddressCmd.UnmarshalJSON 73.08% (19/26) @@ -158,57 +162,58 @@ github.com/conformal/btcjson/jsoncmd.go MoveCmd.UnmarshalJSON 72.73% (24/33) github.com/conformal/btcjson/jsoncmd.go GetAddedNodeInfoCmd.UnmarshalJSON 72.22% (13/18) github.com/conformal/btcjson/jsoncmd.go CreateRawTransactionCmd.UnmarshalJSON 71.74% (33/46) github.com/conformal/btcjson/jsoncmd.go CreateMultisigCmd.UnmarshalJSON 71.43% (15/21) -github.com/conformal/btcjson/jsoncmd.go StopCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go GetBestBlockHashCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go GetBlockCountCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go GetConnectionCountCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go GetDifficultyCmd.UnmarshalJSON 70.00% (7/10) github.com/conformal/btcjson/jsoncmd.go GetGenerateCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetRawMempoolCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go GetHashesPerSecCmd.UnmarshalJSON 70.00% (7/10) github.com/conformal/btcjson/jsoncmd.go GetInfoCmd.UnmarshalJSON 70.00% (7/10) github.com/conformal/btcjson/jsoncmd.go GetMiningInfoCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetBlockCountCmd.UnmarshalJSON 70.00% (7/10) github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetHashesPerSecCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetDifficultyCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetTxOutSetInfoCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go WalletLockCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetConnectionCountCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go ListLockUnspentCmd.UnmarshalJSON 70.00% (7/10) github.com/conformal/btcjson/jsoncmd.go GetPeerInfoCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go GetRawMempoolCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go GetTxOutSetInfoCmd.UnmarshalJSON 70.00% (7/10) github.com/conformal/btcjson/jsoncmd.go ListAddressGroupingsCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go ListLockUnspentCmd.UnmarshalJSON 70.00% (7/10) github.com/conformal/btcjson/jsoncmd.go PingCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetBestBlockHashCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go GetBlockCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go DecodeRawTransactionCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go StopCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go WalletLockCmd.UnmarshalJSON 70.00% (7/10) 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 ValidateAddressCmd.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 DecodeScriptCmd.UnmarshalJSON 69.23% (9/13) github.com/conformal/btcjson/jsoncmd.go SendRawTransactionCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go EncryptWalletCmd.UnmarshalJSON 69.23% (9/13) github.com/conformal/btcjson/jsoncmd.go BackupWalletCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go GetBlockHashCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go DebugLevelCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go GetBlockCmd.UnmarshalJSON 69.23% (9/13) github.com/conformal/btcjson/jsoncmd.go GetTransactionCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go DecodeRawTransactionCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go GetAccountCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go GetAccountAddressCmd.UnmarshalJSON 69.23% (9/13) github.com/conformal/btcjson/jsoncmd.go ImportWalletCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go ValidateAddressCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go GetBlockHashCmd.UnmarshalJSON 69.23% (9/13) github.com/conformal/btcjson/jsoncmd.go WalletPassphraseChangeCmd.UnmarshalJSON 68.75% (11/16) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseCmd.UnmarshalJSON 68.75% (11/16) -github.com/conformal/btcjson/jsoncmd.go SignMessageCmd.UnmarshalJSON 68.75% (11/16) github.com/conformal/btcjson/jsoncmd.go AddNodeCmd.UnmarshalJSON 68.75% (11/16) -github.com/conformal/btcjson/jsoncmd.go SetTxFeeCmd.UnmarshalJSON 68.75% (11/16) +github.com/conformal/btcjson/jsoncmd.go SignMessageCmd.UnmarshalJSON 68.75% (11/16) github.com/conformal/btcjson/jsoncmd.go SetAccountCmd.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 VerifyMessageCmd.UnmarshalJSON 68.42% (13/19) -github.com/conformal/btcjson/jsoncmd.go NewLockUnspentCmd 66.67% (4/6) github.com/conformal/btcjson/jsoncmd.go ListReceivedByAccountCmd.MarshalJSON 66.67% (4/6) +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/jsoncmd.go ImportPrivKeyCmd.UnmarshalJSON 62.50% (15/24) +github.com/conformal/btcjson/jsonfxns.go jsonRpcSend 62.50% (10/16) github.com/conformal/btcjson/jsoncmd.go SignRawTransactionCmd.MarshalJSON 62.50% (5/8) github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.UnmarshalJSON 61.90% (13/21) github.com/conformal/btcjson/jsoncmd.go GetReceivedByAddressCmd.UnmarshalJSON 61.90% (13/21) -github.com/conformal/btcjson/jsonapi.go RpcCommand 61.54% (8/13) +github.com/conformal/btcjson/jsonapi.go rpcCommand 61.54% (8/13) github.com/conformal/btcjson/jsoncmd.go GetTxOutCmd.UnmarshalJSON 59.09% (13/22) github.com/conformal/btcjson/jsoncmd.go ListAccountsCmd.UnmarshalJSON 56.25% (9/16) -github.com/conformal/btcjson/jsonapi.go RpcRawCommand 53.33% (8/15) +github.com/conformal/btcjson/jsonapi.go rpcRawCommand 53.33% (8/15) github.com/conformal/btcjson/jsoncmd.go ListReceivedByAccountCmd.UnmarshalJSON 47.62% (10/21) github.com/conformal/btcjson/jsoncmd.go NewListReceivedByAccountCmd 40.00% (6/15) github.com/conformal/btcjson/jsoncmd.go NewSignRawTransactionCmd 38.10% (8/21) @@ -216,163 +221,167 @@ github.com/conformal/btcjson/jsoncmd.go LockUnspentCmd.UnmarshalJSON 30.56% ( github.com/conformal/btcjson/jsoncmd.go SignRawTransactionCmd.UnmarshalJSON 22.03% (13/59) github.com/conformal/btcjson/jsoncmd.go SendManyCmd.UnmarshalJSON 0.00% (0/36) github.com/conformal/btcjson/jsoncmd.go ListTransactionsCmd.UnmarshalJSON 0.00% (0/26) -github.com/conformal/btcjson/jsoncmd.go ListSinceBlockCmd.UnmarshalJSON 0.00% (0/21) github.com/conformal/btcjson/jsoncmd.go NewListTransactionsCmd 0.00% (0/21) +github.com/conformal/btcjson/jsoncmd.go ListSinceBlockCmd.UnmarshalJSON 0.00% (0/21) github.com/conformal/btcjson/jsoncmd.go ListReceivedByAddressCmd.UnmarshalJSON 0.00% (0/21) -github.com/conformal/btcjson/jsoncmd.go NewListReceivedByAddressCmd 0.00% (0/15) github.com/conformal/btcjson/jsoncmd.go NewListSinceBlockCmd 0.00% (0/15) +github.com/conformal/btcjson/jsoncmd.go NewListReceivedByAddressCmd 0.00% (0/15) github.com/conformal/btcjson/jsoncmd.go NewSendManyCmd 0.00% (0/15) github.com/conformal/btcjson/jsoncmd.go SendManyCmd.MarshalJSON 0.00% (0/9) github.com/conformal/btcjson/jsoncmd.go ListTransactionsCmd.MarshalJSON 0.00% (0/8) github.com/conformal/btcjson/jsoncmd.go unparsableCmd.UnmarshalJSON 0.00% (0/6) -github.com/conformal/btcjson/jsoncmd.go ListSinceBlockCmd.MarshalJSON 0.00% (0/6) github.com/conformal/btcjson/jsoncmd.go ListReceivedByAddressCmd.MarshalJSON 0.00% (0/6) +github.com/conformal/btcjson/jsoncmd.go ListSinceBlockCmd.MarshalJSON 0.00% (0/6) github.com/conformal/btcjson/jsoncmd.go unparsableCmd.MarshalJSON 0.00% (0/2) -github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetTxOutCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetTxOutCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DecodeRawTransactionCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListAccountsCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListAccountsCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetTransactionCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetTransactionCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetAddressesByAccountCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetAddressesByAccountCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListAddressGroupingsCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListAddressGroupingsCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go CreateMultisigCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go WalletLockCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAddressCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetAddedNodeInfoCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetAddedNodeInfoCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go ListLockUnspentCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListLockUnspentCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go CreateMultisigCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAddressCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListReceivedByAccountCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListReceivedByAccountCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListReceivedByAddressCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListReceivedByAddressCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListSinceBlockCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListSinceBlockCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListTransactionsCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListTransactionsCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetRawTransactionCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetAccountAddressCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListUnspentCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListUnspentCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetRawTransactionCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetMiningInfoCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetRawMempoolCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetAccountAddressCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go LockUnspentCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go LockUnspentCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetRawMempoolCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go ListLockUnspentCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go newUnparsableCmd 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetAccountCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetAccountCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go MoveCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go MoveCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go BackupWalletCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go SignRawTransactionCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go EncryptWalletCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go EncryptWalletCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go PingCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go PingCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go BackupWalletCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetRawChangeAddressCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetRawChangeAddressCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsonapi.go TlsRpcCommand 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SendFromCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SendFromCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go VerifyMessageCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetPeerInfoCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SendManyCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SendManyCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go RegisterCustomCmd 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SendRawTransactionCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SendRawTransactionCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go AddNodeCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetPeerInfoCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go VerifyMessageCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SendToAddressCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SendToAddressCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go AddNodeCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetNewAddressCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetNewAddressCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SetAccountCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SetAccountCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetNetworkHashPSCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetNetworkHashPSCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DecodeRawTransactionCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DecodeRawTransactionCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SetGenerateCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SetGenerateCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go unparsableCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DebugLevelCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go CreateRawTransactionCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SetTxFeeCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SetTxFeeCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go AddMultisigAddressCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetMiningInfoCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseChangeCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go CreateRawTransactionCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go CreateMultisigCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SignMessageCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go VerifyChainCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SignMessageCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go EncryptWalletCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go EncryptWalletCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go CreateMultisigCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go SignRawTransactionCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go SignRawTransactionCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go BackupWalletCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go StopCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go StopCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go BackupWalletCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go SubmitBlockCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go SubmitBlockCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go AddNodeCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go AddNodeCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go ValidateAddressCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go ValidateAddressCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go AddMultisigAddressCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go AddMultisigAddressCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go VerifyChainCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go VerifyChainCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go unparsableCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go VerifyMessageCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go VerifyMessageCmd.Method 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 WalletLockCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go WalletLockCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go RegisterCustomCmd 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go WalletPassphraseCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go WalletPassphraseCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsonapi.go RpcRawCommand 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetPeerInfoCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetPeerInfoCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsonapi.go TlsRpcRawCommand 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetNewAddressCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetRawChangeAddressCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetRawChangeAddressCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetNewAddressCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetNetworkHashPSCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetNetworkHashPSCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetRawMempoolCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetRawMempoolCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go WalletPassphraseChangeCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetRawTransactionCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetRawTransactionCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetMiningInfoCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetMiningInfoCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go GetInfoCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetAccountCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetAccountCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go GetInfoCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go GetHashesPerSecCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go GetHashesPerSecCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetAccountAddressCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetAccountAddressCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go SignRawTransactionCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go unparsableCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go ValidateAddressCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetAddedNodeInfoCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetAddedNodeInfoCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetReceivedByAddressCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetReceivedByAddressCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go GetGenerateCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go GetGenerateCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetAddressesByAccountCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetAddressesByAccountCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go ValidateAddressCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetTransactionCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetTransactionCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go GetDifficultyCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetBalanceCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetBalanceCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go GetDifficultyCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetTxOutCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetTxOutCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go GetConnectionCountCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetBestBlockHashCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetBestBlockHashCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseChangeCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go GetConnectionCountCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go StopCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go StopCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go SubmitBlockCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockCountCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockCountCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetTxOutSetInfoCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetTxOutSetInfoCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go GetBlockTemplateCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go WalletPassphraseChangeCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go GetBlockTemplateCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockHashCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockHashCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go SubmitBlockCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go HelpCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go CreateRawTransactionCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go HelpCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetWorkCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go GetWorkCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetBlockHashCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetBlockHashCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go HelpCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go HelpCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetBlockCountCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetBlockCountCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ImportPrivKeyCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ImportPrivKeyCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetWorkCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DecodeRawTransactionCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetTxOutSetInfoCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetBlockCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetBlockCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetBestBlockHashCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ImportWalletCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ImportWalletCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go CreateRawTransactionCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetTxOutSetInfoCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go WalletLockCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetBestBlockHashCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetBalanceCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.Id 0.00% (0/1) -github.com/conformal/btcjson --------------------------------------- 66.99% (1737/2593) +github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetBalanceCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.Id 0.00% (0/1) +github.com/conformal/btcjson --------------------------------------- 66.98% (1759/2626)