JoshOrndorff / recipes

A Hands-On Cookbook for Aspiring Blockchain Chefs
GNU General Public License v3.0
376 stars 186 forks source link

PoW light clients use AlwaysCanAuthor inappropriately #357

Open JoshOrndorff opened 3 years ago

JoshOrndorff commented 3 years ago

The recipes contain two nodes that use PoW for block authorship (basic-pow and hybrid-consensus). Both of these nodes use AlwaysCanAuthor when constructing the PowBlockImport in the light client. This issue is also present in the utxo-workshop and kulupu. I don't know how to solve it.