7
votes
What is the internal logic of `--force-authoring` flag?
The --force-authoring flag tells a node to produce blocks when it is "offline", i.e. has no other peers.
By default, a node assumes if it has no peers, that it is not connected to the ...
4
votes
What is the internal logic of `--force-authoring` flag?
--force-authoring is defined here.
It is part of the config so you can call it internally like so config.force_authoring.
As far as it's logic in the code-base, I see it being used explicitly here:
if ...
3
votes
Accepted
When are you required to change the `authoring_version` for forkless runtime upgrades?
The idea behind authoring_version was to indicate that something in the api between the runtime and the node changed that makes the node unable to build new blocks. We almost never bumped this version ...
1
vote
Heartbeats are not sent from authority nodes
You don't need to send a heartbeat, if the node has produced a block. Producing a block is essentially the same and even better to "proof" that you were online in a session. So, im-online ...
1
vote
Accepted
How to use frame support FindAuthor trait in a custom pallet
These are pre-runtime digests, which as the documentation says are
messages from the consensus engine to the runtime, although the consensus engine can (and should) read them itself to avoid code and ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
authorship × 7polkadot × 2
pallet × 1
chainspec × 1
grandpa × 1
block × 1
aura × 1
finality × 1
terminology × 1
historical × 1
runtime-upgrade × 1
cli × 1
pallet-imonline × 1