Skip to content
Commit e8e22b83 authored by André Silva's avatar André Silva Committed by GitHub
Browse files

babe: replace usage of SharedEpochChanges with internal RPC (#13883)



* babe: replace usage of SharedEpochChanges with internal RPC

* babe-rpc: fix tests

* babe: use SinkExt::send instead of Sender::try_send

SinkExt::send provides backpressure in case the channel is full

* Update client/consensus/babe/src/lib.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* babe: fix spawn

* babe: send handles backpressure

* babe: use testing::TaskExecutor

* babe-rpc: better error handling

---------

Co-authored-by: default avatarBastian Köcher <[email protected]>
parent 818976d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment