rpc: Remove SetAlias and add Alias to GetInfo Response

This commit removes the SetAlias RPC function because it was deemed
unnecessary. This commit also populates the Alias field in the GetInfo
response
This commit is contained in:
Benjamin Congdon 2017-12-15 16:57:34 -06:00
parent a8728ccb5b
commit f1f1c8a257
No known key found for this signature in database
GPG Key ID: 148FEE4C2C805D4A

View File

@ -1141,6 +1141,7 @@ func (r *rpcServer) GetInfo(ctx context.Context,
Testnet: activeNetParams.Params == &chaincfg.TestNet3Params,
Chains: activeChains,
Uris: uris,
Alias: nodeAnn.Alias.String(),
}, nil
}