Zebra/zebrad/tests/common
teor a6e6eb5051
change(rpc): Provide and parse a long poll ID, but don't use it yet (#5796)
* Declare support for long polling in the getblocktemplate RPC

* Add long polling input and ID structs

* Split out an update_checksum() function

* Implement LongPollId conversion to and from a string

* Use the LongPollId type in the RPC

* Add a longpollid field to the getblocktemplate parameters and responses, but don't use it yet

* Use multiple RPC threads with the getblocktemplate feature, to enable efficient long polling

* Update RPC snapshots

* Remove the "longpoll" capability, it's for miners, not nodes

* Use the long poll length constant in tests

* Update snapshots

* Remove the "long polling is not supported" error

* Fix minor compilation issues after the merge/rebase

* Expand long poll id comments

* Rename estimated height to local height, because that's what it actually is

* Add an invalid params test and fix the long poll id test

* Add modified config for config_tests

* Instrument all the config sub-tests

* Show the missing config file when the test fails

* Fix the generated config file

* Allow a clippy lint in tests

* Explain conversion from bytes to u32

* Remove a duplicate test case
2022-12-09 01:41:46 +00:00
..
configs change(rpc): Provide and parse a long poll ID, but don't use it yet (#5796) 2022-12-09 01:41:46 +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