celestia-node icon indicating copy to clipboard operation
celestia-node copied to clipboard

refactor(availability): use functional options pattern to configure availability implementations

Open derrandz opened this issue 2 years ago • 0 comments

Overview

The codebase is currently littered with default constant global variables acting as configuration variables. This makes changing configuration values for the Celestia node non-trivial, as it requires code changes and binary re-building.

In this PR, we refactor the global configuration variables logic to use the functional options pattern, which will trivialize the process of configuring a Celestia node.

Reference Issue(s)

#709 #1063

Dependencies

Blocked by #1177

derrandz avatar Oct 12 '22 12:10 derrandz