Skip to content

Roles of the public and privileged bitcoind users #727

Answered by erikarvstedt
nyonson asked this question in Q&A
Discussion options

You must be logged in to vote

Is there a reason to not just set both the public and privileged rpc users instead of both as the same as the docs currently recommend?

Yes, the docs only make minimal assumptions about the remote bitcoind node, which may not be a nix-bitcoin node.
So they assume that just a privileged RPC user exists.

Setting all RPC user names to the same privileged user name does away with the security benefits of nix-bitcoin's fine-grained RPC permissions, but it requires no further setup on the bitcoind node.

If your remote bitcoind node runs on nix-bitcoin, you can configure lnd to use the restricted public RPC user like so:

  1. Remove these settings that are mentioned in the manual:

    rpc.users = let
      

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nyonson
Comment options

Answer selected by nyonson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants