What is the purpose of pending::ConsensusDataProvider? #1399
Unanswered
krisbitney
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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_digest
method return (i.e. what should go in the digest)?Beta Was this translation helpful? Give feedback.
All reactions