Skip to content

Commit

Permalink
fix(f3): port CertificateExchange.*PollInterval from lotus
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 committed Oct 17, 2024
1 parent 01589d2 commit 47ae31a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions f3-sidecar/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ func run(ctx context.Context, rpcEndpoint string, jwt string, f3RpcEndpoint stri
blockDelay := time.Duration(versionInfo.BlockDelay) * time.Second
m.EC.Period = blockDelay
m.CatchUpAlignment = blockDelay / 2
m.CertificateExchange.MinimumPollInterval = blockDelay
m.CertificateExchange.MaximumPollInterval = 4 * blockDelay

head, err := ec.GetHead(ctx)
if err != nil {
Expand Down

0 comments on commit 47ae31a

Please sign in to comment.