go-nitro icon indicating copy to clipboard operation
go-nitro copied to clipboard

Consider uncle blocks when processing chain txs/events

Open bitwiseguy opened this issue 1 year ago • 4 comments

https://github.com/statechannels/go-nitro/pull/1517#discussion_r1293608897

bitwiseguy avatar Aug 14 '23 18:08 bitwiseguy

I think with proof of stake uncle blocks aren't a thing. Since validators get pre-selected to propose blocks you don't have the case of multiple valid blocks being proposed at the same time.

That said, I think chain re-orgs can still happen with PoS, which is kind of the same underlying problem as uncle blocks.

lalexgap avatar Aug 14 '23 22:08 lalexgap

Excellent point @lalexgap! Seems like this is a low priority issue for now.

kerzhner avatar Aug 14 '23 22:08 kerzhner

Is filecoin in the same state?

NiloCK avatar Aug 15 '23 03:08 NiloCK

Is filecoin in the same state?

Filecoin using something called proof of spacetime, which I'm not super familiar with. Based on this documentation it looks like it functions similar to proof of stake where validators are elected ahead of time. So I would expect filecoin not to have uncle blocks, similar to ethereuem's proof of stake system.

lalexgap avatar Aug 15 '23 04:08 lalexgap