celestiaorg / go-header

Go library with all the services needed to request, sync and store blockchain headers.
Apache License 2.0
19 stars 18 forks source link

Make isRecent not dependent on the blocktime #98

Closed nashqueue closed 1 year ago

nashqueue commented 1 year ago

Idea: If the block time is very fast, it might be a good idea to configure isRecent without being tight to the block time itself. An example could be that all block times below 1 second want to have a isRecent that is around 5 seconds. Depending on the network topology, the node may want to adjust this setting locally.