filecoin-project / go-f3

Golang implementation of Fast Finality in Filecoin (F3)
Apache License 2.0
8 stars 6 forks source link

Epic: Lotus integration #253

Closed Kubuxu closed 2 months ago

Kubuxu commented 4 months ago

Acceptance criteria:

(WIP)

### Tasks
- [ ] https://github.com/filecoin-project/go-f3/issues/103
- [ ] https://github.com/filecoin-project/go-f3/issues/15
- [ ] #225
- [ ] https://github.com/filecoin-project/go-f3/issues/270
- [ ] https://github.com/filecoin-project/go-f3/issues/271
- [ ] https://github.com/filecoin-project/go-f3/issues/272
- [ ] https://github.com/filecoin-project/go-f3/issues/365
jennijuju commented 3 months ago

@Kubuxu question for you - how would the application fetch the finality / get a signal from lotus that "we have reached finality for this epoch via 3"? Something new along with ChainHead (which only gives your the latest block w/o confirming it is finalized) ?

Kubuxu commented 3 months ago

I haven't thought about it a lot, but it seems reasonable, ChainGetFinalizedHead or something like that.

Kubuxu commented 3 months ago

PR in lotus: https://github.com/filecoin-project/lotus/pull/12119 I aim to make it ready for review before Monday. I would appreciate reviews on Monday there.