mirror of
https://github.com/aljazceru/nigiri.git
synced 2025-12-17 06:14:19 +01:00
23 lines
438 B
Go
23 lines
438 B
Go
package config
|
|
|
|
import (
|
|
"path/filepath"
|
|
"strconv"
|
|
|
|
"github.com/btcsuite/btcd/btcutil"
|
|
)
|
|
|
|
var (
|
|
DefaultName = "nigiri.config.json"
|
|
DefaultCompose = "docker-compose.yml"
|
|
|
|
DefaultDatadir = btcutil.AppDataDir("nigiri", false)
|
|
DefaultPath = filepath.Join(DefaultDatadir, DefaultName)
|
|
|
|
InitialState = map[string]string{
|
|
"network": "regtest",
|
|
"ready": strconv.FormatBool(false),
|
|
"running": strconv.FormatBool(false),
|
|
}
|
|
)
|