Skip to content

Commit

Permalink
!chore: drop DefaultHeightThreshold (#221)
Browse files Browse the repository at this point in the history
Leftover after #216
  • Loading branch information
cristaloleg authored Oct 22, 2024
1 parent 18f0eb1 commit 58a2cc6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import (
"time"
)

// DefaultHeightThreshold defines default height threshold beyond which headers are rejected
// NOTE: Compared against subjective head which is guaranteed to be non-expired
const DefaultHeightThreshold uint64 = 80000 // ~ 14 days of 15 second headers

// Verify verifies untrusted Header against trusted following general Header checks and
// custom user-specific checks defined in Header.Verify.
//
Expand Down

0 comments on commit 58a2cc6

Please sign in to comment.