kaspad
kaspad copied to clipboard
Design a secure protocol that notifies miners whether they should mine in any given moment
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.
After a design it should be approximately a day
Maybe it's enough to just revert #1356