Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmin1 committed Apr 20, 2024
1 parent 0715ddd commit a9d66a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rpcclient/examples/bitcoincoreunixsocket/main.go
Expand Up @@ -16,7 +16,9 @@ func main() {
// The value passed doesn't matter as long as it's valid
// To avoid failures, functions relying on a host value still require one to be passed. If the client has a default host, it will be used as long as it's valid.
Host: "localhost",
UnixSocketPath: "/tmp/test.XXXX"
UnixSocketPath: "/tmp/test.XXXX",
User: "yourrpcuser",
Pass: "yourrpcpass",
HTTPPostMode: true, // Bitcoin core only supports HTTP POST mode
DisableTLS: true, // Bitcoin core does not provide TLS by default
}
Expand Down

0 comments on commit a9d66a0

Please sign in to comment.