Zebra/zebrad/tests/common
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
..
configs fix(sync): Pause new downloads when Zebra reaches the lookahead limit (#5561) 2022-11-09 04:42:04 +00:00
get_block_template_rpcs change(rpc): Adds ignored jsonrequestobject argument to the getblocktemplate RPC (#5772) 2022-12-07 22:38:53 +00:00
lightwalletd Fix typos (#5728) 2022-11-27 22:37:55 +00:00
cached_state.rs change(tests): adds RPC request client for condensing shared code (#5619) 2022-11-16 21:23:29 +00:00
check.rs T0. refactor(test): split zebrad acceptance tests into sub-modules (#3901) 2022-03-18 16:02:22 +00:00
config.rs fix(tests): add submitblock test to CI, and avoid copying the cached state directory in other tests (#5589) 2022-11-10 03:40:21 +00:00
failure_messages.rs fix(ci): test RPCs with zcash/lightwalletd, to fix post-NU5 failures in adityapk00/lightwalletd (#4553) 2022-06-01 07:36:59 -04:00
get_block_template_rpcs.rs change(ci): add acceptance test for getblocktemplate RPC in CI, and fix RPC bugs (#5761) 2022-12-01 19:39:01 +00:00
launch.rs fix(tests): add submitblock test to CI, and avoid copying the cached state directory in other tests (#5589) 2022-11-10 03:40:21 +00:00
lightwalletd.rs fix(tests): add submitblock test to CI, and avoid copying the cached state directory in other tests (#5589) 2022-11-10 03:40:21 +00:00
mod.rs change(tests): adds RPC request client for condensing shared code (#5619) 2022-11-16 21:23:29 +00:00
rpc_client.rs change(tests): adds RPC request client for condensing shared code (#5619) 2022-11-16 21:23:29 +00:00
sync.rs fix(ci): Increase full sync jobs and timeout (#5781) 2022-12-06 11:36:05 +10:00
test_type.rs change(ci): add acceptance test for getblocktemplate RPC in CI, and fix RPC bugs (#5761) 2022-12-01 19:39:01 +00:00