bitcoind.rpc.users: improve example

Add RPC entries that don't exist in the public whitelist.
This commit is contained in:
Erik Arvstedt 2024-07-31 18:11:58 +02:00
parent a04c15958a
commit da625fc13d
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -109,7 +109,7 @@ let
example = {
alice = {
passwordHMAC = "f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae";
rpcwhitelist = [ "getnetworkinfo" "getpeerinfo" ];
rpcwhitelist = [ "sendtoaddress" "getnewaddress" ];
};
};
type = with types; attrsOf (submodule ({ name, ... }: {