dtr-org / unit-e

A digital currency for a new era of decentralized trust
https://unit-e.io
MIT License
45 stars 15 forks source link

Adjust chain reorg to PoS #267

Closed scravy closed 5 years ago

scravy commented 5 years ago

From the original consensus design decisions meeting notes:

How do implement reorg? (is current method fast enough)

Related:

thothd commented 5 years ago

After implementing #85 we should define what to do when reorg happens. Bitcoin for example is never deleting blocks, which make sense for PoW (since there's a cost in building a block) but not for PoS. On top of that we should consider finalisation and how it affects things

frolosofsky commented 5 years ago

Regarding deleting of the blocks, I believe we can remove everything which is behind our dynasty and the main chain.

thothd commented 5 years ago

I guess you mean blocks from forks / orphaned which are behind the current dynasty, yeah? For the main chain blocks should only be deleted via pruning

frolosofsky commented 5 years ago

Yes, I mean blocks from forks and orphaned. Thank you for clarification.

mergeable[bot] commented 5 years ago

There has not been any activity in the past month. Is there anything to follow-up?