mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loopdb: clean up comments
This commit is contained in:
parent
089743dacc
commit
11bf5ca219
2 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ type PostgresConfig struct {
|
||||||
RequireSSL bool `long:"requiressl" description:"Whether to require using SSL (mode: require) when connecting to the server."`
|
RequireSSL bool `long:"requiressl" description:"Whether to require using SSL (mode: require) when connecting to the server."`
|
||||||
}
|
}
|
||||||
|
|
||||||
// DSN returns the dns to connect to the database.
|
// DSN returns the data source name used to connect to the database.
|
||||||
func (s *PostgresConfig) DSN(hidePassword bool) string {
|
func (s *PostgresConfig) DSN(hidePassword bool) string {
|
||||||
var sslMode = "disable"
|
var sslMode = "disable"
|
||||||
if s.RequireSSL {
|
if s.RequireSSL {
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ const (
|
||||||
ProtocolVersionSegwitLoopIn ProtocolVersion = 2
|
ProtocolVersionSegwitLoopIn ProtocolVersion = 2
|
||||||
|
|
||||||
// ProtocolVersionPreimagePush indicates that the client will push loop
|
// ProtocolVersionPreimagePush indicates that the client will push loop
|
||||||
// out preimages to the sever to speed up claim.
|
// out preimages to the server to speed up claim.
|
||||||
ProtocolVersionPreimagePush ProtocolVersion = 3
|
ProtocolVersionPreimagePush ProtocolVersion = 3
|
||||||
|
|
||||||
// ProtocolVersionUserExpiryLoopOut indicates that the client will
|
// ProtocolVersionUserExpiryLoopOut indicates that the client will
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue