Questions tagged [finality]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
3 answers
39 views

Cannot produce and finalize blocks with 2 node peer

I want to connect 2 nodes via custom chain specification via Internet IP public https://docs.substrate.io/tutorials/get-started/trusted-network/ I. STEP 1: Create Aura and grandpa --- NODE 01---- ...
user avatar
  • 11
2 votes
1 answer
41 views

Why are finalized blocks zero?

I've created a local live staging network with 1 bootnode and 3 validators. They all run in separate VMs. After block #52 I saw Backing off claiming new slot for block authorship: finality is lagging. ...
user avatar
  • 583
0 votes
0 answers
15 views

How to Revert a PoW Chain?

Both BABE and GRANDPA have a revert function. But PoW does not. Also here is says that any block in PoW can be reverted. To perform a revert I need to create an aux_revert and pass it into the ...
user avatar
  • 344
1 vote
0 answers
18 views

Can I Delete AURA and GRANDPA?

In this tutorial it is explained how to create a PoW node. Neither AURA nor GRANDPA are used throughout the tutorial. Also here it's stated that such node will not finalize produced blocks. The ...
user avatar
  • 344
2 votes
0 answers
34 views

Why has finalization stopped?

So I have a validator_count of 2, and 1 as minimum_validator_count. My validator is always online. I had my friend make another validator, had it enter the active validator set, and then join in as a ...
user avatar
4 votes
1 answer
42 views

Web3 Foundation - Accountable light clients via BLS multisignature rollup

I listened to a talk at zksummit7 titled "Web3 Foundation Accountable light clients via BLS multisignature rollup" given by Alistair from web3f. My interpretation of the talk is that ...
user avatar
1 vote
0 answers
14 views

How would adding more weight to grandpa voting of my initial authority at genesis affect finality?

Currently I am starting my node with one authority, and the genesis config for grandpa looks like this : grandpa: GrandpaConfig { authorities: vec![] }, Would it be possible to assign some privileged ...
user avatar
4 votes
2 answers
92 views

How to find how many transactions are pending from address to be added to block?

In my application, I need to fire multiple transactions from same address, and want to create statusCheck() function, which will let me know how many transactions of total are still pending to be ...
user avatar
-1 votes
2 answers
49 views

What are the various consensus mechanism and how are they best leveraged [closed]

Just looking for a further rationale around each consensus mechanism and what they aim to solve.
user avatar
  • 425
7 votes
1 answer
58 views

GRANDPA not finalizing with 2 of 3 nodes on network

I setup a small 3 node network that is using BABE and GRANDPA. When all 3 nodes are connected, it can produce blocks and finalize them. When 2 of the 3 nodes are connected, it can produce blocks but ...
user avatar
  • 215
6 votes
2 answers
64 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 ...
user avatar
1 vote
1 answer
34 views

How to use noteStalled to recover from a finality lagging chain?

From the documentation: Grandpa: noteStalled (delay: u32, best_finalized_block_number: u32) interface: api.tx.grandpa.noteStalled summary: Note that the current authority set of the GRANDPA finality ...
user avatar
  • 289
6 votes
1 answer
103 views

Recovering from stalled finality (babe/grandpa)

While experimenting with a relay chain testnet, Decentration and I ran into this issue with multiple validators on the same node, stalled finality and got the chain into slow block-making mode. We ...
user avatar
9 votes
1 answer
74 views

What is the difference between Babe, Aura, and Grandpa?

Substrate supports "pluggable consensus" so a developer can choose from among several consensus algorithms. The main Substrate repository contains four algorithms: Aura Babe Proof of Work ...
user avatar