We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I met the same error as #1088 when call GetBlockVerboseTx method
GetBlockVerboseTx
The getblock command is getblock "blockhash" ( verbosity ) now. the verbosity can be one of the 0, 1, 2 Command: getblock
getblock "blockhash" ( verbosity )
But in btcd
func (c *Client) GetBlockVerboseTx(blockHash *chainhash.Hash) (*btcjson.GetBlockVerboseResult, error) { return c.GetBlockVerboseTxAsync(blockHash).Receive() }
and the c.GetBlockVerboseTxAsync method is
func (c *Client) GetBlockVerboseTxAsync(blockHash *chainhash.Hash) FutureGetBlockVerboseResult { hash := "" if blockHash != nil { hash = blockHash.String() } cmd := btcjson.NewGetBlockCmd(hash, btcjson.Bool(true), btcjson.Bool(true)) return c.sendCmd(cmd) }
cmd := btcjson.NewGetBlockCmd(hash, btcjson.Bool(true), btcjson.Bool(true))
func NewGetBlockCmd(hash string, verbose, verboseTx *bool) *GetBlockCmd { return &GetBlockCmd{ Hash: hash, Verbose: verbose, VerboseTx: verboseTx, } }
https://bitcoin.org/en/developer-reference#getblock
The text was updated successfully, but these errors were encountered:
My fix for that issue: #1112
Sorry, something went wrong.
@asidorochev cool
No branches or pull requests
I met the same error as #1088 when call
GetBlockVerboseTx
methodThe getblock command is
getblock "blockhash" ( verbosity )
now. the verbosity can be one of the 0, 1, 2 Command: getblockBut in btcd
and the c.GetBlockVerboseTxAsync method is
cmd := btcjson.NewGetBlockCmd(hash, btcjson.Bool(true), btcjson.Bool(true))
https://bitcoin.org/en/developer-reference#getblock
The text was updated successfully, but these errors were encountered: