Quantcast
Channel: How to add block author through InherentDataProvider in pow consensus? - Substrate and Polkadot Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by Deepak Chaudhary for How to add block author through...

Please take a look of this implementation: https://github.com/kulupu/kulupu/blob/d9428305d1155514574df79a4692a48711c2bcb2/src/service.rs#L323C1-L324C1Here in the service.rs we have passed the author by...

View Article



Answer by gui for How to add block author through InherentDataProvider in pow...

Personally I don't understand why they used inherents here instead of using digest.That said, the code you are pointing to is for generating the inherents for the block to import. Those inherents are...

View Article

How to add block author through InherentDataProvider in pow consensus?

I'm working on pow consensus chain and want to fetch block author in a pallet. I'm following Academy-PoW repo for adding block author through InherentDataProvider. But here default is passed in-place...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images