Web *WebConfig `mapstructure:"web"`
Websocket *WebsocketConfig `mapstructure:"ws"`
Federation *FederationConfig `mapstructure:"federation"`
Web *WebConfig `mapstructure:"web"`
Websocket *WebsocketConfig `mapstructure:"ws"`
Federation *FederationConfig `mapstructure:"federation"`
Web: DefaultWebConfig(),
Websocket: DefaultWebsocketConfig(),
Federation: DefaultFederationConfig(),
Web: DefaultWebConfig(),
Websocket: DefaultWebsocketConfig(),
Federation: DefaultFederationConfig(),
func xpub(str string) (xpub chainkd.XPub) {
if err := xpub.UnmarshalText([]byte(str)); err != nil {
log.Panicf("Fail converts a string to xpub")
func xpub(str string) (xpub chainkd.XPub) {
if err := xpub.UnmarshalText([]byte(str)); err != nil {
log.Panicf("Fail converts a string to xpub")