aboutsummaryrefslogtreecommitdiff
path: root/src/block.rs
Commit message (Collapse)AuthorAgeFilesLines
* Keep network status & ring in a tokio::sync::watchAlex Auvolat2020-04-111-12/+14
| | | | | | advantages - reads don't prevent preparing writes - can be followed from other parts of the system by cloning the receiver
* Local refcounting of blocksAlex Auvolat2020-04-111-29/+93
|
* Fix the Sync issue. Details:Alex Auvolat2020-04-101-5/+5
| | | | | | | So the HTTP client future of Hyper is not Sync, thus the stream that read blocks wasn't either. However Hyper's default Body type requires a stream to be Sync for wrap_stream. Solution: reimplement a custom HTTP body type.
* Why is it not Sync??Alex Auvolat2020-04-091-0/+49