Skip to content

Commit

Permalink
feat: make node binary configurable
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <[email protected]>
  • Loading branch information
wolf31o2 committed Sep 5, 2023
1 parent abb9ccf commit 7edcd9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type AppConfig struct {

type NodeConfig struct {
ByronGenesis ByronGenesisConfig `yaml:"byron"`
Binary string // TODO: make this configurable
Binary string `yaml:"binary" envconfig:"CARDANO_NODE_BINARY"`
Network string `yaml:"network" envconfig:"CARDANO_NETWORK"`
SocketPath string `yaml:"socketPath" envconfig:"CARDANO_NODE_SOCKET_PATH"`
NetworkMagic uint32 `yaml:"networkMagic" envconfig:"CARDANO_NODE_NETWORK_MAGIC"`
Expand Down

0 comments on commit 7edcd9e

Please sign in to comment.