celestia-node
celestia-node copied to clipboard
refactor(availability): use functional options pattern to configure availability implementations
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