mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-05-01 07:14:13 +00:00
- Add `orama push` command to upload and extract binary archives to nodes - Update `node setup` to pass operator metadata and auto-configure environments - Improve SSH configuration and node registration logic
14 lines
798 B
Go
14 lines
798 B
Go
package config
|
|
|
|
// NodeConfig contains node-specific configuration
|
|
type NodeConfig struct {
|
|
ID string `yaml:"id"` // Auto-generated if empty
|
|
ListenAddresses []string `yaml:"listen_addresses"` // LibP2P listen addresses
|
|
DataDir string `yaml:"data_dir"` // Data directory
|
|
MaxConnections int `yaml:"max_connections"` // Maximum peer connections
|
|
Domain string `yaml:"domain"` // Domain for this node (e.g., node-1.orama.network)
|
|
SSHUser string `yaml:"ssh_user,omitempty"` // SSH user for remote management
|
|
Environment string `yaml:"environment,omitempty"` // Environment name (devnet, testnet, etc.)
|
|
OperatorWallet string `yaml:"operator_wallet,omitempty"` // Operator wallet address
|
|
}
|