Zebra/zebrad/src
Janito Vaqueiro Ferreira Filho 595d75d5fb
Fix synchronization delay issue (#2921)
* Create a `NowOrLater` helper type

A replacement for `FutureExt::now_or_never` that ensures that the task
is scheduled for waking up later when the inner future is ready.

* Use `NowOrLater` to fix possible delay bug

Previous usage of `now_or_never` meant that the underlying task wasn't
being scheduled to awake when the `Downloads` stream produced a new
item. Using `NowOrLater` instead fixes that issue.
2021-10-21 10:34:12 +10:00
..
async_ext Fix synchronization delay issue (#2921) 2021-10-21 10:34:12 +10:00
bin/zebrad Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00
commands Add a queue checker task, to make sure mempool transactions propagate (#2888) 2021-10-18 19:23:21 +00:00
components Fix synchronization delay issue (#2921) 2021-10-21 10:34:12 +10:00
application.rs Try flushing streams before exiting Zebra (#2911) 2021-10-20 13:57:09 +00:00
async_ext.rs Fix synchronization delay issue (#2921) 2021-10-21 10:34:12 +10:00
commands.rs Log configured network in every log message (#1568) 2021-01-12 07:46:56 +10:00
components.rs Gossip recently verified block hashes to peers (#2729) 2021-10-07 07:46:37 -03:00
config.rs Add a mempool config section (#2845) 2021-10-07 22:47:37 +00:00
lib.rs Fix synchronization delay issue (#2921) 2021-10-21 10:34:12 +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