zebra/zebra-consensus
Henry de Valence 2e4f4d8e87 consensus: fix span handling in BlockVerifier
The BlockVerifier constructed a tracing span and manually entered it
inside of an async block.  Manually entering spans inside async blocks
can cause problems where the span might not be entered and exited
correctly as the resulting future is polled.  Instead, using the
.instrument creates a wrapper future that handles the bookkeeping.

I changed the span name and contents to be consistent with the spans in
the checkpoint verifier.
2020-11-21 14:09:15 -05:00
..
src consensus: fix span handling in BlockVerifier 2020-11-21 14:09:15 -05:00
Cargo.toml deps: move to tokio 0.3, tower 0.4 2020-11-20 10:08:16 -08:00