You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To not limit the flexibility of which key type to use offered by the Enr crate, Enr should be made generic in discv5. The default generic should still be CombinedKey, the key type being used now. This change also requires changing the impl bodies to be extend to work for all types of keys, not just be implemented for the default CombinedKey. This shouldn't be hard because the EnrKey trait is at disposal from the enr crate.
impl<P:ProtocolIdentity,K:EnrKey>Discv5<P,K>{ ...
The text was updated successfully, but these errors were encountered:
To not limit the flexibility of which key type to use offered by the
Enr
crate,Enr
should be made generic in discv5. The default generic should still beCombinedKey
, the key type being used now. This change also requires changing theimpl
bodies to be extend to work for all types of keys, not just be implemented for the defaultCombinedKey
. This shouldn't be hard because theEnrKey
trait is at disposal from the enr crate.The text was updated successfully, but these errors were encountered: