Zebra/zebrad/tests/common
teor 4daedbc789
fix(consensus): Check that Zebra's state contains the social consensus chain on startup (#6163)
* Allow missing docs directly on derived error types

* Make Request::BestChainBlockHash redirect to the ReadStateService

* Re-write the checkpoint_sync documentation based on the latest consensus rules

* Expose the underlying iterator for CheckpointList

* Validate existing state block hashes at startup, but ignore the result

* Monitor state block hash checkpoint task in the start command

* Fix indentation

* Make logging consistent

* Explain the config needed for full security

* Tidy required checkpoints docs, expand other docs

* Add security and deprecation changelog entries

* Replace task handle vector with a struct

* Add a test that this consensus-critical code actually runs and finishes

* Make some state methods and types available in tests

* Add missing docs

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-21 05:30:29 +00:00
..
configs build(deps): bump toml from 0.5.11 to 0.6.0: changes `zebrad generate` to use double quoted strings, old configs still work (#6029) 2023-01-27 01:01:08 +00:00
get_block_template_rpcs removes excessive logs, adds docs. (#6102) 2023-02-05 22:18:18 +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(rpc): Add getpeerinfo RPC method (#5951) 2023-01-17 07:09:07 +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(rpc): Add `getblock` RPC fields to support the latest version of `zcash/lightwalletd` (#6134) 2023-02-14 08:52:58 +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 fix(test): avoid failing getblocktemplate acceptance test when the chain tip changes (#6091) 2023-02-03 05:48:49 +00:00
sync.rs fix(consensus): Check that Zebra's state contains the social consensus chain on startup (#6163) 2023-02-21 05:30:29 +00:00
test_type.rs change(rpc): Add getpeerinfo RPC method (#5951) 2023-01-17 07:09:07 +00:00