Questions tagged [authorship]
The authorship tag has no usage guidance.
9
questions
1
vote
0
answers
32
views
Why does a block in Substrate-based blockchain have no author and no reward points?
We encountered an issue in our Substrate-based blockchain network where a block has no author and no reward points were given to any validator. This block was finalised. The block was an era-...
1
vote
0
answers
44
views
How to access keystore from pallet?
I want to add keys from a pallet in the keystore so that these keys can participate in the consensus[validation/block authorisation].
Is it possible to perform? If yes how?
1
vote
2
answers
70
views
Heartbeats are not sent from authority nodes
I was looking into the code of im-online pallet and found the following function here, if false is returned, a heartbeat is sent else AlreadyOnline Error is returned;
fn is_online_aux(authority_index: ...
6
votes
1
answer
120
views
When are you required to change the `authoring_version` for forkless runtime upgrades?
In the Substrate documentation here and the Substrate reference documentation here it says the authoring_version "is the version of the authorship interface. An authoring node will not attempt to ...
0
votes
1
answer
42
views
How to use frame support FindAuthor trait in a custom pallet
I'm trying to use frame_support::traits::FindAuthor in my pallet for a custom logic.
I imported the traits and I tried to loose coupling it.
this is my config:
#[pallet::config]
pub trait Config: ...
2
votes
0
answers
31
views
How to get the author of specific block in a custom pallet using Aura and pallet_authorship?
I wonder if it's possible to get the peerid of the author node of a specific block in a custom pallet, I implemented the authorship pallet for the runtime in this way.
1
vote
0
answers
41
views
pallet_authorship implementation doesn't work with Aura consensus
I'm trying to get the authors of the blocks using the pallet_authorship but when I inspect the authorship on the polkadot.js app I get none as result.
This is my implementation of the ...
7
votes
2
answers
202
views
What is the internal logic of `--force-authoring` flag?
From where do I get the internal logic of --force-authoring flag?
Here is my scenario:
I've added a custom chain-spec that is similar to the default one where we are setting the environment for --dev ...
3
votes
1
answer
46
views
What are uncles?
Coming across a few pallets like Authorship, one finds a frequent mention of Uncles or UncleGenerations. What are uncles?