What is the purpose of pending::ConsensusDataProvider? #1399
Unanswered
krisbitney
asked this question in
Q&A
Replies: 1 comment
-
https://github.com/ChainSupport/frontier-pos-template/blob/main/client/babe-consensus-data-provider/src/lib.rs。 This is my own implementation, you can refer to it, if you have any questions, let's discuss it together. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Found here: https://github.com/polkadot-evm/frontier/blob/master/client/rpc/src/eth/pending.rs
What is the purpose of a struct that implements
pending::ConsensusDataProvider? I know that the template uses an AuraPendingConsensusDataProvider. What is it for? When implementing BABE, should I write one? If so, what should thecreate_digestmethod return (i.e. what should go in the digest)?Beta Was this translation helpful? Give feedback.
All reactions