Zebra/zebra-state
teor 394d16a5a5
2. fix(perf): When writing blocks to disk, don't block other async tasks (#4199)
* Only fetch block headers from the database to answer headers requests

* Move writing to the database to a blocking thread

* Add blocking threads to tests that need them

* Remove mempool downloader requirement for a populated state

And stop populating states that don't need it,
so we can use tokio::time::pause() in those tests.

* Improve debugging for an intermittent test failure

* Try to avoid a race condition populating the mempool in tests
2022-07-22 09:16:41 +10:00
..
proptest-regressions/service feat(state): add transparent address indexes to the non-finalized state (#4022) 2022-04-12 17:21:46 +00:00
src 2. fix(perf): When writing blocks to disk, don't block other async tasks (#4199) 2022-07-22 09:16:41 +10:00
tests 2. fix(perf): When writing blocks to disk, don't block other async tasks (#4199) 2022-07-22 09:16:41 +10:00
Cargo.toml build(deps): bump tokio from 1.19.2 to 1.20.0 (#4780) 2022-07-18 08:55:51 +10:00