Documentation ¶
Index ¶
- Variables
- func AddIssuingAccountToNodeConfig(account Account) error
- func AddOperatingAccountToNodeConfig(accountID string, account Account) error
- func GetAllOperatingAccounts() (accounts []model.Account, err error)
- func SafeGetConfigFile() (string, error)
- type Account
- func GetAccount(accountName string) (Account, error)
- func GetIBMTokenAccount() (Account, error)
- func GetIssuingAccount() (Account, error)
- func GetOperatingAccount(accountName string) (Account, error)
- func IBMTokenAccountExists() (bool, Account, error)
- func IssuingAccountExists() (bool, Account, error)
- func OperatingAccountExists(accountName string) (bool, Account, error)
- func OperatingAddressExists(accountAddress string) (bool, Account, error)
- type NodeConfig
- type OnboardingOperations
- type WhiteList
Constants ¶
This section is empty.
Variables ¶
View Source
var LOGGER = logging.MustGetLogger("nodeconfig")
Functions ¶
func GetAllOperatingAccounts ¶
func SafeGetConfigFile ¶
Types ¶
type Account ¶
type Account struct { NodeAddress string `json:"NODE_ADDRESS" toml:"NODE_ADDRESS"` NodeSeed string `json:"NODE_SEED" toml:"NODE_SEED"` PrivateKeyLabel string `json:"PRIVATE_LABEL"` PublicKeyLabel string `json:"PUBLIC_LABEL"` }
func GetAccount ¶
if account name = comn.ISSUING, return issuing account, else return operating account
func GetIBMTokenAccount ¶
func GetIssuingAccount ¶
func GetOperatingAccount ¶
func IBMTokenAccountExists ¶
verify if IBM Token account already exists
func IssuingAccountExists ¶
verify if issuing account already exists
func OperatingAccountExists ¶
verify if operating account with given name already exists
type NodeConfig ¶
type OnboardingOperations ¶
type OnboardingOperations struct { }
Click to show internal directories.
Click to hide internal directories.