zebra/zebrad/src
teor d076b999f3
Fix syncer download order and add sync tests (#3168)
* Refactor so that RetryLimit::Future is std::marker::Sync

* Make the syncer future std::marker::Send by spawning tips futures

* Download synced blocks in chain order, not HashSet order

* Improve MockService failure messages

* Add closure-based responses to the MockService API

* Move MockChainTip to zebra-chain

* Add a MockChainTipSender type alias

* Support MockChainTip in ChainSync and its downloader

* Add syncer tests for obtain tips, extend tips, and wrong block hashes

* Add block too high tests for obtain tips and extend tips

* Add syncer tests for duplicate FindBlocks response hashes

* Allow longer request delays for mocked services in syncer tests
2022-01-11 14:11:35 -03:00
..
bin/zebrad Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00
commands Fix syncer download order and add sync tests (#3168) 2022-01-11 14:11:35 -03:00
components Fix syncer download order and add sync tests (#3168) 2022-01-11 14:11:35 -03:00
application.rs Security: When there are no new peers, stop crawler using CPU and writing logs (#3177) 2021-12-10 00:19:52 +00:00
commands.rs Add a copy-state zebrad command, which copies blocks between two state services (#3175) 2021-12-22 02:07:52 +00:00
components.rs Re-order Zebra startup, so slow services are launched last (#3091) 2021-11-23 17:42:44 +00:00
config.rs Stop downloading unnecessary blocks in Zebra acceptance tests (#3072) 2021-11-19 01:55:38 +00:00
lib.rs Use `MockedClientHandle` in other tests (#3241) 2021-12-22 06:13:26 +10:00
prelude.rs Fix a deadlock in TokioComponent. 2020-01-15 12:06:31 -08:00
sentry.rs Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00