mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-07-28 16:43:23 +00:00
chore: formatting
This commit is contained in:
parent
8009f81797
commit
5bcbb64f5d
@ -355,8 +355,9 @@ impl<BP: BlockPublisherTrait> SequencerCore<BP> {
|
|||||||
/// Feed one channel delta into the follow state: revert orphaned, apply
|
/// Feed one channel delta into the follow state: revert orphaned, apply
|
||||||
/// adopted, then finalize. Production builds on this same head.
|
/// adopted, then finalize. Production builds on this same head.
|
||||||
///
|
///
|
||||||
/// TODO: persist adopted/finalized peer blocks to the store here so restart and RPC see the full canonical chain, not just our own blocks.
|
/// TODO: persist adopted/finalized peer blocks to the store here so restart and RPC see the
|
||||||
/// Open question: will peers communicate in another way?
|
/// full canonical chain, not just our own blocks. Open question: will peers communicate in
|
||||||
|
/// another way?
|
||||||
fn on_follow(chain: Arc<Mutex<ChainState>>) -> block_publisher::OnFollowSink {
|
fn on_follow(chain: Arc<Mutex<ChainState>>) -> block_publisher::OnFollowSink {
|
||||||
Box::new(move |update: block_publisher::FollowUpdate| {
|
Box::new(move |update: block_publisher::FollowUpdate| {
|
||||||
let chain = Arc::clone(&chain);
|
let chain = Arc::clone(&chain);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user