mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 12:44:19 +01:00
Add admin APIs to manage wallet (#226)
* Add admin rpcs to manage wallet * Fix * Fixes * Add sleeping time * Increase sleeping time
This commit is contained in:
committed by
GitHub
parent
fb8a127f4f
commit
1c67c56d9d
@@ -31,7 +31,6 @@ type Config struct {
|
||||
AuthPass string
|
||||
EsploraURL string
|
||||
NeutrinoPeer string
|
||||
WalletPassword string
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -55,7 +54,6 @@ var (
|
||||
AuthPass = "AUTH_PASS"
|
||||
EsploraURL = "ESPLORA_URL"
|
||||
NeutrinoPeer = "NEUTRINO_PEER"
|
||||
WalletPassword = "WALLET_PASSWORD"
|
||||
|
||||
defaultDatadir = common.AppDataDir("arkd", false)
|
||||
defaultRoundInterval = 5
|
||||
@@ -130,7 +128,6 @@ func LoadConfig() (*Config, error) {
|
||||
AuthPass: viper.GetString(AuthPass),
|
||||
EsploraURL: viper.GetString(EsploraURL),
|
||||
NeutrinoPeer: viper.GetString(NeutrinoPeer),
|
||||
WalletPassword: viper.GetString(WalletPassword),
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user