mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 07:00:55 +02:00
lntest: surface bitcoin backend rpc credentials
[skip ci]
This commit is contained in:
@@ -64,6 +64,11 @@ func (b BitcoindBackendConfig) DisconnectMiner() error {
|
||||
return b.rpcClient.AddNode(b.minerAddr, rpcclient.ANRemove)
|
||||
}
|
||||
|
||||
// Credentials returns the rpc username, password and host for the backend.
|
||||
func (b BitcoindBackendConfig) Credentials() (string, string, string, error) {
|
||||
return b.rpcUser, b.rpcPass, b.rpcHost, nil
|
||||
}
|
||||
|
||||
// Name returns the name of the backend type.
|
||||
func (b BitcoindBackendConfig) Name() string {
|
||||
return "bitcoind"
|
||||
|
Reference in New Issue
Block a user