Skip to content

Releases: celestiaorg/go-header

v0.7.0

04 Aug 01:19
9b03087
Compare
Choose a tag to compare

v0.7.0 release brings high-performance dynamic Tail maintenance for Syncer, also known as header pruning.

Notable Changes

Syncer

These new fields were introduced to Syncer's config:

        // PruningWindow defines the duration within which headers are retained before being pruned.
        // Default is 337 hours.
	PruningWindow time.Duration
	// SyncFromHash is the hash of the header from which Syncer should start syncing.
	// Zero value to disable. Value updates up and down the chain are gracefully handled by Syncer.
	//
	// By default, Syncer maintains PruningWindow number of headers. SyncFromHash overrides this default,
	// allowing any user to specify a custom starting point.
	//
	// SyncFromHash has higher priority than SyncFromHeight.
	SyncFromHash string
	// SyncFromHeight is the height of the header from which Syncer should start syncing.
	// Zero value to disable. Value updates up and down the chain are gracefully handled by Syncer.
	//
	// By default, Syncer maintains PruningWindow number of headers. SyncFromHeight overrides this default,
	// allowing any user to specify a custom starting point.
	//
	// SyncFromHeight has lower priority than SyncFromHash.
	SyncFromHeight uint64

Store

  • store.Store.DeleteTo method (#275)
  • store.Store.OnDelete method, which allows users to register individual header deletion handlers. This will enable users to execute farewell logic when headers are removed, e.g., cleanup data committed in the header but stored separately. (#320)
  • Unsafe store recovery tools (#325)

Breaks

  • store.Store.Init and store.Init were removed. Initialization is now performed lazily using the first header given to store.Append (#274)

What's Changed

Full Changelog: v0.6.5...v0.7.0

v0.6.6

13 May 14:43
3f555bc
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.5...v0.6.6

v0.6.5

15 Apr 10:15
7a4dd63
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.2...v0.6.5

v0.6.4

23 Jan 10:17
fde876f
Compare
Choose a tag to compare

What's changed

Full Changelog: v0.6.3...v0.6.4

v0.6.3

22 Oct 15:28
6f12bfa
Compare
Choose a tag to compare

What's changed

Full Changelog: v0.6.2...v0.6.3

v0.6.2

27 May 15:15
c3a0082
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.1...v0.6.2

v0.6.1

20 Apr 19:13
88c5b8c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.0...v0.6.1

v0.6.0

03 Apr 14:38
de4400b
Compare
Choose a tag to compare

This release upgrades the required version of go to 1.22

What's Changed

Full Changelog: v0.5.5...v0.6.0

v0.5.5

25 Mar 14:17
3b63466
Compare
Choose a tag to compare

What's Changed

  • log: Change stream-reset related errors' level from ERROR to WARN. by @AryanGodara in #161
  • fix(store): add error details to log output during header batch write by @tzdybal in #158
  • refactor(p2p): subscriber.Stop logs but ignores error from unregister topic validator by @renaynay in #127
  • chore(sync)!: Rename unrecentHead to outdatedHead in metrics + clean up Head func a bit by @renaynay in #163
  • fix(headertest): sanity check range by @renaynay in #166
  • fix(p2p): make bootstrapping non-blocking by @Wondertan in #167

New Contributors

Full Changelog: v0.5.4...v0.5.5

v0.5.4

28 Feb 13:13
e2197d9
Compare
Choose a tag to compare

What's Changed

  • fix(p2p/session): return peer to the queue in case of ErrNotFound by @vgonkivs in #159

Full Changelog: v0.5.3...v0.5.4