15
1
Can I just make up a value for rpcuser/rpcpassword in bitcoin.conf? Or do I have to set one up somewhere?
15
1
Can I just make up a value for rpcuser/rpcpassword in bitcoin.conf? Or do I have to set one up somewhere?
8
You can set any values you want for rpcuser and rpcpassword in bitcoin.conf. Those values will be your username and password when you will be connecting to your bitcoind through HTTP JSON RPC. Also be sure to set other important values in .conf file, like server, rpcallowip and a few others to ensure your server is running correctly and securely.
1is there an example file somewhere? – Justin Thomas – 2017-05-17T16:52:42.533
What kind of values should server and rpcallowip have? My IP? Or other IPs? Sorry for these questions, I feel like it should be obvious but I can't find this anywhere. – Charlie – 2012-11-06T17:01:41.197
@Charlie have you followed my link to "Running Bitcoin" wiki page to sample values and their explanations? Server should be set to 1, and rpcallowip to any ips you want to access bitcoind from - set it to something if you want to run it from other computers. If you need further explanations or help with your endeavour, you can drop me a line. – ThePiachu – 2012-11-06T19:28:17.170
There is an example file here: https://github.com/bitcoin/bitcoin/blob/master/share/examples/bitcoin.conf
Does anyone have any resources on how to setup JasonRPC on a bitcoin node (changing the variables in the bitcoin.conf)? – Sevenearths – 2019-11-05T09:49:08.343