From e1dd773e7c8d964ced5bf8b6acc64adacab4b845 Mon Sep 17 00:00:00 2001 From: "John C. Vernaleo" Date: Wed, 30 Oct 2013 09:58:57 -0400 Subject: [PATCH] Improve test coverage and fix some bugs found by tests. Fix move need to convert amount to btc from satoshi Fix settxfee need to convert amount to btc from satoshi Fix for optional arg off by one in move. Fix for gettxout in optional args along with typo in error message. And lots of new tests. --- jsoncmd.go | 11 +- jsoncmd_test.go | 214 ++++++++++++++++++++++++- test_coverage.txt | 398 +++++++++++++++++++++++----------------------- 3 files changed, 415 insertions(+), 208 deletions(-) diff --git a/jsoncmd.go b/jsoncmd.go index 3f0bfe84..8a64daff 100644 --- a/jsoncmd.go +++ b/jsoncmd.go @@ -3226,11 +3226,10 @@ func (cmd *GetTxOutCmd) UnmarshalJSON(b []byte) error { output, ok := r.Params[1].(float64) if !ok { - return errors.New("first parameter output must be a number") + return errors.New("second parameter output must be a number") } - optArgs := make([]bool, 0, 1) - if len(r.Params) == 2 { + if len(r.Params) == 3 { mempool, ok := r.Params[2].(bool) if !ok { return errors.New("third optional parameter includemempool must be a bool") @@ -4673,7 +4672,7 @@ func NewMoveCmd(id interface{}, fromaccount string, toaccount string, amount int minconf = m } if len(optArgs) > 1 { - c, ok := optArgs[0].(string) + c, ok := optArgs[1].(string) if !ok { return nil, errors.New("second optional parameter comment is not a string") } @@ -4709,7 +4708,7 @@ func (cmd *MoveCmd) MarshalJSON() ([]byte, error) { Params: []interface{}{ cmd.FromAccount, cmd.ToAccount, - cmd.Amount, + float64(cmd.Amount) / 1e8, //convert to BTC }, } @@ -5564,7 +5563,7 @@ func (cmd *SetTxFeeCmd) MarshalJSON() ([]byte, error) { Method: "settxfee", Id: cmd.id, Params: []interface{}{ - cmd.Amount, + float64(cmd.Amount) / 1e8, //convert to BTC }, } diff --git a/jsoncmd_test.go b/jsoncmd_test.go index 891ec0f3..dd9fd9dd 100644 --- a/jsoncmd_test.go +++ b/jsoncmd_test.go @@ -484,6 +484,193 @@ var jsoncmdtests = []struct { id: float64(1), }, }, + { + name: "basic gettxout", + f: func() (Cmd, error) { + return NewGetTxOutCmd(float64(1), + "sometx", + 10) + }, + result: &GetTxOutCmd{ + id: float64(1), + Txid: "sometx", + Output: 10, + }, + }, + { + name: "basic gettxout + optional", + f: func() (Cmd, error) { + return NewGetTxOutCmd(float64(1), + "sometx", + 10, + false) + }, + result: &GetTxOutCmd{ + id: float64(1), + Txid: "sometx", + Output: 10, + IncludeMempool: false, + }, + }, + { + name: "basic gettxsetoutinfo", + f: func() (Cmd, error) { + return NewGetTxOutSetInfoCmd(float64(1)) + }, + result: &GetTxOutSetInfoCmd{ + id: float64(1), + }, + }, + { + name: "basic getwork", + f: func() (Cmd, error) { + return NewGetWorkCmd(float64(1), + WorkRequest{ + Data: "some data", + Target: "our target", + Algorithm: "algo", + }) + }, + result: &GetWorkCmd{ + id: float64(1), + Request: WorkRequest{ + Data: "some data", + Target: "our target", + Algorithm: "algo", + }, + }, + }, + { + name: "basic help", + f: func() (Cmd, error) { + return NewHelpCmd(float64(1)) + }, + result: &HelpCmd{ + id: float64(1), + }, + }, + { + name: "basic help + optional cmd", + f: func() (Cmd, error) { + return NewHelpCmd(float64(1), + "getinfo") + }, + result: &HelpCmd{ + id: float64(1), + Command: "getinfo", + }, + }, + { + name: "basic importprivkey", + f: func() (Cmd, error) { + return NewImportPrivKeyCmd(float64(1), + "somereallongprivatekey") + }, + result: &ImportPrivKeyCmd{ + id: float64(1), + PrivKey: "somereallongprivatekey", + }, + }, + { + name: "basic importprivkey + opts", + f: func() (Cmd, error) { + return NewImportPrivKeyCmd(float64(1), + "somereallongprivatekey", + "some text", + false) + }, + result: &ImportPrivKeyCmd{ + id: float64(1), + PrivKey: "somereallongprivatekey", + Label: "some text", + ReScan: false, + }, + }, + { + name: "basic importwallet", + f: func() (Cmd, error) { + return NewImportWalletCmd(float64(1), + "walletfilename.dat") + }, + result: &ImportWalletCmd{ + id: float64(1), + Filename: "walletfilename.dat", + }, + }, + { + name: "basic keypoolrefill", + f: func() (Cmd, error) { + return NewKeyPoolRefillCmd(float64(1)) + }, + result: &KeyPoolRefillCmd{ + id: float64(1), + }, + }, + { + name: "basic listaccounts", + f: func() (Cmd, error) { + return NewListAccountsCmd(float64(1), 1) + }, + result: &ListAccountsCmd{ + id: float64(1), + MinConf: 1, + }, + }, + { + name: "basic listaddressgroupings", + f: func() (Cmd, error) { + return NewListAddressGroupingsCmd(float64(1)) + }, + result: &ListAddressGroupingsCmd{ + id: float64(1), + }, + }, + { + name: "basic lockunspent", + f: func() (Cmd, error) { + return NewLockUnspentCmd(float64(1), true) + }, + result: &LockUnspentCmd{ + id: float64(1), + Unlock: true, + }, + }, + { + name: "basic move", + f: func() (Cmd, error) { + return NewMoveCmd(float64(1), + "account1", + "account2", + 12, + 1) + }, + result: &MoveCmd{ + id: float64(1), + FromAccount: "account1", + ToAccount: "account2", + Amount: 12, + MinConf: 1, // the default + }, + }, + { + name: "basic move + optionals", + f: func() (Cmd, error) { + return NewMoveCmd(float64(1), + "account1", + "account2", + 12, + 1, + "some comment") + }, + result: &MoveCmd{ + id: float64(1), + FromAccount: "account1", + ToAccount: "account2", + Amount: 12, + MinConf: 1, // the default + Comment: "some comment", + }, + }, { name: "basic ping", f: func() (Cmd, error) { @@ -510,6 +697,27 @@ var jsoncmdtests = []struct { MinConf: 1, // the default }, }, + { + name: "basic sendfrom + options", + f: func() (Cmd, error) { + return NewSendFromCmd(float64(1), + "account", + "address", + 12, + 1, + "a comment", + "comment to") + }, + result: &SendFromCmd{ + id: float64(1), + FromAccount: "account", + ToAddress: "address", + Amount: 12, + MinConf: 1, // the default + Comment: "a comment", + CommentTo: "comment to", + }, + }, { name: "basic sendrawtransaction", f: func() (Cmd, error) { @@ -585,16 +793,16 @@ var jsoncmdtests = []struct { GenProcLimit: 10, }, }, - /* { + { name: "basic settxfee", f: func() (Cmd, error) { return NewSetTxFeeCmd(float64(1), 10) }, result: &SetTxFeeCmd{ id: float64(1), - Amount: 100000000, + Amount: 10, }, - },*/ + }, { name: "basic signrawtransaction", f: func() (Cmd, error) { diff --git a/test_coverage.txt b/test_coverage.txt index 5f467a83..1c0df6a9 100644 --- a/test_coverage.txt +++ b/test_coverage.txt @@ -2,31 +2,40 @@ 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 GetBalanceCmd.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/jsoncmd.go GetBalanceCmd.MarshalJSON 100.00% (6/6) +github.com/conformal/btcjson/jsoncmd.go GetNetworkHashPSCmd.MarshalJSON 100.00% (6/6) +github.com/conformal/btcjson/jsoncmd.go MoveCmd.MarshalJSON 100.00% (6/6) github.com/conformal/btcjson/jsonapi.go jsonWithArgs 100.00% (5/5) +github.com/conformal/btcjson/jsoncmd.go SetGenerateCmd.MarshalJSON 100.00% (4/4) github.com/conformal/btcjson/jsoncmd.go GetNewAddressCmd.MarshalJSON 100.00% (4/4) +github.com/conformal/btcjson/jsoncmd.go CreateRawTransactionCmd.MarshalJSON 100.00% (4/4) github.com/conformal/btcjson/jsoncmd.go GetBlockTemplateCmd.MarshalJSON 100.00% (4/4) github.com/conformal/btcjson/jsoncmd.go GetAddedNodeInfoCmd.MarshalJSON 100.00% (4/4) -github.com/conformal/btcjson/jsoncmd.go SetGenerateCmd.MarshalJSON 100.00% (4/4) -github.com/conformal/btcjson/jsoncmd.go CreateRawTransactionCmd.MarshalJSON 100.00% (4/4) github.com/conformal/btcjson/jsoncmd.go AddMultisigAddressCmd.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 ValidateAddressCmd.MarshalJSON 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseChangeCmd.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 StopCmd.MarshalJSON 100.00% (2/2) -github.com/conformal/btcjson/jsoncmd.go SetAccountCmd.MarshalJSON 100.00% (2/2) github.com/conformal/btcjson/jsoncmd.go SendRawTransactionCmd.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 VerifyMessageCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go WalletLockCmd.MarshalJSON 100.00% (2/2) github.com/conformal/btcjson/jsonapi.go CreateMessage 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 WalletPassphraseCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go ImportWalletCmd.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 SetTxFeeCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go SetAccountCmd.MarshalJSON 100.00% (2/2) +github.com/conformal/btcjson/jsoncmd.go WalletPassphraseChangeCmd.MarshalJSON 100.00% (2/2) github.com/conformal/btcjson/jsoncmd.go NewPingCmd 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) @@ -73,8 +82,14 @@ github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.MarshalJSON 100.00% ( 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 NewGetBestBlockHashCmd 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 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 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) @@ -82,252 +97,136 @@ 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 NewWalletPassphraseChangeCmd 100.00% (1/1) 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 NewSetGenerateCmd 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 NewHelpCmd 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 ImportPrivKeyCmd.MarshalJSON 83.33% (5/6) github.com/conformal/btcjson/jsoncmd.go NewGetBlockTemplateCmd 83.33% (5/6) -github.com/conformal/btcjson/jsoncmd.go NewGetBalanceCmd 80.00% (12/15) +github.com/conformal/btcjson/jsoncmd.go NewGetNewAddressCmd 83.33% (5/6) +github.com/conformal/btcjson/jsoncmd.go NewListAccountsCmd 83.33% (5/6) +github.com/conformal/btcjson/jsoncmd.go NewAddMultisigAddressCmd 83.33% (5/6) +github.com/conformal/btcjson/jsoncmd.go NewSendFromCmd 80.95% (17/21) 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 NewMoveCmd 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 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 GetNetworkHashPSCmd.UnmarshalJSON 76.19% (16/21) +github.com/conformal/btcjson/jsoncmd.go HelpCmd.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 ListAccountsCmd.MarshalJSON 75.00% (3/4) +github.com/conformal/btcjson/jsoncmd.go GetTxOutCmd.MarshalJSON 75.00% (3/4) github.com/conformal/btcjson/jsoncmd.go SubmitBlockCmd.MarshalJSON 75.00% (3/4) +github.com/conformal/btcjson/jsoncmd.go ParseMarshaledCmd 74.12% (63/85) +github.com/conformal/btcjson/jsoncmd.go SendFromCmd.UnmarshalJSON 73.68% (28/38) github.com/conformal/btcjson/jsoncmd.go SetGenerateCmd.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) +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 GetBlockCountCmd.UnmarshalJSON 70.00% (7/10) github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetDifficultyCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetBestBlockHashCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go PingCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go StopCmd.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 WalletLockCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetMiningInfoCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go GetHashesPerSecCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go PingCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go GetDifficultyCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go GetInfoCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go GetTxOutSetInfoCmd.UnmarshalJSON 70.00% (7/10) github.com/conformal/btcjson/jsoncmd.go GetPeerInfoCmd.UnmarshalJSON 70.00% (7/10) github.com/conformal/btcjson/jsoncmd.go GetConnectionCountCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go GetInfoCmd.UnmarshalJSON 70.00% (7/10) -github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go BackupWalletCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go StopCmd.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 ListAddressGroupingsCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go GetBestBlockHashCmd.UnmarshalJSON 70.00% (7/10) +github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.UnmarshalJSON 70.00% (7/10) github.com/conformal/btcjson/jsoncmd.go ValidateAddressCmd.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 EncryptWalletCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go GetBlockHashCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.UnmarshalJSON 69.23% (9/13) -github.com/conformal/btcjson/jsoncmd.go GetAddressesByAccountCmd.UnmarshalJSON 69.23% (9/13) github.com/conformal/btcjson/jsoncmd.go SendRawTransactionCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go ImportWalletCmd.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 EncryptWalletCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go GetAccountCmd.UnmarshalJSON 69.23% (9/13) +github.com/conformal/btcjson/jsoncmd.go GetAddressesByAccountCmd.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 GetAccountAddressCmd.UnmarshalJSON 69.23% (9/13) +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 SetAccountCmd.UnmarshalJSON 68.75% (11/16) 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 AddNodeCmd.UnmarshalJSON 68.75% (11/16) -github.com/conformal/btcjson/jsoncmd.go SetAccountCmd.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 NewAddNodeCmd 66.67% (2/3) +github.com/conformal/btcjson/jsoncmd.go ImportPrivKeyCmd.UnmarshalJSON 62.50% (15/24) github.com/conformal/btcjson/jsoncmd.go SignRawTransactionCmd.MarshalJSON 62.50% (5/8) -github.com/conformal/btcjson/jsoncmd.go SendFromCmd.MarshalJSON 62.50% (5/8) github.com/conformal/btcjson/jsonapi.go RpcCommand 61.54% (8/13) -github.com/conformal/btcjson/jsoncmd.go ParseMarshaledCmd 60.00% (51/85) +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/jsoncmd.go NewSendFromCmd 52.38% (11/21) -github.com/conformal/btcjson/jsoncmd.go SendFromCmd.UnmarshalJSON 50.00% (19/38) github.com/conformal/btcjson/jsoncmd.go NewSubmitBlockCmd 50.00% (3/6) github.com/conformal/btcjson/jsoncmd.go SubmitBlockCmd.UnmarshalJSON 42.31% (11/26) github.com/conformal/btcjson/jsoncmd.go NewSignRawTransactionCmd 38.10% (8/21) +github.com/conformal/btcjson/jsoncmd.go LockUnspentCmd.UnmarshalJSON 30.56% (11/36) github.com/conformal/btcjson/jsoncmd.go SignRawTransactionCmd.UnmarshalJSON 22.03% (13/59) -github.com/conformal/btcjson/jsoncmd.go LockUnspentCmd.UnmarshalJSON 0.00% (0/36) -github.com/conformal/btcjson/jsoncmd.go GetWorkCmd.UnmarshalJSON 0.00% (0/34) -github.com/conformal/btcjson/jsoncmd.go MoveCmd.UnmarshalJSON 0.00% (0/33) github.com/conformal/btcjson/jsoncmd.go SendManyCmd.UnmarshalJSON 0.00% (0/33) github.com/conformal/btcjson/jsoncmd.go ListTransactionsCmd.UnmarshalJSON 0.00% (0/26) -github.com/conformal/btcjson/jsoncmd.go ImportPrivKeyCmd.UnmarshalJSON 0.00% (0/24) -github.com/conformal/btcjson/jsoncmd.go GetTxOutCmd.UnmarshalJSON 0.00% (0/22) +github.com/conformal/btcjson/jsoncmd.go NewListTransactionsCmd 0.00% (0/21) github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.UnmarshalJSON 0.00% (0/21) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAddressCmd.UnmarshalJSON 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 ListReceivedByAccountCmd.UnmarshalJSON 0.00% (0/21) -github.com/conformal/btcjson/jsoncmd.go NewListTransactionsCmd 0.00% (0/21) +github.com/conformal/btcjson/jsoncmd.go GetReceivedByAddressCmd.UnmarshalJSON 0.00% (0/21) github.com/conformal/btcjson/jsoncmd.go ListUnspentCmd.UnmarshalJSON 0.00% (0/21) github.com/conformal/btcjson/jsoncmd.go GetRawTransactionCmd.UnmarshalJSON 0.00% (0/19) -github.com/conformal/btcjson/jsoncmd.go HelpCmd.UnmarshalJSON 0.00% (0/16) -github.com/conformal/btcjson/jsoncmd.go ListAccountsCmd.UnmarshalJSON 0.00% (0/16) github.com/conformal/btcjson/jsoncmd.go GetRawChangeAddressCmd.UnmarshalJSON 0.00% (0/16) github.com/conformal/btcjson/jsoncmd.go SignMessageCmd.UnmarshalJSON 0.00% (0/16) -github.com/conformal/btcjson/jsoncmd.go SetTxFeeCmd.UnmarshalJSON 0.00% (0/16) -github.com/conformal/btcjson/jsoncmd.go NewListSinceBlockCmd 0.00% (0/15) -github.com/conformal/btcjson/jsoncmd.go NewListReceivedByAccountCmd 0.00% (0/15) -github.com/conformal/btcjson/jsoncmd.go NewListReceivedByAddressCmd 0.00% (0/15) github.com/conformal/btcjson/jsoncmd.go NewGetReceivedByAccountCmd 0.00% (0/15) -github.com/conformal/btcjson/jsoncmd.go NewMoveCmd 0.00% (0/15) -github.com/conformal/btcjson/jsoncmd.go NewGetReceivedByAddressCmd 0.00% (0/15) github.com/conformal/btcjson/jsoncmd.go NewSendManyCmd 0.00% (0/15) -github.com/conformal/btcjson/jsoncmd.go NewImportPrivKeyCmd 0.00% (0/14) +github.com/conformal/btcjson/jsoncmd.go NewGetReceivedByAddressCmd 0.00% (0/15) +github.com/conformal/btcjson/jsoncmd.go NewListReceivedByAccountCmd 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 GetTransactionCmd.UnmarshalJSON 0.00% (0/13) -github.com/conformal/btcjson/jsoncmd.go ImportWalletCmd.UnmarshalJSON 0.00% (0/13) github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.UnmarshalJSON 0.00% (0/13) -github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.UnmarshalJSON 0.00% (0/10) -github.com/conformal/btcjson/jsoncmd.go GetRawMempoolCmd.UnmarshalJSON 0.00% (0/10) -github.com/conformal/btcjson/jsoncmd.go GetTxOutSetInfoCmd.UnmarshalJSON 0.00% (0/10) -github.com/conformal/btcjson/jsoncmd.go ListAddressGroupingsCmd.UnmarshalJSON 0.00% (0/10) github.com/conformal/btcjson/jsoncmd.go ListLockUnspentCmd.UnmarshalJSON 0.00% (0/10) +github.com/conformal/btcjson/jsoncmd.go GetRawMempoolCmd.UnmarshalJSON 0.00% (0/10) github.com/conformal/btcjson/jsoncmd.go SendManyCmd.MarshalJSON 0.00% (0/9) github.com/conformal/btcjson/jsoncmd.go NewListUnspentCmd 0.00% (0/9) github.com/conformal/btcjson/jsoncmd.go ListTransactionsCmd.MarshalJSON 0.00% (0/8) -github.com/conformal/btcjson/jsoncmd.go ImportPrivKeyCmd.MarshalJSON 0.00% (0/6) -github.com/conformal/btcjson/jsoncmd.go NewHelpCmd 0.00% (0/6) -github.com/conformal/btcjson/jsoncmd.go unparsableCmd.UnmarshalJSON 0.00% (0/6) -github.com/conformal/btcjson/jsoncmd.go NewGetTxOutCmd 0.00% (0/6) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAddressCmd.MarshalJSON 0.00% (0/6) -github.com/conformal/btcjson/jsoncmd.go MoveCmd.MarshalJSON 0.00% (0/6) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.MarshalJSON 0.00% (0/6) github.com/conformal/btcjson/jsoncmd.go ListUnspentCmd.MarshalJSON 0.00% (0/6) -github.com/conformal/btcjson/jsoncmd.go NewLockUnspentCmd 0.00% (0/6) -github.com/conformal/btcjson/jsoncmd.go NewListAccountsCmd 0.00% (0/6) -github.com/conformal/btcjson/jsoncmd.go ListSinceBlockCmd.MarshalJSON 0.00% (0/6) -github.com/conformal/btcjson/jsoncmd.go NewGetRawTransactionCmd 0.00% (0/6) -github.com/conformal/btcjson/jsoncmd.go ListReceivedByAddressCmd.MarshalJSON 0.00% (0/6) -github.com/conformal/btcjson/jsoncmd.go ListReceivedByAccountCmd.MarshalJSON 0.00% (0/6) github.com/conformal/btcjson/jsoncmd.go NewGetRawChangeAddressCmd 0.00% (0/6) -github.com/conformal/btcjson/jsoncmd.go LockUnspentCmd.MarshalJSON 0.00% (0/4) -github.com/conformal/btcjson/jsoncmd.go GetRawChangeAddressCmd.MarshalJSON 0.00% (0/4) +github.com/conformal/btcjson/jsoncmd.go NewGetRawTransactionCmd 0.00% (0/6) +github.com/conformal/btcjson/jsoncmd.go GetReceivedByAddressCmd.MarshalJSON 0.00% (0/6) +github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.MarshalJSON 0.00% (0/6) +github.com/conformal/btcjson/jsoncmd.go ListReceivedByAddressCmd.MarshalJSON 0.00% (0/6) +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 ListReceivedByAccountCmd.MarshalJSON 0.00% (0/6) github.com/conformal/btcjson/jsoncmd.go GetRawTransactionCmd.MarshalJSON 0.00% (0/4) -github.com/conformal/btcjson/jsoncmd.go HelpCmd.MarshalJSON 0.00% (0/4) -github.com/conformal/btcjson/jsoncmd.go GetTxOutCmd.MarshalJSON 0.00% (0/4) -github.com/conformal/btcjson/jsoncmd.go ListAccountsCmd.MarshalJSON 0.00% (0/4) -github.com/conformal/btcjson/jsoncmd.go GetWorkCmd.MarshalJSON 0.00% (0/2) -github.com/conformal/btcjson/jsoncmd.go ImportWalletCmd.MarshalJSON 0.00% (0/2) -github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.MarshalJSON 0.00% (0/2) +github.com/conformal/btcjson/jsoncmd.go GetRawChangeAddressCmd.MarshalJSON 0.00% (0/4) github.com/conformal/btcjson/jsoncmd.go GetTransactionCmd.MarshalJSON 0.00% (0/2) github.com/conformal/btcjson/jsoncmd.go ListLockUnspentCmd.MarshalJSON 0.00% (0/2) -github.com/conformal/btcjson/jsoncmd.go GetTxOutSetInfoCmd.MarshalJSON 0.00% (0/2) -github.com/conformal/btcjson/jsoncmd.go SetTxFeeCmd.MarshalJSON 0.00% (0/2) -github.com/conformal/btcjson/jsoncmd.go ListAddressGroupingsCmd.MarshalJSON 0.00% (0/2) -github.com/conformal/btcjson/jsoncmd.go unparsableCmd.MarshalJSON 0.00% (0/2) github.com/conformal/btcjson/jsoncmd.go SignMessageCmd.MarshalJSON 0.00% (0/2) -github.com/conformal/btcjson/jsoncmd.go DecodeRawTransactionCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DecodeRawTransactionCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go NewDecodeScriptCmd 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.MarshalJSON 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseChangeCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go StopCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go StopCmd.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 GetAccountCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetAccountCmd.Method 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 GetAccountAddressCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetAccountAddressCmd.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 BackupWalletCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetConnectionCountCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.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 GetBalanceCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetBalanceCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go BackupWalletCmd.Id 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 ValidateAddressCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go ValidateAddressCmd.Method 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 unparsableCmd.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 VerifyChainCmd.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 VerifyChainCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockTemplateCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetBlockTemplateCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go unparsableCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetConnectionCountCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetDifficultyCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetDifficultyCmd.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 GetGenerateCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetGenerateCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go newUnparsableCmd 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetHashesPerSecCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetHashesPerSecCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go WalletLockCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetInfoCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetInfoCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go WalletLockCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetMiningInfoCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetMiningInfoCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go unparsableCmd.MarshalJSON 0.00% (0/2) github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetNetworkHashPSCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetNetworkHashPSCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go AddNodeCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetNewAddressCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetNewAddressCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go AddNodeCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetPeerInfoCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetPeerInfoCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go RegisterCustomCmd 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 NewGetRawMempoolCmd 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 GetRawMempoolCmd.MarshalJSON 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 GetReceivedByAccountCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.Method 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 NewGetTransactionCmd 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 GetTxOutCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go GetTxOutCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go NewGetTxOutSetInfoCmd 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 NewGetWorkCmd 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 HelpCmd.Id 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go HelpCmd.Method 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 NewImportWalletCmd 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 NewKeyPoolRefillCmd 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.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 NewListAddressGroupingsCmd 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 BackupWalletCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetNetTotalsCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go NewListLockUnspentCmd 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) @@ -341,38 +240,139 @@ 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 ListUnspentCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go ListUnspentCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go newUnparsableCmd 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 GetMiningInfoCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetMiningInfoCmd.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 VerifyMessageCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go VerifyMessageCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SignRawTransactionCmd.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 AddNodeCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetInfoCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetInfoCmd.Id 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 AddNodeCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetHashesPerSecCmd.Method 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 GetHashesPerSecCmd.Id 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 SignRawTransactionCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go unparsableCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go VerifyChainCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetGenerateCmd.Method 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 AddMultisigAddressCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go WalletPassphraseChangeCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetGenerateCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go SignRawTransactionCmd.Method 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 AddMultisigAddressCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go AddMultisigAddressCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go VerifyChainCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetDifficultyCmd.Method 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 NewSetTxFeeCmd 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go AddMultisigAddressCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetDifficultyCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go WalletPassphraseChangeCmd.Id 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 unparsableCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetConnectionCountCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go NewSignMessageCmd 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SignMessageCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go SignMessageCmd.Method 0.00% (0/1) -github.com/conformal/btcjson/jsoncmd.go CreateMultisigCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go NewDecodeScriptCmd 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DecodeScriptCmd.MarshalJSON 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DumpPrivKeyCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetConnectionCountCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go DumpWalletCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go ValidateAddressCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetBlockTemplateCmd.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 GetBlockTemplateCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go ValidateAddressCmd.Id 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 WalletPassphraseChangeCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetBlockHashCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go StopCmd.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 StopCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetBlockHashCmd.Id 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 DecodeRawTransactionCmd.Method 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 GetBlockCountCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetBlockCountCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go SubmitBlockCmd.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 DecodeRawTransactionCmd.Id 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.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetBestBlockHashCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go SubmitBlockCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetRawMempoolCmd.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 GetReceivedByAccountCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetReceivedByAccountCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetRawMempoolCmd.MarshalJSON 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 NewGetTransactionCmd 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 GetRawMempoolCmd.Method 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 NewGetRawMempoolCmd 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 GetRawChangeAddressCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetRawChangeAddressCmd.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 CreateMultisigCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go WalletLockCmd.Method 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 CreateMultisigCmd.Id 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/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 WalletLockCmd.Id 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go CreateRawTransactionCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go WalletPassphraseCmd.Id 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 GetNewAddressCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go GetNewAddressCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go WalletPassphraseCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.Id 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go KeyPoolRefillCmd.Method 0.00% (0/1) +github.com/conformal/btcjson/jsoncmd.go BackupWalletCmd.Method 0.00% (0/1) github.com/conformal/btcjson/jsoncmd.go CreateRawTransactionCmd.Method 0.00% (0/1) -github.com/conformal/btcjson --------------------------------------- 47.88% (1240/2590) +github.com/conformal/btcjson/jsoncmd.go GetNetworkHashPSCmd.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 GetNetworkHashPSCmd.Id 0.00% (0/1) +github.com/conformal/btcjson --------------------------------------- 58.07% (1504/2590)