Skip to content

Commit

Permalink
doc(nodebuilder/header): add quick doc
Browse files Browse the repository at this point in the history
  • Loading branch information
renaynay committed Sep 5, 2023
1 parent 616e092 commit f4b2cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodebuilder/header/constructors.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func newSyncer[H libhead.Header[H]](
) (*sync.Syncer[H], *modfraud.ServiceBreaker[*sync.Syncer[H], H], error) {
syncer, err := sync.NewSyncer[H](ex, store, sub,
sync.WithParams(cfg.Syncer),
sync.WithTrustingPeriod(time.Hour*336),
sync.WithTrustingPeriod(time.Hour*336), // set a trusting period of two weeks
sync.WithBlockTime(modp2p.BlockTime),
)
if err != nil {
Expand Down

0 comments on commit f4b2cf3

Please sign in to comment.