I noticed from a hint that Satoshi dropped in the JSON-RPC password thread about so-called “Multiple Invocation” support in Bitcoin’s JSON-RPC. As I run a site that polls bitcoind for payments to a large number of addresses twice a minute, I was intrigued. First of all, this isn’t JSON-RPC 2.0’s […]
Read moreCategory: Bitcoin Talk
Re: JSON-RPC password
Quote from: lachesis on July 23, 2010, 18:22:08 The password definitely shouldn’t be required. I strongly disagree; software should be secure by default, and running bitcoind without a password (or bitcoin -server) is definitely NOT secure. I just don’t see somebody saying “Man, Bitcoin sucks because I have to add […]
Read moreRe: Faster initial block download
Quote from: knightmb on July 23, 2010, 19:32:58 Is there a safety reason to stop within the last 2000 blocks or can it be tweaked to stop at remaining 500 blocks for example? Not really. I’ll change it to 1000 next time. Related posts: Faster initial block download (5x faster) […]
Read moreFaster initial block download (5x faster)
By making some adjustments to the database settings, I was able to make the initial block download about 5 times faster. It downloads in about 30 minutes. The database default had it writing each block to disk synchronously, which is not necessary. I changed the settings to let it cache […]
Read moreRe: bitcoind not responding to RPC
Occasionally bitcoind will not respond to RPC I’m calling it from php and I get this error: Warning: fopen(http://127.0.0.1:8332) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error It happens a lot locally on my windows machine and less frequently on my linux server. Anyone else […]
Read moreRe: JSON-RPC password
I’ve updated the RPC wiki page for how the password stuff will work in Bitcoin 0.3.3. One nice side effect: you can prepare for the changes now; create a bitcoin.conf file with a username and password and modify your JSON-RPC code to do the HTTP Basic Authentication thing. Old code […]
Read moreRe: JSON-RPC password
Quote from: gavinandresen on July 23, 2010, 15:11:45 Question for everybody: should I add a section to the wiki page describing, in detail, how to do HTTP Basic authentication? PHP and Python make is really easy– just use the http://user:pass@host:port/ URL syntax. Yes, I think that would be really good […]
Read moreRe: JSON-RPC password
Quote from: gavinandresen on July 22, 2010, 01:11:26 TODO: dialog box or debug.log warning if no rpc.user/rpc.password is set, explaining how to set. In many of the contexts of this RPC stuff, you can print to the console with fprintf(stdout, like this: #if defined(__WXMSW__) && wxUSE_GUI MyMessageBox(“Warning: rpc password is […]
Read moreRe: JSON-RPC password
Thanks for that survey! I find “key value” a little unnatural. There ought to be a more definite separator between key and value that suggests assignment. The space people may just be getting lazy using their language’s split function. key=some full sentence with spaces in it. # seems more clear […]
Read moreRe: JSON-RPC password
Quote from: gavinandresen on July 21, 2010, 12:11:10 I just did a quick survey of 20 .conf files in /etc on my debian system, and found: 1 file used “key value” 5 used “key=value” Thanks for that survey! I find “key value” a little unnatural. There ought to be a […]
Read more