Skip to content

Commit

Permalink
bitcoind.rpc.users: improve example
Browse files Browse the repository at this point in the history
Add RPC entries that don't exist in the public whitelist.
  • Loading branch information
erikarvstedt committed Jul 31, 2024
1 parent a04c159 commit da625fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/bitcoind.nix
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ let
example = {
alice = {
passwordHMAC = "f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae";
rpcwhitelist = [ "getnetworkinfo" "getpeerinfo" ];
rpcwhitelist = [ "sendtoaddress" "getnewaddress" ];
};
};
type = with types; attrsOf (submodule ({ name, ... }: {
Expand Down

0 comments on commit da625fc

Please sign in to comment.