Zebra/zebrad/tests/common/get_block_template_rpcs
Arya 4664ab289c
change(rpc): Adds ignored jsonrequestobject argument to the getblocktemplate RPC (#5772)
* Adds ignored jsonrequestobject argument

* adds docs

returns an error for unsupported options

* returns an error when longpollid is provided

* comments out capabilities enum and uses Vec<String> instead

* fixes spelling mistake

* uncomments GetBlockTemplateCapability enum and uses allow(dead_code) instead

* adds UnknownCapability

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

* adds derived traits.

* removes unused [allow(dead_code)]

* test invalid params error for block data

* add capablity to gbt vectors test

* reverts passing in default options to getblocktemplate request in vectors test

* adds a jsonrequestobject with an unknown capability to gbt acceptance test

Co-authored-by: teor <teor@riseup.net>
2022-12-07 22:38:53 +00:00
..
get_block_template.rs change(rpc): Adds ignored jsonrequestobject argument to the getblocktemplate RPC (#5772) 2022-12-07 22:38:53 +00:00
submit_block.rs change(ci): add acceptance test for getblocktemplate RPC in CI, and fix RPC bugs (#5761) 2022-12-01 19:39:01 +00:00