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 ...
Shawn Tabrizi's user avatar
  • 15.8k
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 ...
Bruno's user avatar
  • 8,130
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 ...
bkchr's user avatar
  • 10.5k
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 ...
bkchr's user avatar
  • 10.5k
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 ...
Adam Wierzbicki's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible