kaspad icon indicating copy to clipboard operation
kaspad copied to clipboard

Design a secure protocol that notifies miners whether they should mine in any given moment

Open stasatdaglabs opened this issue 4 years ago • 2 comments

The currently implemented solution is as follows:

  • The miner regularly requests block templates from kaspad
  • Kaspad includes a field called IsSynced within every block template response
  • The miner is recommended to skip any template in which IsSynced is false
  • Kaspad sets IsSynced = false when it is in IBD

This is open to trivial data availability attacks. Propose a secure protocol to replace it.

stasatdaglabs avatar Dec 24 '20 15:12 stasatdaglabs

After a design it should be approximately a day

elichai avatar Mar 04 '21 11:03 elichai

Maybe it's enough to just revert #1356

someone235 avatar Mar 07 '21 08:03 someone235