mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 01:07:57 +00:00
proposer: return optional block (#2834)
This opens up the proposer to only optionally create blocks. Nodes may only make blocks when there are transactions or the chain is scheduled. --------- Co-authored-by: command-bot <>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
title: "proposer: return optional block"
|
||||
|
||||
doc:
|
||||
- audience: Node Dev
|
||||
description: |
|
||||
The `ProposerInterface` trait now returns an optional `Proposal`, allowing
|
||||
for no block to be created. This is a breaking change that only impacts custom
|
||||
`ProposerInterface` implementations. The change allows more flexibility in choosing
|
||||
when to create blocks.
|
||||
|
||||
crates:
|
||||
- name: "cumulus-client-consensus-aura"
|
||||
- name: "cumulus-client-consensus-proposer"
|
||||
Reference in New Issue
Block a user