bitcoind: set default rpcuser
We're already setting a default rpcpassword, so we should set an accompanying rpcuser so that rpc clients like electrs work out of the box.
This commit is contained in:
parent
c4cf323873
commit
5596bcf4fb
|
@ -135,7 +135,7 @@ in {
|
|||
|
||||
rpcuser = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
default = "bitcoinrpc";
|
||||
description = "Username for JSON-RPC connections";
|
||||
};
|
||||
rpcpassword = mkOption {
|
||||
|
|
|
@ -54,7 +54,6 @@ in {
|
|||
services.bitcoind.proxy = config.services.tor.client.socksListenAddress;
|
||||
services.bitcoind.enforceTor = true;
|
||||
services.bitcoind.port = 8333;
|
||||
services.bitcoind.rpcuser = "bitcoinrpc";
|
||||
services.bitcoind.zmqpubrawblock = "tcp://127.0.0.1:28332";
|
||||
services.bitcoind.zmqpubrawtx = "tcp://127.0.0.1:28333";
|
||||
services.bitcoind.assumevalid = "00000000000000000000e5abc3a74fe27dc0ead9c70ea1deb456f11c15fd7bc6";
|
||||
|
|
Loading…
Reference in New Issue
Block a user